🚀 WordPress REST API Documentation

Base URL: https://cms.kyubstudio.com/wp-json/ | View as JSON
7
Namespaces
149
Total Routes
core
/
GET
View Parameters (1)
{
    "context": {
        "default": "view"
    }
}
/batch/v1
POST
View Parameters (2)
{
    "validation": {
        "type": "string",
        "enum": [
            "require-all-validate",
            "normal"
        ],
        "default": "normal"
    },
    "requests": {
        "required": true,
        "type": "array",
        "maxItems": 25,
        "items": {
            "type": "object",
            "properties": {
                "method": {
                    "type": "string",
                    "enum": [
                        "POST",
                        "PUT",
                        "PATCH",
                        "DELETE"
                    ],
                    "default": "POST"
                },
                "path": {
                    "type": "string",
                    "required": true
                },
                "body": {
                    "type": "object",
                    "properties": [],
                    "additionalProperties": true
                },
                "headers": {
                    "type": "object",
                    "properties": [],
                    "additionalProperties": {
                        "type": [
                            "string",
                            "array"
                        ],
                        "items": {
                            "type": "string"
                        }
                    }
                }
            }
        }
    }
}
/oembed/1.0
GET
View Parameters (2)
{
    "namespace": {
        "default": "oembed\/1.0"
    },
    "context": {
        "default": "view"
    }
}
/wp-toolkit/api
GET
View Parameters (2)
{
    "namespace": {
        "default": "wp-toolkit\/api"
    },
    "context": {
        "default": "view"
    }
}
/performance-lab/v1
GET
View Parameters (2)
{
    "namespace": {
        "default": "performance-lab\/v1"
    },
    "context": {
        "default": "view"
    }
}
/wp/v2
GET
View Parameters (2)
{
    "namespace": {
        "default": "wp\/v2"
    },
    "context": {
        "default": "view"
    }
}
/wp-site-health/v1
GET
View Parameters (2)
{
    "namespace": {
        "default": "wp-site-health\/v1"
    },
    "context": {
        "default": "view"
    }
}
/wp-block-editor/v1
GET
View Parameters (2)
{
    "namespace": {
        "default": "wp-block-editor\/v1"
    },
    "context": {
        "default": "view"
    }
}
/wp-abilities/v1
GET
View Parameters (2)
{
    "namespace": {
        "default": "wp-abilities\/v1"
    },
    "context": {
        "default": "view"
    }
}
oembed/1.0
/oembed/1.0/embed
GET
View Parameters (3)
{
    "url": {
        "description": "The URL of the resource for which to fetch oEmbed data.",
        "required": true,
        "type": "string",
        "format": "uri"
    },
    "format": {
        "default": "json",
        "sanitize_callback": "wp_oembed_ensure_format"
    },
    "maxwidth": {
        "default": 600,
        "sanitize_callback": "absint"
    }
}
/oembed/1.0/proxy
GET
View Parameters (5)
{
    "url": {
        "description": "The URL of the resource for which to fetch oEmbed data.",
        "required": true,
        "type": "string",
        "format": "uri"
    },
    "format": {
        "description": "The oEmbed format to use.",
        "type": "string",
        "default": "json",
        "enum": [
            "json",
            "xml"
        ]
    },
    "maxwidth": {
        "description": "The maximum width of the embed frame in pixels.",
        "type": "integer",
        "default": 600,
        "sanitize_callback": "absint"
    },
    "maxheight": {
        "description": "The maximum height of the embed frame in pixels.",
        "type": "integer",
        "sanitize_callback": "absint"
    },
    "discover": {
        "description": "Whether to perform an oEmbed discovery request for unsanctioned providers.",
        "type": "boolean",
        "default": true
    }
}
wp-toolkit/api
/wp-toolkit/api/analytics/settings
POST PUT PATCH
/wp-toolkit/api/(?P<slug>.+)
GET POST PUT PATCH DELETE
performance-lab/v1
/performance-lab/v1/features/(?P<slug>[a-z0-9_-]+):activate
POST
View Parameters (1)
{
    "slug": {
        "type": "string",
        "description": "Plugin slug of the Performance Lab feature to be activated.",
        "required": true,
        "validate_callback": "perflab_validate_slug_endpoint_arg"
    }
}
/performance-lab/v1/features/(?P<slug>[a-z0-9_-]+)
GET
View Parameters (1)
{
    "slug": {
        "type": "string",
        "description": "Plugin slug of plugin\/feature whose information is needed.",
        "required": true,
        "validate_callback": "perflab_validate_slug_endpoint_arg"
    }
}
wp/v2
/wp/v2/posts
GET
View Parameters (27)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to posts published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_after": {
        "description": "Limit response to posts modified after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "author": {
        "description": "Limit result set to posts assigned to specific authors.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "author_exclude": {
        "description": "Ensure result set excludes posts assigned to specific authors.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "before": {
        "description": "Limit response to posts published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_before": {
        "description": "Limit response to posts modified before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "author",
            "date",
            "id",
            "include",
            "modified",
            "parent",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "post_title",
                "post_content",
                "post_excerpt"
            ],
            "type": "string"
        }
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "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"
        },
        "sanitize_callback": [
            {},
            "sanitize_post_statuses"
        ]
    },
    "tax_relation": {
        "description": "Limit result set based on relationship between multiple taxonomies.",
        "type": "string",
        "enum": [
            "AND",
            "OR"
        ]
    },
    "categories": {
        "description": "Limit result set to items with specific terms assigned in the categories taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "include_children": {
                        "description": "Whether to include child terms in the terms limiting the result set.",
                        "type": "boolean",
                        "default": false
                    },
                    "operator": {
                        "description": "Whether items must be assigned all or any of the specified terms.",
                        "type": "string",
                        "enum": [
                            "AND",
                            "OR"
                        ],
                        "default": "OR"
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "categories_exclude": {
        "description": "Limit result set to items except those with specific terms assigned in the categories taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "include_children": {
                        "description": "Whether to include child terms in the terms limiting the result set.",
                        "type": "boolean",
                        "default": false
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "tags": {
        "description": "Limit result set to items with specific terms assigned in the tags taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "operator": {
                        "description": "Whether items must be assigned all or any of the specified terms.",
                        "type": "string",
                        "enum": [
                            "AND",
                            "OR"
                        ],
                        "default": "OR"
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "tags_exclude": {
        "description": "Limit result set to items except those with specific terms assigned in the tags taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "sticky": {
        "description": "Limit result set to items that are sticky.",
        "type": "boolean"
    },
    "ignore_sticky": {
        "description": "Whether to ignore sticky posts or not.",
        "type": "boolean",
        "default": true
    },
    "format": {
        "description": "Limit result set to items assigned one or more given formats.",
        "type": "array",
        "uniqueItems": true,
        "items": {
            "enum": [
                "standard",
                "aside",
                "chat",
                "gallery",
                "link",
                "image",
                "quote",
                "status",
                "video",
                "audio"
            ],
            "type": "string"
        }
    }
}
POST
View Parameters (18)
{
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the post.",
        "type": "integer"
    },
    "excerpt": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "comment_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not comments are open on the post.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "ping_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post can be pinged.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "format": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The format for the post.",
        "type": "string",
        "enum": [
            "standard",
            "aside",
            "chat",
            "gallery",
            "link",
            "image",
            "quote",
            "status",
            "video",
            "audio"
        ]
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            },
            "footnotes": {
                "type": "string",
                "title": "",
                "description": "",
                "default": ""
            }
        }
    },
    "sticky": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post should be treated as sticky.",
        "type": "boolean"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "categories": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the category taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    },
    "tags": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the post_tag taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    }
}
/wp/v2/posts/(?P<id>[\d]+)
GET
View Parameters (4)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "excerpt_length": {
        "description": "Override the default excerpt length.",
        "type": "integer"
    },
    "password": {
        "description": "The password for the post if it is password protected.",
        "type": "string"
    }
}
POST PUT PATCH
View Parameters (19)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the post.",
        "type": "integer"
    },
    "excerpt": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "comment_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not comments are open on the post.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "ping_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post can be pinged.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "format": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The format for the post.",
        "type": "string",
        "enum": [
            "standard",
            "aside",
            "chat",
            "gallery",
            "link",
            "image",
            "quote",
            "status",
            "video",
            "audio"
        ]
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            },
            "footnotes": {
                "type": "string",
                "title": "",
                "description": "",
                "default": ""
            }
        }
    },
    "sticky": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post should be treated as sticky.",
        "type": "boolean"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "categories": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the category taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    },
    "tags": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the post_tag taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/posts/(?P<parent>[\d]+)/revisions
