{ "namespace": "wp/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Scope under which the request is made; determines fields present in response.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "after": { "description": "Limit response to posts published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to posts modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Limit result set to posts assigned to specific authors.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Ensure result set excludes posts assigned to specific authors.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Limit response to posts published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to posts modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Ensure result set excludes specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Limit result set to specific IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Limit result set to posts with a specific menu_order value.", "type": "integer", "required": false }, "search_semantics": { "description": "How to interpret the search input.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Offset the result set by a specific number of items.", "type": "integer", "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort collection by post attribute.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "parent": { "description": "Limit result set to items with particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Array of column names to be searched.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Limit result set to posts with one or more specific slugs.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Limit result set to posts assigned one or more statuses.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "required": false }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled" ], "required": false }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "required": false }, "parent": { "description": "The ID for the parent of the post.", "type": "integer", "required": false }, "title": { "description": "The title for the post.", "type": "object", "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "The content for the post.", "type": "object", "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "The ID for the author of the post.", "type": "integer", "required": false }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "required": false }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "required": false }, "meta": { "description": "Meta fields.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "_monsterinsights_skip_tracking": { "type": "boolean", "title": "", "description": "", "default": false }, "_genesis_hide_title": { "type": "boolean", "title": "", "description": "", "default": false }, "_genesis_hide_breadcrumbs": { "type": "boolean", "title": "", "description": "", "default": false }, "_genesis_hide_singular_image": { "type": "boolean", "title": "", "description": "", "default": false }, "_genesis_hide_footer_widgets": { "type": "boolean", "title": "", "description": "", "default": false }, "_genesis_custom_body_class": { "type": "string", "title": "", "description": "", "default": "" }, "_genesis_custom_post_class": { "type": "string", "title": "", "description": "", "default": "" }, "_genesis_layout": { "type": "string", "title": "", "description": "", "default": "" }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "The theme file to use to display the post.", "type": "string", "required": false }, "acf": { "description": "ACF field data", "type": "object", "properties": [], "required": false } } } ], "schema": { "$schema": "http://json-schema.org/draft-04/schema#", "title": "page", "type": "object", "properties": { "date": { "description": "The date the post was published, in the site's timezone.", "type": [ "string", "null" ], "format": "date-time", "context": [ "view", "edit", "embed" ] }, "date_gmt": { "description": "The date the post was published, as GMT.", "type": [ "string", "null" ], "format": "date-time", "context": [ "view", "edit" ] }, "guid": { "description": "The globally unique identifier for the post.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "raw": { "description": "GUID for the post, as it exists in the database.", "type": "string", "context": [ "edit" ], "readonly": true }, "rendered": { "description": "GUID for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "id": { "description": "Unique identifier for the post.", "type": "integer", "context": [ "view", "edit", "embed" ], "readonly": true }, "link": { "description": "URL to the post.", "type": "string", "format": "uri", "context": [ "view", "edit", "embed" ], "readonly": true }, "modified": { "description": "The date the post was last modified, in the site's timezone.", "type": "string", "format": "date-time", "context": [ "view", "edit" ], "readonly": true }, "modified_gmt": { "description": "The date the post was last modified, as GMT.", "type": "string", "format": "date-time", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "An alphanumeric identifier for the post unique to its type.", "type": "string", "context": [ "view", "edit", "embed" ] }, "status": { "description": "A named status for the post.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled" ], "context": [ "view", "edit" ] }, "type": { "description": "Type of post.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "password": { "description": "A password to protect access to the content and excerpt.", "type": "string", "context": [ "edit" ] }, "permalink_template": { "description": "Permalink template for the post.", "type": "string", "context": [ "edit" ], "readonly": true }, "generated_slug": { "description": "Slug automatically generated from the post title.", "type": "string", "context": [ "edit" ], "readonly": true }, "class_list": { "description": "An array of the class names for the post container element.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "string" } }, "parent": { "description": "The ID for the parent of the post.", "type": "integer", "context": [ "view", "edit" ] }, "title": { "description": "The title for the post.", "type": "object", "context": [ "view", "edit", "embed" ], "properties": { "raw": { "description": "Title for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML title for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } } }, "content": { "description": "The content for the post.", "type": "object", "context": [ "view", "edit" ], "properties": { "raw": { "description": "Content for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML content for the post, transformed for display.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Version of the content block format used by the post.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Whether the content is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } } }, "author": { "description": "The ID for the author of the post.", "type": "integer", "context": [ "view", "edit", "embed" ] }, "excerpt": { "description": "The excerpt for the post.", "type": "object", "context": [ "view", "edit", "embed" ], "properties": { "raw": { "description": "Excerpt for the post, as it exists in the database.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML excerpt for the post, transformed for display.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Whether the excerpt is protected with a password.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } } }, "featured_media": { "description": "The ID of the featured media for the post.", "type": "integer", "context": [ "view", "edit", "embed" ] }, "comment_status": { "description": "Whether or not comments are open on the post.", "type": "string", "enum": [ "open", "closed" ], "context": [ "view", "edit" ] }, "ping_status": { "description": "Whether or not the post can be pinged.", "type": "string", "enum": [ "open", "closed" ], "context": [ "view", "edit" ] }, "menu_order": { "description": "The order of the post in relation to other posts.", "type": "integer", "context": [ "view", "edit" ] }, "meta": { "description": "Meta fields.", "type": "object", "context": [ "view", "edit" ], "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "_monsterinsights_skip_tracking": { "type": "boolean", "title": "", "description": "", "default": false }, "_genesis_hide_title": { "type": "boolean", "title": "", "description": "", "default": false }, "_genesis_hide_breadcrumbs": { "type": "boolean", "title": "", "description": "", "default": false }, "_genesis_hide_singular_image": { "type": "boolean", "title": "", "description": "", "default": false }, "_genesis_hide_footer_widgets": { "type": "boolean", "title": "", "description": "", "default": false }, "_genesis_custom_body_class": { "type": "string", "title": "", "description": "", "default": "" }, "_genesis_custom_post_class": { "type": "string", "title": "", "description": "", "default": "" }, "_genesis_layout": { "type": "string", "title": "", "description": "", "default": "" }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } } }, "template": { "description": "The theme file to use to display the post.", "type": "string", "context": [ "view", "edit" ] }, "acf": { "description": "ACF field data", "type": "object", "properties": [] } }, "links": [ { "rel": "https://api.w.org/action-publish", "title": "The current user can publish this post.", "href": "https://insurancecouncil.com.au/wp-json/wp/v2/pages/{id}", "targetSchema": { "type": "object", "properties": { "status": { "type": "string", "enum": [ "publish", "future" ] } } } }, { "rel": "https://api.w.org/action-unfiltered-html", "title": "The current user can post unfiltered HTML markup and JavaScript.", "href": "https://insurancecouncil.com.au/wp-json/wp/v2/pages/{id}", "targetSchema": { "type": "object", "properties": { "content": { "raw": { "type": "string" } } } } }, { "rel": "https://api.w.org/action-assign-author", "title": "The current user can change the author on this post.", "href": "https://insurancecouncil.com.au/wp-json/wp/v2/pages/{id}", "targetSchema": { "type": "object", "properties": { "author": { "type": "integer" } } } } ] }, "_links": { "self": [ { "href": "https://insurancecouncil.com.au/wp-json/wp/v2/pages" } ] } }