GET
View Parameters (10)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by object attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "date",
            "id",
            "include",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    }
}
/wp/v2/posts/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
DELETE
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as revisions do not support trashing."
    }
}
/wp/v2/posts/(?P<id>[\d]+)/autosaves
GET
View Parameters (2)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST
View Parameters (19)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the post.",
        "type": "integer"
    },
    "excerpt": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "comment_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not comments are open on the post.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "ping_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post can be pinged.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "format": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The format for the post.",
        "type": "string",
        "enum": [
            "standard",
            "aside",
            "chat",
            "gallery",
            "link",
            "image",
            "quote",
            "status",
            "video",
            "audio"
        ]
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            },
            "footnotes": {
                "type": "string",
                "title": "",
                "description": "",
                "default": ""
            }
        }
    },
    "sticky": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post should be treated as sticky.",
        "type": "boolean"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "categories": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the category taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    },
    "tags": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the post_tag taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    }
}
/wp/v2/posts/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "id": {
        "description": "The ID for the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/pages
GET
View Parameters (22)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to posts published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_after": {
        "description": "Limit response to posts modified after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "author": {
        "description": "Limit result set to posts assigned to specific authors.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "author_exclude": {
        "description": "Ensure result set excludes posts assigned to specific authors.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "before": {
        "description": "Limit response to posts published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_before": {
        "description": "Limit response to posts modified before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "menu_order": {
        "description": "Limit result set to posts with a specific menu_order value.",
        "type": "integer"
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "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"
        ]
    },
    "parent": {
        "description": "Limit result set to items with particular parent IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "parent_exclude": {
        "description": "Limit result set to all items except those of a particular parent ID.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "post_title",
                "post_content",
                "post_excerpt"
            ],
            "type": "string"
        }
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "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"
        },
        "sanitize_callback": [
            {},
            "sanitize_post_statuses"
        ]
    }
}
POST
View Parameters (16)
{
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the parent of the post.",
        "type": "integer"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the post.",
        "type": "integer"
    },
    "excerpt": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "comment_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not comments are open on the post.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "ping_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post can be pinged.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "menu_order": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The order of the post in relation to other posts.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            },
            "footnotes": {
                "type": "string",
                "title": "",
                "description": "",
                "default": ""
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    }
}
/wp/v2/pages/(?P<id>[\d]+)
GET
View Parameters (4)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "excerpt_length": {
        "description": "Override the default excerpt length.",
        "type": "integer"
    },
    "password": {
        "description": "The password for the post if it is password protected.",
        "type": "string"
    }
}
POST PUT PATCH
View Parameters (17)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the parent of the post.",
        "type": "integer"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the post.",
        "type": "integer"
    },
    "excerpt": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "comment_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not comments are open on the post.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "ping_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post can be pinged.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "menu_order": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The order of the post in relation to other posts.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            },
            "footnotes": {
                "type": "string",
                "title": "",
                "description": "",
                "default": ""
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/pages/(?P<parent>[\d]+)/revisions
GET
View Parameters (10)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by object attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "date",
            "id",
            "include",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    }
}
/wp/v2/pages/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
DELETE
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as revisions do not support trashing."
    }
}
/wp/v2/pages/(?P<id>[\d]+)/autosaves
GET
View Parameters (2)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST
View Parameters (16)
{
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the parent of the post.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the post.",
        "type": "integer"
    },
    "excerpt": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "comment_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not comments are open on the post.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "ping_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post can be pinged.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "menu_order": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The order of the post in relation to other posts.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            },
            "footnotes": {
                "type": "string",
                "title": "",
                "description": "",
                "default": ""
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    }
}
/wp/v2/pages/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "id": {
        "description": "The ID for the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/media
GET
View Parameters (23)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to posts published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_after": {
        "description": "Limit response to posts modified after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "author": {
        "description": "Limit result set to posts assigned to specific authors.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "author_exclude": {
        "description": "Ensure result set excludes posts assigned to specific authors.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "before": {
        "description": "Limit response to posts published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_before": {
        "description": "Limit response to posts modified before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "author",
            "date",
            "id",
            "include",
            "modified",
            "parent",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    },
    "parent": {
        "description": "Limit result set to items with particular parent IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "parent_exclude": {
        "description": "Limit result set to all items except those of a particular parent ID.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "post_title",
                "post_content",
                "post_excerpt"
            ],
            "type": "string"
        }
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "status": {
        "default": "inherit",
        "description": "Limit result set to posts assigned one or more statuses.",
        "type": "array",
        "items": {
            "enum": [
                "inherit",
                "private",
                "trash"
            ],
            "type": "string"
        },
        "sanitize_callback": [
            {},
            "sanitize_post_statuses"
        ]
    },
    "media_type": {
        "default": null,
        "description": "Limit result set to attachments of a particular media type or media types.",
        "type": "array",
        "items": {
            "type": "string",
            "enum": [
                "image",
                "video",
                "text",
                "application",
                "audio"
            ]
        }
    },
    "mime_type": {
        "default": null,
        "description": "Limit result set to attachments of a particular MIME type or MIME types.",
        "type": "array",
        "items": {
            "type": "string"
        }
    }
}
POST
View Parameters (15)
{
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the post.",
        "type": "integer"
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "comment_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not comments are open on the post.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "ping_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post can be pinged.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "alt_text": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Alternative text to display when attachment is not displayed.",
        "type": "string"
    },
    "caption": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The attachment caption.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Caption for the attachment, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML caption for the attachment, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "description": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The attachment description.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Description for the attachment, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML description for the attachment, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ],
                "readonly": true
            }
        }
    },
    "post": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the associated post of the attachment.",
        "type": "integer"
    }
}
/wp/v2/media/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (16)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the post.",
        "type": "integer"
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "comment_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not comments are open on the post.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "ping_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether or not the post can be pinged.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "alt_text": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Alternative text to display when attachment is not displayed.",
        "type": "string"
    },
    "caption": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The attachment caption.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Caption for the attachment, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML caption for the attachment, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "description": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The attachment description.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Description for the attachment, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML description for the attachment, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ],
                "readonly": true
            }
        }
    },
    "post": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the associated post of the attachment.",
        "type": "integer"
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/media/(?P<id>[\d]+)/post-process
POST
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the attachment.",
        "type": "integer"
    },
    "action": {
        "type": "string",
        "enum": [
            "create-image-subsizes"
        ],
        "required": true
    }
}
/wp/v2/media/(?P<id>[\d]+)/edit
POST
View Parameters (12)
{
    "src": {
        "description": "URL to the edited image file.",
        "type": "string",
        "format": "uri",
        "required": true
    },
    "modifiers": {
        "description": "Array of image edits.",
        "type": "array",
        "minItems": 1,
        "items": {
            "description": "Image edit.",
            "type": "object",
            "required": [
                "type",
                "args"
            ],
            "oneOf": [
                {
                    "title": "Flip",
                    "properties": {
                        "type": {
                            "description": "Flip type.",
                            "type": "string",
                            "enum": [
                                "flip"
                            ]
                        },
                        "args": {
                            "description": "Flip arguments.",
                            "type": "object",
                            "required": [
                                "flip"
                            ],
                            "properties": {
                                "flip": {
                                    "description": "Flip direction.",
                                    "type": "object",
                                    "required": [
                                        "horizontal",
                                        "vertical"
                                    ],
                                    "properties": {
                                        "horizontal": {
                                            "description": "Whether to flip in the horizontal direction.",
                                            "type": "boolean"
                                        },
                                        "vertical": {
                                            "description": "Whether to flip in the vertical direction.",
                                            "type": "boolean"
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                {
                    "title": "Rotation",
                    "properties": {
                        "type": {
                            "description": "Rotation type.",
                            "type": "string",
                            "enum": [
                                "rotate"
                            ]
                        },
                        "args": {
                            "description": "Rotation arguments.",
                            "type": "object",
                            "required": [
                                "angle"
                            ],
                            "properties": {
                                "angle": {
                                    "description": "Angle to rotate clockwise in degrees.",
                                    "type": "number"
                                }
                            }
                        }
                    }
                },
                {
                    "title": "Crop",
                    "properties": {
                        "type": {
                            "description": "Crop type.",
                            "type": "string",
                            "enum": [
                                "crop"
                            ]
                        },
                        "args": {
                            "description": "Crop arguments.",
                            "type": "object",
                            "required": [
                                "left",
                                "top",
                                "width",
                                "height"
                            ],
                            "properties": {
                                "left": {
                                    "description": "Horizontal position from the left to begin the crop as a percentage of the image width.",
                                    "type": "number"
                                },
                                "top": {
                                    "description": "Vertical position from the top to begin the crop as a percentage of the image height.",
                                    "type": "number"
                                },
                                "width": {
                                    "description": "Width of the crop as a percentage of the image width.",
                                    "type": "number"
                                },
                                "height": {
                                    "description": "Height of the crop as a percentage of the image height.",
                                    "type": "number"
                                }
                            }
                        }
                    }
                }
            ]
        }
    },
    "rotation": {
        "description": "The amount to rotate the image clockwise in degrees. DEPRECATED: Use `modifiers` instead.",
        "type": "integer",
        "minimum": 0,
        "exclusiveMinimum": true,
        "maximum": 360,
        "exclusiveMaximum": true
    },
    "x": {
        "description": "As a percentage of the image, the x position to start the crop from. DEPRECATED: Use `modifiers` instead.",
        "type": "number",
        "minimum": 0,
        "maximum": 100
    },
    "y": {
        "description": "As a percentage of the image, the y position to start the crop from. DEPRECATED: Use `modifiers` instead.",
        "type": "number",
        "minimum": 0,
        "maximum": 100
    },
    "width": {
        "description": "As a percentage of the image, the width to crop the image to. DEPRECATED: Use `modifiers` instead.",
        "type": "number",
        "minimum": 0,
        "maximum": 100
    },
    "height": {
        "description": "As a percentage of the image, the height to crop the image to. DEPRECATED: Use `modifiers` instead.",
        "type": "number",
        "minimum": 0,
        "maximum": 100
    },
    "caption": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The attachment caption.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Caption for the attachment, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML caption for the attachment, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "description": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The attachment description.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Description for the attachment, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML description for the attachment, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ],
                "readonly": true
            }
        }
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "post": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the associated post of the attachment.",
        "type": "integer"
    },
    "alt_text": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Alternative text to display when attachment is not displayed.",
        "type": "string"
    }
}
/wp/v2/menu-items
GET
View Parameters (21)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 100,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to posts published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_after": {
        "description": "Limit response to posts modified after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "before": {
        "description": "Limit response to posts published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_before": {
        "description": "Limit response to posts modified before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "asc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by object attribute.",
        "type": "string",
        "default": "menu_order",
        "enum": [
            "author",
            "date",
            "id",
            "include",
            "modified",
            "parent",
            "relevance",
            "slug",
            "include_slugs",
            "title",
            "menu_order"
        ]
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "post_title",
                "post_content",
                "post_excerpt"
            ],
            "type": "string"
        }
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "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"
        },
        "sanitize_callback": [
            {},
            "sanitize_post_statuses"
        ]
    },
    "tax_relation": {
        "description": "Limit result set based on relationship between multiple taxonomies.",
        "type": "string",
        "enum": [
            "AND",
            "OR"
        ]
    },
    "menus": {
        "description": "Limit result set to items with specific terms assigned in the menus taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "operator": {
                        "description": "Whether items must be assigned all or any of the specified terms.",
                        "type": "string",
                        "enum": [
                            "AND",
                            "OR"
                        ],
                        "default": "OR"
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "menus_exclude": {
        "description": "Limit result set to items except those with specific terms assigned in the menus taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "menu_order": {
        "description": "Limit result set to posts with a specific menu_order value.",
        "type": "integer"
    }
}
POST
View Parameters (15)
{
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The title for the object.",
        "type": [
            "string",
            "object"
        ],
        "properties": {
            "raw": {
                "description": "Title for the object, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML title for the object, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "type": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "custom",
        "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".",
        "type": "string",
        "enum": [
            "taxonomy",
            "post_type",
            "post_type_archive",
            "custom"
        ]
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "publish",
        "description": "A named status for the object.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": 0,
        "description": "The ID for the parent of the object.",
        "type": "integer",
        "minimum": 0
    },
    "attr_title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Text for the title attribute of the link element for this menu item.",
        "type": "string"
    },
    "classes": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": {},
        "description": "Class names for the link element of this menu item.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "The description of this menu item.",
        "type": "string"
    },
    "menu_order": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": 1,
        "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.",
        "type": "integer",
        "minimum": 1
    },
    "object": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_key",
        "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".",
        "type": "string"
    },
    "object_id": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": 0,
        "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.",
        "type": "integer",
        "minimum": 0
    },
    "target": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The target attribute of the link element for this menu item.",
        "type": "string",
        "enum": [
            "_blank",
            ""
        ]
    },
    "url": {
        "validate_callback": {},
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The URL to which this menu item points.",
        "type": "string",
        "format": "uri"
    },
    "xfn": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": {},
        "description": "The XFN relationship expressed in the link of this menu item.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "menus": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the object in the nav_menu taxonomy.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            }
        }
    }
}
/wp/v2/menu-items/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (16)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The title for the object.",
        "type": [
            "string",
            "object"
        ],
        "properties": {
            "raw": {
                "description": "Title for the object, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML title for the object, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "type": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".",
        "type": "string",
        "enum": [
            "taxonomy",
            "post_type",
            "post_type_archive",
            "custom"
        ]
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the object.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the parent of the object.",
        "type": "integer",
        "minimum": 0
    },
    "attr_title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Text for the title attribute of the link element for this menu item.",
        "type": "string"
    },
    "classes": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": {},
        "description": "Class names for the link element of this menu item.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "The description of this menu item.",
        "type": "string"
    },
    "menu_order": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.",
        "type": "integer",
        "minimum": 1
    },
    "object": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_key",
        "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".",
        "type": "string"
    },
    "object_id": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.",
        "type": "integer",
        "minimum": 0
    },
    "target": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The target attribute of the link element for this menu item.",
        "type": "string",
        "enum": [
            "_blank",
            ""
        ]
    },
    "url": {
        "validate_callback": {},
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The URL to which this menu item points.",
        "type": "string",
        "format": "uri"
    },
    "xfn": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": {},
        "description": "The XFN relationship expressed in the link of this menu item.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "menus": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the object in the nav_menu taxonomy.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            }
        }
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/menu-items/(?P<id>[\d]+)/autosaves
GET
View Parameters (2)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST
View Parameters (15)
{
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the parent of the object.",
        "type": "integer",
        "minimum": 0
    },
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The title for the object.",
        "type": [
            "string",
            "object"
        ],
        "properties": {
            "raw": {
                "description": "Title for the object, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML title for the object, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "type": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The family of objects originally represented, such as \"post_type\" or \"taxonomy\".",
        "type": "string",
        "enum": [
            "taxonomy",
            "post_type",
            "post_type_archive",
            "custom"
        ]
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the object.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "attr_title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Text for the title attribute of the link element for this menu item.",
        "type": "string"
    },
    "classes": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": {},
        "description": "Class names for the link element of this menu item.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "The description of this menu item.",
        "type": "string"
    },
    "menu_order": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0.",
        "type": "integer",
        "minimum": 1
    },
    "object": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_key",
        "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".",
        "type": "string"
    },
    "object_id": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories.",
        "type": "integer",
        "minimum": 0
    },
    "target": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The target attribute of the link element for this menu item.",
        "type": "string",
        "enum": [
            "_blank",
            ""
        ]
    },
    "url": {
        "validate_callback": {},
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The URL to which this menu item points.",
        "type": "string",
        "format": "uri"
    },
    "xfn": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": {},
        "description": "The XFN relationship expressed in the link of this menu item.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "menus": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the object in the nav_menu taxonomy.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            }
        }
    }
}
/wp/v2/menu-items/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "id": {
        "description": "The ID for the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/blocks
GET
View Parameters (20)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to posts published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_after": {
        "description": "Limit response to posts modified after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "before": {
        "description": "Limit response to posts published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_before": {
        "description": "Limit response to posts modified before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "author",
            "date",
            "id",
            "include",
            "modified",
            "parent",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "post_title",
                "post_content",
                "post_excerpt"
            ],
            "type": "string"
        }
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "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"
        },
        "sanitize_callback": [
            {},
            "sanitize_post_statuses"
        ]
    },
    "tax_relation": {
        "description": "Limit result set based on relationship between multiple taxonomies.",
        "type": "string",
        "enum": [
            "AND",
            "OR"
        ]
    },
    "wp_pattern_category": {
        "description": "Limit result set to items with specific terms assigned in the wp_pattern_category taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "operator": {
                        "description": "Whether items must be assigned all or any of the specified terms.",
                        "type": "string",
                        "enum": [
                            "AND",
                            "OR"
                        ],
                        "default": "OR"
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "wp_pattern_category_exclude": {
        "description": "Limit result set to items except those with specific terms assigned in the wp_pattern_category taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    }
                },
                "additionalProperties": false
            }
        ]
    }
}
POST
View Parameters (11)
{
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The title for the post.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Title for the post, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The content for the post.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Content for the post, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            },
            "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
            }
        }
    },
    "excerpt": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            },
            "wp_pattern_sync_status": {
                "type": "string",
                "title": "",
                "description": "",
                "default": "",
                "enum": [
                    "partial",
                    "unsynced"
                ]
            },
            "footnotes": {
                "type": "string",
                "title": "",
                "description": "",
                "default": ""
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "wp_pattern_category": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the wp_pattern_category taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    }
}
/wp/v2/blocks/(?P<id>[\d]+)
GET
View Parameters (4)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "excerpt_length": {
        "description": "Override the default excerpt length.",
        "type": "integer"
    },
    "password": {
        "description": "The password for the post if it is password protected.",
        "type": "string"
    }
}
POST PUT PATCH
View Parameters (12)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The title for the post.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Title for the post, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The content for the post.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Content for the post, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            },
            "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
            }
        }
    },
    "excerpt": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            },
            "wp_pattern_sync_status": {
                "type": "string",
                "title": "",
                "description": "",
                "default": "",
                "enum": [
                    "partial",
                    "unsynced"
                ]
            },
            "footnotes": {
                "type": "string",
                "title": "",
                "description": "",
                "default": ""
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "wp_pattern_category": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the wp_pattern_category taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/blocks/(?P<parent>[\d]+)/revisions
GET
View Parameters (10)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by object attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "date",
            "id",
            "include",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    }
}
/wp/v2/blocks/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
DELETE
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as revisions do not support trashing."
    }
}
/wp/v2/blocks/(?P<id>[\d]+)/autosaves
GET
View Parameters (2)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST
View Parameters (12)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The title for the post.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Title for the post, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The content for the post.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Content for the post, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            },
            "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
            }
        }
    },
    "excerpt": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_acf_changed": {
                "type": "boolean",
                "title": "",
                "description": "",
                "default": false
            },
            "wp_pattern_sync_status": {
                "type": "string",
                "title": "",
                "description": "",
                "default": "",
                "enum": [
                    "partial",
                    "unsynced"
                ]
            },
            "footnotes": {
                "type": "string",
                "title": "",
                "description": "",
                "default": ""
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "wp_pattern_category": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the wp_pattern_category taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    }
}
/wp/v2/blocks/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "id": {
        "description": "The ID for the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/templates/(?P<parent>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions
GET
View Parameters (10)
{
    "parent": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by object attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "date",
            "id",
            "include",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    }
}
/wp/v2/templates/(?P<parent>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
DELETE
View Parameters (3)
{
    "parent": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as revisions do not support trashing."
    }
}
/wp/v2/templates/(?P<id>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves
GET
View Parameters (2)
{
    "id": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST
View Parameters (9)
{
    "id": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Unique slug identifying the template.",
        "type": "string",
        "minLength": 1,
        "pattern": "[a-zA-Z0-9_\\%-]+"
    },
    "theme": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Theme identifier for the template.",
        "type": "string"
    },
    "type": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Type of template.",
        "type": "string"
    },
    "content": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Content of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Content for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            },
            "block_version": {
                "description": "Version of the content block format used by the template.",
                "type": "integer",
                "context": [
                    "edit"
                ],
                "readonly": true
            }
        }
    },
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Title of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Title for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML title for the template, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Description of template.",
        "type": "string"
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Status of template.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the template.",
        "type": "integer"
    }
}
/wp/v2/templates/(?P<parent>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "id": {
        "description": "The ID for the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/templates
GET
View Parameters (4)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "wp_id": {
        "description": "Limit to the specified post id.",
        "type": "integer"
    },
    "area": {
        "description": "Limit to the specified template part area.",
        "type": "string"
    },
    "post_type": {
        "description": "Post type to get the templates for.",
        "type": "string"
    }
}
POST
View Parameters (8)
{
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "required": true,
        "description": "Unique slug identifying the template.",
        "type": "string",
        "minLength": 1,
        "pattern": "[a-zA-Z0-9_\\%-]+"
    },
    "theme": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Theme identifier for the template.",
        "type": "string"
    },
    "type": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Type of template.",
        "type": "string"
    },
    "content": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "",
        "description": "Content of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Content for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            },
            "block_version": {
                "description": "Version of the content block format used by the template.",
                "type": "integer",
                "context": [
                    "edit"
                ],
                "readonly": true
            }
        }
    },
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "",
        "description": "Title of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Title for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML title for the template, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "",
        "description": "Description of template.",
        "type": "string"
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "publish",
        "description": "Status of template.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the template.",
        "type": "integer"
    }
}
/wp/v2/templates/lookup
GET
View Parameters (3)
{
    "slug": {
        "description": "The slug of the template to get the fallback for",
        "type": "string",
        "required": true
    },
    "is_custom": {
        "description": "Indicates if a template is custom or part of the template hierarchy",
        "type": "boolean"
    },
    "template_prefix": {
        "description": "The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`",
        "type": "string"
    }
}
/wp/v2/templates/(?P<id>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)
GET
View Parameters (2)
{
    "id": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (9)
{
    "id": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Unique slug identifying the template.",
        "type": "string",
        "minLength": 1,
        "pattern": "[a-zA-Z0-9_\\%-]+"
    },
    "theme": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Theme identifier for the template.",
        "type": "string"
    },
    "type": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Type of template.",
        "type": "string"
    },
    "content": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Content of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Content for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            },
            "block_version": {
                "description": "Version of the content block format used by the template.",
                "type": "integer",
                "context": [
                    "edit"
                ],
                "readonly": true
            }
        }
    },
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Title of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Title for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML title for the template, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Description of template.",
        "type": "string"
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Status of template.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the template.",
        "type": "integer"
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/template-parts/(?P<parent>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions
GET
View Parameters (10)
{
    "parent": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by object attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "date",
            "id",
            "include",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    }
}
/wp/v2/template-parts/(?P<parent>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
DELETE
View Parameters (3)
{
    "parent": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as revisions do not support trashing."
    }
}
/wp/v2/template-parts/(?P<id>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves
GET
View Parameters (2)
{
    "id": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST
View Parameters (10)
{
    "id": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Unique slug identifying the template.",
        "type": "string",
        "minLength": 1,
        "pattern": "[a-zA-Z0-9_\\%-]+"
    },
    "theme": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Theme identifier for the template.",
        "type": "string"
    },
    "type": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Type of template.",
        "type": "string"
    },
    "content": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Content of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Content for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            },
            "block_version": {
                "description": "Version of the content block format used by the template.",
                "type": "integer",
                "context": [
                    "edit"
                ],
                "readonly": true
            }
        }
    },
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Title of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Title for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML title for the template, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Description of template.",
        "type": "string"
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Status of template.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the template.",
        "type": "integer"
    },
    "area": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Where the template part is intended for use (header, footer, etc.)",
        "type": "string"
    }
}
/wp/v2/template-parts/(?P<parent>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "id": {
        "description": "The ID for the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/template-parts
GET
View Parameters (4)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "wp_id": {
        "description": "Limit to the specified post id.",
        "type": "integer"
    },
    "area": {
        "description": "Limit to the specified template part area.",
        "type": "string"
    },
    "post_type": {
        "description": "Post type to get the templates for.",
        "type": "string"
    }
}
POST
View Parameters (9)
{
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "required": true,
        "description": "Unique slug identifying the template.",
        "type": "string",
        "minLength": 1,
        "pattern": "[a-zA-Z0-9_\\%-]+"
    },
    "theme": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Theme identifier for the template.",
        "type": "string"
    },
    "type": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Type of template.",
        "type": "string"
    },
    "content": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "",
        "description": "Content of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Content for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            },
            "block_version": {
                "description": "Version of the content block format used by the template.",
                "type": "integer",
                "context": [
                    "edit"
                ],
                "readonly": true
            }
        }
    },
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "",
        "description": "Title of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Title for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML title for the template, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "",
        "description": "Description of template.",
        "type": "string"
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "publish",
        "description": "Status of template.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the template.",
        "type": "integer"
    },
    "area": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Where the template part is intended for use (header, footer, etc.)",
        "type": "string"
    }
}
/wp/v2/template-parts/lookup
GET
View Parameters (3)
{
    "slug": {
        "description": "The slug of the template to get the fallback for",
        "type": "string",
        "required": true
    },
    "is_custom": {
        "description": "Indicates if a template is custom or part of the template hierarchy",
        "type": "boolean"
    },
    "template_prefix": {
        "description": "The template prefix for the created template. This is used to extract the main template type, e.g. in `taxonomy-books` extracts the `taxonomy`",
        "type": "string"
    }
}
/wp/v2/template-parts/(?P<id>([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)
GET
View Parameters (2)
{
    "id": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (10)
{
    "id": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Unique slug identifying the template.",
        "type": "string",
        "minLength": 1,
        "pattern": "[a-zA-Z0-9_\\%-]+"
    },
    "theme": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Theme identifier for the template.",
        "type": "string"
    },
    "type": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Type of template.",
        "type": "string"
    },
    "content": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Content of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Content for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit"
                ]
            },
            "block_version": {
                "description": "Version of the content block format used by the template.",
                "type": "integer",
                "context": [
                    "edit"
                ],
                "readonly": true
            }
        }
    },
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Title of template.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Title for the template, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML title for the template, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Description of template.",
        "type": "string"
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Status of template.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the author of the template.",
        "type": "integer"
    },
    "area": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Where the template part is intended for use (header, footer, etc.)",
        "type": "string"
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "The id of a template",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_template_id"
        ]
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/global-styles/(?P<parent>[\d]+)/revisions
GET
View Parameters (5)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    }
}
/wp/v2/global-styles/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the global styles revision.",
        "type": "integer"
    },
    "id": {
        "description": "Unique identifier for the global styles revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/global-styles/themes/(?P<stylesheet>[\/\s%\w\.\(\)\[\]\@_\-]+)/variations
GET
View Parameters (1)
{
    "stylesheet": {
        "description": "The theme identifier",
        "type": "string"
    }
}
/wp/v2/global-styles/themes/(?P<stylesheet>[^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)
GET
View Parameters (1)
{
    "stylesheet": {
        "description": "The theme identifier",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_global_styles_callback"
        ]
    }
}
/wp/v2/global-styles/(?P<id>[\/\d+]+)
GET
View Parameters (1)
{
    "id": {
        "description": "ID of global styles config.",
        "type": "integer"
    }
}
POST PUT PATCH
View Parameters (3)
{
    "styles": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Global styles.",
        "type": [
            "object"
        ]
    },
    "settings": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Global settings.",
        "type": [
            "object"
        ]
    },
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Title of the global styles variation.",
        "type": [
            "object",
            "string"
        ],
        "properties": {
            "raw": {
                "description": "Title for the global styles variation, as it exists in the database.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML title for the post, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    }
}
/wp/v2/navigation
GET
View Parameters (17)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to posts published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_after": {
        "description": "Limit response to posts modified after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "before": {
        "description": "Limit response to posts published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_before": {
        "description": "Limit response to posts modified before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "author",
            "date",
            "id",
            "include",
            "modified",
            "parent",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "post_title",
                "post_content",
                "post_excerpt"
            ],
            "type": "string"
        }
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "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"
        },
        "sanitize_callback": [
            {},
            "sanitize_post_statuses"
        ]
    }
}
POST
View Parameters (8)
{
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML title for the post, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML content for the post, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            },
            "block_version": {
                "description": "Version of the content block format used by the post.",
                "type": "integer",
                "context": [
                    "edit",
                    "embed"
                ],
                "readonly": true
            },
            "protected": {
                "description": "Whether the content is protected with a password.",
                "type": "boolean",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    }
}
/wp/v2/navigation/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "password": {
        "description": "The password for the post if it is password protected.",
        "type": "string"
    }
}
POST PUT PATCH
View Parameters (9)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML title for the post, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML content for the post, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            },
            "block_version": {
                "description": "Version of the content block format used by the post.",
                "type": "integer",
                "context": [
                    "edit",
                    "embed"
                ],
                "readonly": true
            },
            "protected": {
                "description": "Whether the content is protected with a password.",
                "type": "boolean",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/navigation/(?P<parent>[\d]+)/revisions
GET
View Parameters (10)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by object attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "date",
            "id",
            "include",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    }
}
/wp/v2/navigation/(?P<parent>[\d]+)/revisions/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
DELETE
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the revision.",
        "type": "integer"
    },
    "id": {
        "description": "Unique identifier for the revision.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as revisions do not support trashing."
    }
}
/wp/v2/navigation/(?P<id>[\d]+)/autosaves
GET
View Parameters (2)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST
View Parameters (9)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML title for the post, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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",
                    "embed"
                ]
            },
            "rendered": {
                "description": "HTML content for the post, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            },
            "block_version": {
                "description": "Version of the content block format used by the post.",
                "type": "integer",
                "context": [
                    "edit",
                    "embed"
                ],
                "readonly": true
            },
            "protected": {
                "description": "Whether the content is protected with a password.",
                "type": "boolean",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    }
}
/wp/v2/navigation/(?P<parent>[\d]+)/autosaves/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "parent": {
        "description": "The ID for the parent of the autosave.",
        "type": "integer"
    },
    "id": {
        "description": "The ID for the autosave.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/font-families
GET
View Parameters (10)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "id",
        "enum": [
            "id",
            "include"
        ]
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    }
}
POST
View Parameters (2)
{
    "theme_json_version": {
        "description": "Version of the theme.json schema used for the typography settings.",
        "type": "integer",
        "default": 3,
        "minimum": 2,
        "maximum": 3,
        "context": [
            "view",
            "edit",
            "embed"
        ]
    },
    "font_family_settings": {
        "description": "font-family declaration in theme.json format, encoded as a string.",
        "type": "string",
        "required": true,
        "validate_callback": [
            {},
            "validate_font_family_settings"
        ],
        "sanitize_callback": [
            {},
            "sanitize_font_family_settings"
        ]
    }
}
/wp/v2/font-families/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (3)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "theme_json_version": {
        "description": "Version of the theme.json schema used for the typography settings.",
        "type": "integer",
        "default": 3,
        "minimum": 2,
        "maximum": 3,
        "context": [
            "view",
            "edit",
            "embed"
        ]
    },
    "font_family_settings": {
        "description": "font-family declaration in theme.json format, encoded as a string.",
        "type": "string",
        "required": true,
        "validate_callback": [
            {},
            "validate_font_family_settings"
        ],
        "sanitize_callback": [
            {},
            "sanitize_font_family_settings"
        ]
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/font-families/(?P<font_family_id>[\d]+)/font-faces
GET
View Parameters (10)
{
    "font_family_id": {
        "description": "The ID for the parent font family of the font face.",
        "type": "integer",
        "required": true
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "id",
        "enum": [
            "id",
            "include"
        ]
    }
}
POST
View Parameters (3)
{
    "font_family_id": {
        "description": "The ID for the parent font family of the font face.",
        "type": "integer",
        "required": true
    },
    "theme_json_version": {
        "description": "Version of the theme.json schema used for the typography settings.",
        "type": "integer",
        "default": 3,
        "minimum": 2,
        "maximum": 3,
        "context": [
            "view",
            "edit",
            "embed"
        ]
    },
    "font_face_settings": {
        "description": "font-face declaration in theme.json format, encoded as a string.",
        "type": "string",
        "required": true,
        "validate_callback": [
            {},
            "validate_create_font_face_settings"
        ],
        "sanitize_callback": [
            {},
            "sanitize_font_face_settings"
        ]
    }
}
/wp/v2/font-families/(?P<font_family_id>[\d]+)/font-faces/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "font_family_id": {
        "description": "The ID for the parent font family of the font face.",
        "type": "integer",
        "required": true
    },
    "id": {
        "description": "Unique identifier for the font face.",
        "type": "integer",
        "required": true
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
DELETE
View Parameters (3)
{
    "font_family_id": {
        "description": "The ID for the parent font family of the font face.",
        "type": "integer",
        "required": true
    },
    "id": {
        "description": "Unique identifier for the font face.",
        "type": "integer",
        "required": true
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/home_video
GET
View Parameters (20)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to posts published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_after": {
        "description": "Limit response to posts modified after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "before": {
        "description": "Limit response to posts published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_before": {
        "description": "Limit response to posts modified before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "author",
            "date",
            "id",
            "include",
            "modified",
            "parent",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "post_title",
                "post_content",
                "post_excerpt"
            ],
            "type": "string"
        }
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "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"
        },
        "sanitize_callback": [
            {},
            "sanitize_post_statuses"
        ]
    },
    "tax_relation": {
        "description": "Limit result set based on relationship between multiple taxonomies.",
        "type": "string",
        "enum": [
            "AND",
            "OR"
        ]
    },
    "people-role": {
        "description": "Limit result set to items with specific terms assigned in the people-role taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "include_children": {
                        "description": "Whether to include child terms in the terms limiting the result set.",
                        "type": "boolean",
                        "default": false
                    },
                    "operator": {
                        "description": "Whether items must be assigned all or any of the specified terms.",
                        "type": "string",
                        "enum": [
                            "AND",
                            "OR"
                        ],
                        "default": "OR"
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "people-role_exclude": {
        "description": "Limit result set to items except those with specific terms assigned in the people-role taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "include_children": {
                        "description": "Whether to include child terms in the terms limiting the result set.",
                        "type": "boolean",
                        "default": false
                    }
                },
                "additionalProperties": false
            }
        ]
    }
}
POST
View Parameters (9)
{
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "people-role": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the people-role taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    }
}
/wp/v2/home_video/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "password": {
        "description": "The password for the post if it is password protected.",
        "type": "string"
    }
}
POST PUT PATCH
View Parameters (10)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "people-role": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the people-role taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/portfolio
GET
View Parameters (22)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to posts published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_after": {
        "description": "Limit response to posts modified after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "before": {
        "description": "Limit response to posts published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_before": {
        "description": "Limit response to posts modified before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "author",
            "date",
            "id",
            "include",
            "modified",
            "parent",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "post_title",
                "post_content",
                "post_excerpt"
            ],
            "type": "string"
        }
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "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"
        },
        "sanitize_callback": [
            {},
            "sanitize_post_statuses"
        ]
    },
    "tax_relation": {
        "description": "Limit result set based on relationship between multiple taxonomies.",
        "type": "string",
        "enum": [
            "AND",
            "OR"
        ]
    },
    "portfolio-category": {
        "description": "Limit result set to items with specific terms assigned in the portfolio-category taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "include_children": {
                        "description": "Whether to include child terms in the terms limiting the result set.",
                        "type": "boolean",
                        "default": false
                    },
                    "operator": {
                        "description": "Whether items must be assigned all or any of the specified terms.",
                        "type": "string",
                        "enum": [
                            "AND",
                            "OR"
                        ],
                        "default": "OR"
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "portfolio-category_exclude": {
        "description": "Limit result set to items except those with specific terms assigned in the portfolio-category taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "include_children": {
                        "description": "Whether to include child terms in the terms limiting the result set.",
                        "type": "boolean",
                        "default": false
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "portfolio-status": {
        "description": "Limit result set to items with specific terms assigned in the portfolio-status taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "include_children": {
                        "description": "Whether to include child terms in the terms limiting the result set.",
                        "type": "boolean",
                        "default": false
                    },
                    "operator": {
                        "description": "Whether items must be assigned all or any of the specified terms.",
                        "type": "string",
                        "enum": [
                            "AND",
                            "OR"
                        ],
                        "default": "OR"
                    }
                },
                "additionalProperties": false
            }
        ]
    },
    "portfolio-status_exclude": {
        "description": "Limit result set to items except those with specific terms assigned in the portfolio-status taxonomy.",
        "type": [
            "object",
            "array"
        ],
        "oneOf": [
            {
                "title": "Term ID List",
                "description": "Match terms with the listed IDs.",
                "type": "array",
                "items": {
                    "type": "integer"
                }
            },
            {
                "title": "Term ID Taxonomy Query",
                "description": "Perform an advanced term query.",
                "type": "object",
                "properties": {
                    "terms": {
                        "description": "Term IDs.",
                        "type": "array",
                        "items": {
                            "type": "integer"
                        },
                        "default": []
                    },
                    "include_children": {
                        "description": "Whether to include child terms in the terms limiting the result set.",
                        "type": "boolean",
                        "default": false
                    }
                },
                "additionalProperties": false
            }
        ]
    }
}
POST
View Parameters (10)
{
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "portfolio-category": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the portfolio-category taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    },
    "portfolio-status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the portfolio-status taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    }
}
/wp/v2/portfolio/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "password": {
        "description": "The password for the post if it is password protected.",
        "type": "string"
    }
}
POST PUT PATCH
View Parameters (11)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    },
    "portfolio-category": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the portfolio-category taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    },
    "portfolio-status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The terms assigned to the post in the portfolio-status taxonomy.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/footer
GET
View Parameters (17)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to posts published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_after": {
        "description": "Limit response to posts modified after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "before": {
        "description": "Limit response to posts published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_before": {
        "description": "Limit response to posts modified before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "author",
            "date",
            "id",
            "include",
            "modified",
            "parent",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "post_title",
                "post_content",
                "post_excerpt"
            ],
            "type": "string"
        }
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "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"
        },
        "sanitize_callback": [
            {},
            "sanitize_post_statuses"
        ]
    }
}
POST
View Parameters (8)
{
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    }
}
/wp/v2/footer/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "password": {
        "description": "The password for the post if it is password protected.",
        "type": "string"
    }
}
POST PUT PATCH
View Parameters (9)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/social_link
GET
View Parameters (17)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to posts published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_after": {
        "description": "Limit response to posts modified after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "before": {
        "description": "Limit response to posts published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "modified_before": {
        "description": "Limit response to posts modified before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "search_semantics": {
        "description": "How to interpret the search input.",
        "type": "string",
        "enum": [
            "exact"
        ]
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "author",
            "date",
            "id",
            "include",
            "modified",
            "parent",
            "relevance",
            "slug",
            "include_slugs",
            "title"
        ]
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "post_title",
                "post_content",
                "post_excerpt"
            ],
            "type": "string"
        }
    },
    "slug": {
        "description": "Limit result set to posts with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "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"
        },
        "sanitize_callback": [
            {},
            "sanitize_post_statuses"
        ]
    }
}
POST
View Parameters (8)
{
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    }
}
/wp/v2/social_link/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "password": {
        "description": "The password for the post if it is password protected.",
        "type": "string"
    }
}
POST PUT PATCH
View Parameters (9)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, in the site's timezone.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the post was published, as GMT.",
        "type": [
            "string",
            "null"
        ],
        "format": "date-time"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the post unique to its type.",
        "type": "string"
    },
    "status": {
        "validate_callback": [
            {},
            "check_status"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A named status for the post.",
        "type": "string",
        "enum": [
            "publish",
            "future",
            "draft",
            "pending",
            "private",
            "acf-disabled"
        ]
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A password to protect access to the content and excerpt.",
        "type": "string"
    },
    "title": {
        "validate_callback": null,
        "sanitize_callback": null,
        "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
            }
        }
    },
    "featured_media": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the featured media for the post.",
        "type": "integer"
    },
    "template": {
        "validate_callback": [
            {},
            "check_template"
        ],
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The theme file to use to display the post.",
        "type": "string"
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the post.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    }
}
/wp/v2/types
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/types/(?P<type>[\w-]+)
GET
View Parameters (2)
{
    "type": {
        "description": "An alphanumeric identifier for the post type.",
        "type": "string"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/statuses
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/statuses/(?P<status>[\w-]+)
GET
View Parameters (2)
{
    "status": {
        "description": "An alphanumeric identifier for the status.",
        "type": "string"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/taxonomies
GET
View Parameters (2)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "type": {
        "description": "Limit results to taxonomies associated with a specific post type.",
        "type": "string"
    }
}
/wp/v2/taxonomies/(?P<taxonomy>[\w-]+)
GET
View Parameters (2)
{
    "taxonomy": {
        "description": "An alphanumeric identifier for the taxonomy.",
        "type": "string"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/categories
GET
View Parameters (12)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "asc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by term attribute.",
        "type": "string",
        "default": "name",
        "enum": [
            "id",
            "include",
            "name",
            "slug",
            "include_slugs",
            "term_group",
            "description",
            "count"
        ]
    },
    "hide_empty": {
        "description": "Whether to hide terms not assigned to any posts.",
        "type": "boolean",
        "default": false
    },
    "parent": {
        "description": "Limit result set to terms assigned to a specific parent.",
        "type": "integer"
    },
    "post": {
        "description": "Limit result set to terms assigned to a specific post.",
        "type": "integer",
        "default": null
    },
    "slug": {
        "description": "Limit result set to terms with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    }
}
POST
View Parameters (5)
{
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "required": true,
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The parent term ID.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
/wp/v2/categories/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (6)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The parent term ID.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as terms do not support trashing."
    }
}
/wp/v2/tags
GET
View Parameters (12)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "asc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by term attribute.",
        "type": "string",
        "default": "name",
        "enum": [
            "id",
            "include",
            "name",
            "slug",
            "include_slugs",
            "term_group",
            "description",
            "count"
        ]
    },
    "hide_empty": {
        "description": "Whether to hide terms not assigned to any posts.",
        "type": "boolean",
        "default": false
    },
    "post": {
        "description": "Limit result set to terms assigned to a specific post.",
        "type": "integer",
        "default": null
    },
    "slug": {
        "description": "Limit result set to terms with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    }
}
POST
View Parameters (4)
{
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "required": true,
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
/wp/v2/tags/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (5)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as terms do not support trashing."
    }
}
/wp/v2/menus
GET
View Parameters (12)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "asc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by term attribute.",
        "type": "string",
        "default": "name",
        "enum": [
            "id",
            "include",
            "name",
            "slug",
            "include_slugs",
            "term_group",
            "description",
            "count"
        ]
    },
    "hide_empty": {
        "description": "Whether to hide terms not assigned to any posts.",
        "type": "boolean",
        "default": false
    },
    "post": {
        "description": "Limit result set to terms assigned to a specific post.",
        "type": "integer",
        "default": null
    },
    "slug": {
        "description": "Limit result set to terms with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    }
}
POST
View Parameters (6)
{
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "required": true,
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    },
    "locations": {
        "validate_callback": {},
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The locations assigned to the menu.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "auto_add": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether to automatically add top level pages to this menu.",
        "type": "boolean"
    }
}
/wp/v2/menus/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (7)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    },
    "locations": {
        "validate_callback": {},
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The locations assigned to the menu.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "auto_add": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Whether to automatically add top level pages to this menu.",
        "type": "boolean"
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as terms do not support trashing."
    }
}
/wp/v2/wp_pattern_category
GET
View Parameters (12)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "asc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by term attribute.",
        "type": "string",
        "default": "name",
        "enum": [
            "id",
            "include",
            "name",
            "slug",
            "include_slugs",
            "term_group",
            "description",
            "count"
        ]
    },
    "hide_empty": {
        "description": "Whether to hide terms not assigned to any posts.",
        "type": "boolean",
        "default": false
    },
    "post": {
        "description": "Limit result set to terms assigned to a specific post.",
        "type": "integer",
        "default": null
    },
    "slug": {
        "description": "Limit result set to terms with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    }
}
POST
View Parameters (4)
{
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "required": true,
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
/wp/v2/wp_pattern_category/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (5)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as terms do not support trashing."
    }
}
/wp/v2/people-role
GET
View Parameters (12)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "asc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by term attribute.",
        "type": "string",
        "default": "name",
        "enum": [
            "id",
            "include",
            "name",
            "slug",
            "include_slugs",
            "term_group",
            "description",
            "count"
        ]
    },
    "hide_empty": {
        "description": "Whether to hide terms not assigned to any posts.",
        "type": "boolean",
        "default": false
    },
    "parent": {
        "description": "Limit result set to terms assigned to a specific parent.",
        "type": "integer"
    },
    "post": {
        "description": "Limit result set to terms assigned to a specific post.",
        "type": "integer",
        "default": null
    },
    "slug": {
        "description": "Limit result set to terms with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    }
}
POST
View Parameters (5)
{
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "required": true,
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The parent term ID.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
/wp/v2/people-role/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (6)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The parent term ID.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as terms do not support trashing."
    }
}
/wp/v2/portfolio-category
GET
View Parameters (12)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "asc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by term attribute.",
        "type": "string",
        "default": "name",
        "enum": [
            "id",
            "include",
            "name",
            "slug",
            "include_slugs",
            "term_group",
            "description",
            "count"
        ]
    },
    "hide_empty": {
        "description": "Whether to hide terms not assigned to any posts.",
        "type": "boolean",
        "default": false
    },
    "parent": {
        "description": "Limit result set to terms assigned to a specific parent.",
        "type": "integer"
    },
    "post": {
        "description": "Limit result set to terms assigned to a specific post.",
        "type": "integer",
        "default": null
    },
    "slug": {
        "description": "Limit result set to terms with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    }
}
POST
View Parameters (5)
{
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "required": true,
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The parent term ID.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
/wp/v2/portfolio-category/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (6)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The parent term ID.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as terms do not support trashing."
    }
}
/wp/v2/portfolio-status
GET
View Parameters (12)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "asc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by term attribute.",
        "type": "string",
        "default": "name",
        "enum": [
            "id",
            "include",
            "name",
            "slug",
            "include_slugs",
            "term_group",
            "description",
            "count"
        ]
    },
    "hide_empty": {
        "description": "Whether to hide terms not assigned to any posts.",
        "type": "boolean",
        "default": false
    },
    "parent": {
        "description": "Limit result set to terms assigned to a specific parent.",
        "type": "integer"
    },
    "post": {
        "description": "Limit result set to terms assigned to a specific post.",
        "type": "integer",
        "default": null
    },
    "slug": {
        "description": "Limit result set to terms with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    }
}
POST
View Parameters (5)
{
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "required": true,
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The parent term ID.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
/wp/v2/portfolio-status/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (6)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "HTML description of the term.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "HTML title for the term.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the term unique to its type.",
        "type": "string"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The parent term ID.",
        "type": "integer"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": []
    }
}
DELETE
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the term.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as terms do not support trashing."
    }
}
/wp/v2/users
GET
View Parameters (15)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "default": "asc",
        "description": "Order sort attribute ascending or descending.",
        "enum": [
            "asc",
            "desc"
        ],
        "type": "string"
    },
    "orderby": {
        "default": "name",
        "description": "Sort collection by user attribute.",
        "enum": [
            "id",
            "include",
            "name",
            "registered_date",
            "slug",
            "include_slugs",
            "email",
            "url"
        ],
        "type": "string"
    },
    "slug": {
        "description": "Limit result set to users with one or more specific slugs.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "roles": {
        "description": "Limit result set to users matching at least one specific role provided. Accepts csv list or single role.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "capabilities": {
        "description": "Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "who": {
        "description": "Limit result set to users who are considered authors.",
        "type": "string",
        "enum": [
            "authors"
        ]
    },
    "has_published_posts": {
        "description": "Limit result set to users who have published posts.",
        "type": [
            "boolean",
            "array"
        ],
        "items": {
            "type": "string",
            "enum": {
                "post": "post",
                "page": "page",
                "attachment": "attachment",
                "nav_menu_item": "nav_menu_item",
                "wp_block": "wp_block",
                "wp_template": "wp_template",
                "wp_template_part": "wp_template_part",
                "wp_global_styles": "wp_global_styles",
                "wp_navigation": "wp_navigation",
                "wp_font_family": "wp_font_family",
                "wp_font_face": "wp_font_face",
                "home_video": "home_video",
                "portfolio": "portfolio",
                "footer": "footer",
                "social_link": "social_link"
            }
        }
    },
    "search_columns": {
        "default": [],
        "description": "Array of column names to be searched.",
        "type": "array",
        "items": {
            "enum": [
                "email",
                "name",
                "id",
                "username",
                "slug"
            ],
            "type": "string"
        }
    }
}
POST
View Parameters (13)
{
    "username": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "check_username"
        ],
        "required": true,
        "description": "Login name for the user.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Display name for the user.",
        "type": "string"
    },
    "first_name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "First name for the user.",
        "type": "string"
    },
    "last_name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Last name for the user.",
        "type": "string"
    },
    "email": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "required": true,
        "description": "The email address for the user.",
        "type": "string",
        "format": "email"
    },
    "url": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "URL of the user.",
        "type": "string",
        "format": "uri"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Description of the user.",
        "type": "string"
    },
    "locale": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Locale for the user.",
        "type": "string",
        "enum": [
            "",
            "en_US"
        ]
    },
    "nickname": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "The nickname for the user.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the user.",
        "type": "string"
    },
    "roles": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Roles assigned to the user.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "check_user_password"
        ],
        "required": true,
        "description": "Password for the user (never included).",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "persisted_preferences": {
                "type": "object",
                "title": "",
                "description": "",
                "default": [],
                "context": [
                    "edit"
                ],
                "properties": {
                    "_modified": {
                        "description": "The date and time the preferences were updated.",
                        "type": "string",
                        "format": "date-time",
                        "readonly": false
                    }
                },
                "additionalProperties": true
            }
        }
    }
}
/wp/v2/users/(?P<id>[\d]+)
GET
View Parameters (2)
{
    "id": {
        "description": "Unique identifier for the user.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (14)
{
    "id": {
        "description": "Unique identifier for the user.",
        "type": "integer"
    },
    "username": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "check_username"
        ],
        "description": "Login name for the user.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Display name for the user.",
        "type": "string"
    },
    "first_name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "First name for the user.",
        "type": "string"
    },
    "last_name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Last name for the user.",
        "type": "string"
    },
    "email": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The email address for the user.",
        "type": "string",
        "format": "email"
    },
    "url": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "URL of the user.",
        "type": "string",
        "format": "uri"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Description of the user.",
        "type": "string"
    },
    "locale": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Locale for the user.",
        "type": "string",
        "enum": [
            "",
            "en_US"
        ]
    },
    "nickname": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "The nickname for the user.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the user.",
        "type": "string"
    },
    "roles": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Roles assigned to the user.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "check_user_password"
        ],
        "description": "Password for the user (never included).",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "persisted_preferences": {
                "type": "object",
                "title": "",
                "description": "",
                "default": [],
                "context": [
                    "edit"
                ],
                "properties": {
                    "_modified": {
                        "description": "The date and time the preferences were updated.",
                        "type": "string",
                        "format": "date-time",
                        "readonly": false
                    }
                },
                "additionalProperties": true
            }
        }
    }
}
DELETE
View Parameters (3)
{
    "id": {
        "description": "Unique identifier for the user.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as users do not support trashing."
    },
    "reassign": {
        "type": "integer",
        "description": "Reassign the deleted user's posts and links to this user ID.",
        "required": true,
        "sanitize_callback": [
            {},
            "check_reassign"
        ]
    }
}
/wp/v2/users/me
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (13)
{
    "username": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "check_username"
        ],
        "description": "Login name for the user.",
        "type": "string"
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Display name for the user.",
        "type": "string"
    },
    "first_name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "First name for the user.",
        "type": "string"
    },
    "last_name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Last name for the user.",
        "type": "string"
    },
    "email": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The email address for the user.",
        "type": "string",
        "format": "email"
    },
    "url": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "URL of the user.",
        "type": "string",
        "format": "uri"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Description of the user.",
        "type": "string"
    },
    "locale": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Locale for the user.",
        "type": "string",
        "enum": [
            "",
            "en_US"
        ]
    },
    "nickname": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "The nickname for the user.",
        "type": "string"
    },
    "slug": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_slug"
        ],
        "description": "An alphanumeric identifier for the user.",
        "type": "string"
    },
    "roles": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Roles assigned to the user.",
        "type": "array",
        "items": {
            "type": "string"
        }
    },
    "password": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "check_user_password"
        ],
        "description": "Password for the user (never included).",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "persisted_preferences": {
                "type": "object",
                "title": "",
                "description": "",
                "default": [],
                "context": [
                    "edit"
                ],
                "properties": {
                    "_modified": {
                        "description": "The date and time the preferences were updated.",
                        "type": "string",
                        "format": "date-time",
                        "readonly": false
                    }
                },
                "additionalProperties": true
            }
        }
    }
}
DELETE
View Parameters (2)
{
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Required to be true, as users do not support trashing."
    },
    "reassign": {
        "type": "integer",
        "description": "Reassign the deleted user's posts and links to this user ID.",
        "required": true,
        "sanitize_callback": [
            {},
            "check_reassign"
        ]
    }
}
/wp/v2/users/(?P<user_id>(?:[\d]+|me))/application-passwords
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST
View Parameters (2)
{
    "app_id": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.",
        "type": "string",
        "oneOf": [
            {
                "type": "string",
                "format": "uuid"
            },
            {
                "type": "string",
                "enum": [
                    ""
                ]
            }
        ]
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "required": true,
        "description": "The name of the application password.",
        "type": "string",
        "minLength": 1,
        "pattern": ".*\\S.*"
    }
}
DELETE
/wp/v2/users/(?P<user_id>(?:[\d]+|me))/application-passwords/introspect
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/users/(?P<user_id>(?:[\d]+|me))/application-passwords/(?P<uuid>[\w\-]+)
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (2)
{
    "app_id": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace.",
        "type": "string",
        "oneOf": [
            {
                "type": "string",
                "format": "uuid"
            },
            {
                "type": "string",
                "enum": [
                    ""
                ]
            }
        ]
    },
    "name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The name of the application password.",
        "type": "string",
        "minLength": 1,
        "pattern": ".*\\S.*"
    }
}
DELETE
/wp/v2/comments
GET
View Parameters (20)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "after": {
        "description": "Limit response to comments published after a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "author": {
        "description": "Limit result set to comments assigned to specific user IDs. Requires authorization.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    },
    "author_exclude": {
        "description": "Ensure result set excludes comments assigned to specific user IDs. Requires authorization.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    },
    "author_email": {
        "default": null,
        "description": "Limit result set to that from a specific author email. Requires authorization.",
        "format": "email",
        "type": "string"
    },
    "before": {
        "description": "Limit response to comments published before a given ISO8601 compliant date.",
        "type": "string",
        "format": "date-time"
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by comment attribute.",
        "type": "string",
        "default": "date_gmt",
        "enum": [
            "date",
            "date_gmt",
            "id",
            "include",
            "post",
            "parent",
            "type"
        ]
    },
    "parent": {
        "default": [],
        "description": "Limit result set to comments of specific parent IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    },
    "parent_exclude": {
        "default": [],
        "description": "Ensure result set excludes specific parent IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    },
    "post": {
        "default": [],
        "description": "Limit result set to comments assigned to specific post IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        }
    },
    "status": {
        "default": "approve",
        "description": "Limit result set to comments assigned a specific status. Requires authorization.",
        "sanitize_callback": "sanitize_key",
        "type": "string",
        "validate_callback": "rest_validate_request_arg"
    },
    "type": {
        "default": "comment",
        "description": "Limit result set to comments assigned a specific type. Requires authorization.",
        "sanitize_callback": "sanitize_key",
        "type": "string",
        "validate_callback": "rest_validate_request_arg"
    },
    "password": {
        "description": "The password for the post if it is password protected.",
        "type": "string"
    }
}
POST
View Parameters (13)
{
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the user object, if author was a user.",
        "type": "integer"
    },
    "author_email": {
        "validate_callback": null,
        "sanitize_callback": [
            {},
            "check_comment_author_email"
        ],
        "description": "Email address for the comment author.",
        "type": "string",
        "format": "email"
    },
    "author_ip": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "IP address for the comment author.",
        "type": "string",
        "format": "ip"
    },
    "author_name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Display name for the comment author.",
        "type": "string"
    },
    "author_url": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "URL for the comment author.",
        "type": "string",
        "format": "uri"
    },
    "author_user_agent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "User agent for the comment author.",
        "type": "string"
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The content for the comment.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Content for the comment, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML content for the comment, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the comment was published, in the site's timezone.",
        "type": "string",
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the comment was published, as GMT.",
        "type": "string",
        "format": "date-time"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": 0,
        "description": "The ID for the parent of the comment.",
        "type": "integer"
    },
    "post": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": 0,
        "description": "The ID of the associated post object.",
        "type": "integer"
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_key",
        "description": "State of the comment.",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_wp_note_status": {
                "type": "string",
                "title": "",
                "description": "Note resolution status",
                "default": "",
                "enum": [
                    "resolved",
                    "reopen"
                ]
            }
        }
    }
}
/wp/v2/comments/(?P<id>[\d]+)
GET
View Parameters (3)
{
    "id": {
        "description": "Unique identifier for the comment.",
        "type": "integer"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "password": {
        "description": "The password for the parent post of the comment (if the post is password protected).",
        "type": "string"
    }
}
POST PUT PATCH
View Parameters (14)
{
    "id": {
        "description": "Unique identifier for the comment.",
        "type": "integer"
    },
    "author": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the user object, if author was a user.",
        "type": "integer"
    },
    "author_email": {
        "validate_callback": null,
        "sanitize_callback": [
            {},
            "check_comment_author_email"
        ],
        "description": "Email address for the comment author.",
        "type": "string",
        "format": "email"
    },
    "author_ip": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "IP address for the comment author.",
        "type": "string",
        "format": "ip"
    },
    "author_name": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "Display name for the comment author.",
        "type": "string"
    },
    "author_url": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "URL for the comment author.",
        "type": "string",
        "format": "uri"
    },
    "author_user_agent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_text_field",
        "description": "User agent for the comment author.",
        "type": "string"
    },
    "content": {
        "validate_callback": null,
        "sanitize_callback": null,
        "description": "The content for the comment.",
        "type": "object",
        "properties": {
            "raw": {
                "description": "Content for the comment, as it exists in the database.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "rendered": {
                "description": "HTML content for the comment, transformed for display.",
                "type": "string",
                "context": [
                    "view",
                    "edit",
                    "embed"
                ],
                "readonly": true
            }
        }
    },
    "date": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the comment was published, in the site's timezone.",
        "type": "string",
        "format": "date-time"
    },
    "date_gmt": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The date the comment was published, as GMT.",
        "type": "string",
        "format": "date-time"
    },
    "parent": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID for the parent of the comment.",
        "type": "integer"
    },
    "post": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The ID of the associated post object.",
        "type": "integer"
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "sanitize_key",
        "description": "State of the comment.",
        "type": "string"
    },
    "meta": {
        "validate_callback": [
            {},
            "check_meta_is_array"
        ],
        "sanitize_callback": null,
        "description": "Meta fields.",
        "type": "object",
        "properties": {
            "_wp_note_status": {
                "type": "string",
                "title": "",
                "description": "Note resolution status",
                "default": "",
                "enum": [
                    "resolved",
                    "reopen"
                ]
            }
        }
    }
}
DELETE
View Parameters (3)
{
    "id": {
        "description": "Unique identifier for the comment.",
        "type": "integer"
    },
    "force": {
        "type": "boolean",
        "default": false,
        "description": "Whether to bypass Trash and force deletion."
    },
    "password": {
        "description": "The password for the parent post of the comment (if the post is password protected).",
        "type": "string"
    }
}
/wp/v2/search
GET
View Parameters (8)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "type": {
        "default": "post",
        "description": "Limit results to items of an object type.",
        "type": "string",
        "enum": [
            "post",
            "term",
            "post-format"
        ]
    },
    "subtype": {
        "default": "any",
        "description": "Limit results to items of one or more object subtypes.",
        "type": "array",
        "items": {
            "enum": [
                "post",
                "page",
                "home_video",
                "portfolio",
                "footer",
                "social_link",
                "category",
                "post_tag",
                "people-role",
                "portfolio-category",
                "portfolio-status",
                "any"
            ],
            "type": "string"
        },
        "sanitize_callback": [
            {},
            "sanitize_subtypes"
        ]
    },
    "exclude": {
        "description": "Ensure result set excludes specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    },
    "include": {
        "description": "Limit result set to specific IDs.",
        "type": "array",
        "items": {
            "type": "integer"
        },
        "default": []
    }
}
/wp/v2/block-renderer/(?P<name>[a-z0-9-]+/[a-z0-9-]+)
GET POST
View Parameters (4)
{
    "name": {
        "description": "Unique registered name for the block.",
        "type": "string"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "edit"
        ],
        "default": "view"
    },
    "attributes": {
        "description": "Attributes for the block.",
        "type": "object",
        "default": [],
        "validate_callback": {},
        "sanitize_callback": {}
    },
    "post_id": {
        "description": "ID of the post context.",
        "type": "integer"
    }
}
/wp/v2/block-types
GET
View Parameters (2)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "namespace": {
        "description": "Block namespace.",
        "type": "string"
    }
}
/wp/v2/block-types/(?P<namespace>[a-zA-Z0-9_-]+)
GET
View Parameters (2)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "namespace": {
        "description": "Block namespace.",
        "type": "string"
    }
}
/wp/v2/block-types/(?P<namespace>[a-zA-Z0-9_-]+)/(?P<name>[a-zA-Z0-9_-]+)
GET
View Parameters (3)
{
    "name": {
        "description": "Block name.",
        "type": "string"
    },
    "namespace": {
        "description": "Block namespace.",
        "type": "string"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/settings
GET
POST PUT PATCH
View Parameters (20)
{
    "title": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "Title",
        "description": "Site title.",
        "type": "string"
    },
    "description": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "Tagline",
        "description": "Site tagline.",
        "type": "string"
    },
    "url": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "Site URL.",
        "type": "string",
        "format": "uri"
    },
    "email": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "This address is used for admin purposes, like new user notification.",
        "type": "string",
        "format": "email"
    },
    "timezone": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "A city in the same timezone as you.",
        "type": "string"
    },
    "date_format": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "A date format for all date strings.",
        "type": "string"
    },
    "time_format": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "A time format for all time strings.",
        "type": "string"
    },
    "start_of_week": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "A day number of the week that the week should start on.",
        "type": "integer"
    },
    "language": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "WordPress locale code.",
        "type": "string"
    },
    "use_smilies": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "Convert emoticons like :-) and :-P to graphics on display.",
        "type": "boolean"
    },
    "default_category": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "Default post category.",
        "type": "integer"
    },
    "default_post_format": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "Default post format.",
        "type": "string"
    },
    "posts_per_page": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "Maximum posts per page",
        "description": "Blog pages show at most.",
        "type": "integer"
    },
    "show_on_front": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "Show on front",
        "description": "What to show on the front page",
        "type": "string"
    },
    "page_on_front": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "Page on front",
        "description": "The ID of the page that should be displayed on the front page",
        "type": "integer"
    },
    "page_for_posts": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "The ID of the page that should display the latest posts",
        "type": "integer"
    },
    "default_ping_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "",
        "description": "Allow link notifications from other blogs (pingbacks and trackbacks) on new articles.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "default_comment_status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "Allow comments on new posts",
        "description": "Allow people to submit comments on new posts.",
        "type": "string",
        "enum": [
            "open",
            "closed"
        ]
    },
    "site_logo": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "Logo",
        "description": "Site logo.",
        "type": "integer"
    },
    "site_icon": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": [
            {},
            "sanitize_callback"
        ],
        "title": "Icon",
        "description": "Site icon.",
        "type": "integer"
    }
}
/wp/v2/themes
GET
View Parameters (1)
{
    "status": {
        "description": "Limit result set to themes assigned one or more statuses.",
        "type": "array",
        "items": {
            "enum": [
                "active",
                "inactive"
            ],
            "type": "string"
        }
    }
}
/wp/v2/themes/(?P<stylesheet>[^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)
GET
View Parameters (1)
{
    "stylesheet": {
        "description": "The theme's stylesheet. This uniquely identifies the theme.",
        "type": "string",
        "sanitize_callback": [
            {},
            "_sanitize_stylesheet_callback"
        ]
    }
}
/wp/v2/plugins
GET
View Parameters (3)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    },
    "status": {
        "description": "Limits results to plugins with the given status.",
        "type": "array",
        "items": {
            "type": "string",
            "enum": [
                "inactive",
                "active"
            ]
        }
    }
}
POST
View Parameters (2)
{
    "slug": {
        "type": "string",
        "required": true,
        "description": "WordPress.org plugin directory slug.",
        "pattern": "[\\w\\-]+"
    },
    "status": {
        "description": "The plugin activation status.",
        "type": "string",
        "enum": [
            "inactive",
            "active"
        ],
        "default": "inactive"
    }
}
/wp/v2/plugins/(?P<plugin>[^.\/]+(?:\/[^.\/]+)?)
GET
View Parameters (2)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "plugin": {
        "type": "string",
        "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?",
        "validate_callback": [
            {},
            "validate_plugin_param"
        ],
        "sanitize_callback": [
            {},
            "sanitize_plugin_param"
        ]
    }
}
POST PUT PATCH
View Parameters (3)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "plugin": {
        "type": "string",
        "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?",
        "validate_callback": [
            {},
            "validate_plugin_param"
        ],
        "sanitize_callback": [
            {},
            "sanitize_plugin_param"
        ]
    },
    "status": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The plugin activation status.",
        "type": "string",
        "enum": [
            "inactive",
            "active"
        ]
    }
}
DELETE
View Parameters (2)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "plugin": {
        "type": "string",
        "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?",
        "validate_callback": [
            {},
            "validate_plugin_param"
        ],
        "sanitize_callback": [
            {},
            "sanitize_plugin_param"
        ]
    }
}
/wp/v2/sidebars
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/sidebars/(?P<id>[\w-]+)
GET
View Parameters (2)
{
    "id": {
        "description": "The id of a registered sidebar",
        "type": "string"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (1)
{
    "widgets": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Nested widgets.",
        "type": "array",
        "items": {
            "type": [
                "object",
                "string"
            ]
        }
    }
}
/wp/v2/widget-types
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/widget-types/(?P<id>[a-zA-Z0-9_-]+)
GET
View Parameters (2)
{
    "id": {
        "description": "The widget type id.",
        "type": "string"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/widget-types/(?P<id>[a-zA-Z0-9_-]+)/encode
POST
View Parameters (3)
{
    "id": {
        "description": "The widget type id.",
        "type": "string",
        "required": true
    },
    "instance": {
        "description": "Current instance settings of the widget.",
        "type": "object"
    },
    "form_data": {
        "description": "Serialized widget form data to encode into instance settings.",
        "type": "string",
        "sanitize_callback": {}
    }
}
/wp/v2/widget-types/(?P<id>[a-zA-Z0-9_-]+)/render
POST
View Parameters (2)
{
    "id": {
        "description": "The widget type id.",
        "type": "string",
        "required": true
    },
    "instance": {
        "description": "Current instance settings of the widget.",
        "type": "object"
    }
}
/wp/v2/widgets
GET
View Parameters (2)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "sidebar": {
        "description": "The sidebar to return widgets for.",
        "type": "string"
    }
}
POST
View Parameters (5)
{
    "id": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Unique identifier for the widget.",
        "type": "string"
    },
    "id_base": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The type of the widget. Corresponds to ID in widget-types endpoint.",
        "type": "string"
    },
    "sidebar": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "default": "wp_inactive_widgets",
        "required": true,
        "description": "The sidebar the widget belongs to.",
        "type": "string"
    },
    "instance": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Instance settings of the widget, if supported.",
        "type": "object",
        "properties": {
            "encoded": {
                "description": "Base64 encoded representation of the instance settings.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "hash": {
                "description": "Cryptographic hash of the instance settings.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "raw": {
                "description": "Unencoded instance settings, if supported.",
                "type": "object",
                "context": [
                    "edit"
                ]
            }
        }
    },
    "form_data": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": {},
        "description": "URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only.",
        "type": "string"
    }
}
/wp/v2/widgets/(?P<id>[\w\-]+)
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
POST PUT PATCH
View Parameters (5)
{
    "id": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Unique identifier for the widget.",
        "type": "string"
    },
    "id_base": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The type of the widget. Corresponds to ID in widget-types endpoint.",
        "type": "string"
    },
    "sidebar": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "The sidebar the widget belongs to.",
        "type": "string"
    },
    "instance": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": "rest_sanitize_request_arg",
        "description": "Instance settings of the widget, if supported.",
        "type": "object",
        "properties": {
            "encoded": {
                "description": "Base64 encoded representation of the instance settings.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "hash": {
                "description": "Cryptographic hash of the instance settings.",
                "type": "string",
                "context": [
                    "edit"
                ]
            },
            "raw": {
                "description": "Unencoded instance settings, if supported.",
                "type": "object",
                "context": [
                    "edit"
                ]
            }
        }
    },
    "form_data": {
        "validate_callback": "rest_validate_request_arg",
        "sanitize_callback": {},
        "description": "URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only.",
        "type": "string"
    }
}
DELETE
View Parameters (1)
{
    "force": {
        "description": "Whether to force removal of the widget, or move it to the inactive sidebar.",
        "type": "boolean"
    }
}
/wp/v2/block-directory/search
GET
View Parameters (4)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "term": {
        "description": "Limit result set to blocks matching the search term.",
        "type": "string",
        "required": true,
        "minLength": 1
    }
}
/wp/v2/pattern-directory/patterns
GET
View Parameters (10)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 100,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg",
        "minLength": 1
    },
    "category": {
        "description": "Limit results to those matching a category ID.",
        "type": "integer",
        "minimum": 1
    },
    "keyword": {
        "description": "Limit results to those matching a keyword ID.",
        "type": "integer",
        "minimum": 1
    },
    "slug": {
        "description": "Limit results to those matching a pattern (slug).",
        "type": "array"
    },
    "offset": {
        "description": "Offset the result set by a specific number of items.",
        "type": "integer"
    },
    "order": {
        "description": "Order sort attribute ascending or descending.",
        "type": "string",
        "default": "desc",
        "enum": [
            "asc",
            "desc"
        ]
    },
    "orderby": {
        "description": "Sort collection by post attribute.",
        "type": "string",
        "default": "date",
        "enum": [
            "author",
            "date",
            "id",
            "include",
            "modified",
            "parent",
            "relevance",
            "slug",
            "include_slugs",
            "title",
            "favorite_count"
        ]
    }
}
/wp/v2/block-patterns/patterns
GET
/wp/v2/block-patterns/categories
GET
/wp/v2/menu-locations
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/menu-locations/(?P<location>[\w-]+)
GET
View Parameters (2)
{
    "location": {
        "description": "An alphanumeric identifier for the menu location.",
        "type": "string"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/font-collections
GET
View Parameters (3)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    }
}
/wp/v2/font-collections/(?P<slug>[\/\w-]+)
GET
View Parameters (1)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
/wp/v2/icons
GET
View Parameters (4)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg",
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 10,
        "minimum": 1,
        "maximum": 100,
        "sanitize_callback": "absint",
        "validate_callback": "rest_validate_request_arg"
    },
    "search": {
        "description": "Limit results to those matching a string.",
        "type": "string",
        "sanitize_callback": "sanitize_text_field",
        "validate_callback": "rest_validate_request_arg"
    }
}
/wp/v2/icons/(?P<name>[a-z][a-z0-9-]*/[a-z][a-z0-9-]*)
GET
View Parameters (2)
{
    "name": {
        "description": "Icon name.",
        "type": "string"
    },
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    }
}
wp-site-health/v1
/wp-site-health/v1/tests/background-updates
GET
/wp-site-health/v1/tests/loopback-requests
GET
/wp-site-health/v1/tests/https-status
GET
/wp-site-health/v1/tests/dotorg-communication
GET
/wp-site-health/v1/tests/authorization-header
GET
/wp-site-health/v1/directory-sizes
GET
/wp-site-health/v1/tests/page-cache
GET
wp-block-editor/v1
/wp-block-editor/v1/url-details
GET
View Parameters (1)
{
    "url": {
        "required": true,
        "description": "The URL to process.",
        "validate_callback": "wp_http_validate_url",
        "sanitize_callback": "sanitize_url",
        "type": "string",
        "format": "uri"
    }
}
/wp-block-editor/v1/export
GET
/wp-block-editor/v1/navigation-fallback
GET
wp-abilities/v1
/wp-abilities/v1/categories
GET
View Parameters (3)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 50,
        "minimum": 1,
        "maximum": 100
    }
}
/wp-abilities/v1/categories/(?P<slug>[a-z0-9]+(?:-[a-z0-9]+)*)
GET
View Parameters (1)
{
    "slug": {
        "description": "Unique identifier for the ability category.",
        "type": "string",
        "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
    }
}
/wp-abilities/v1/abilities/(?P<name>[a-zA-Z0-9\-\/]+?)/run
GET POST PUT PATCH DELETE
View Parameters (2)
{
    "name": {
        "description": "Unique identifier for the ability.",
        "type": "string",
        "pattern": "^[a-zA-Z0-9\\-\\\/]+$"
    },
    "input": {
        "description": "Input parameters for the ability execution.",
        "type": [
            "integer",
            "number",
            "boolean",
            "string",
            "array",
            "object",
            "null"
        ],
        "default": null
    }
}
/wp-abilities/v1/abilities
GET
View Parameters (4)
{
    "context": {
        "description": "Scope under which the request is made; determines fields present in response.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg",
        "enum": [
            "view",
            "embed",
            "edit"
        ],
        "default": "view"
    },
    "page": {
        "description": "Current page of the collection.",
        "type": "integer",
        "default": 1,
        "minimum": 1
    },
    "per_page": {
        "description": "Maximum number of items to be returned in result set.",
        "type": "integer",
        "default": 50,
        "minimum": 1,
        "maximum": 100
    },
    "category": {
        "description": "Limit results to abilities in specific ability category.",
        "type": "string",
        "sanitize_callback": "sanitize_key",
        "validate_callback": "rest_validate_request_arg"
    }
}
/wp-abilities/v1/abilities/(?P<name>[a-zA-Z0-9\-\/]+)
GET
View Parameters (1)
{
    "name": {
        "description": "Unique identifier for the ability.",
        "type": "string",
        "pattern": "^[a-zA-Z0-9\\-\\\/]+$"
    }
}