# DERIVED by the API Evangelist enrichment pipeline from https://wmegrp.com/wp-json/ (2026-09-06). # WME Group / Endeavor does not publish an OpenAPI. Nothing here is invented: every path, # method and parameter is transcribed from the WordPress REST route-discovery document. openapi: 3.2.0 info: title: WME Group Content API (WordPress REST wp/v2) version: wp/v2 summary: Public read surface of wmegrp.com — the corporate site of WME Group, the company formerly named Endeavor Group Holdings. description: 'WME Group (the renamed Endeavor Group Holdings) publishes wmegrp.com on WordPress, which exposes the WordPress REST API at https://wmegrp.com/wp-json/. The wp/v2 namespace is anonymously readable and returns the company''s press releases and corporate announcements, marketing pages, media library, taxonomies and a site-wide search endpoint as JSON. This document was DERIVED mechanically by API Evangelist from the route-discovery document served at https://wmegrp.com/wp-json/ on 2026-09-06 — every path, method and parameter below is taken verbatim from that descriptor. WME Group / Endeavor publishes no OpenAPI definition of its own, and this is NOT a product API: it is the content API its CMS exposes. Write operations exist on these routes but require authentication (WordPress Application Passwords over HTTP Basic, or a logged-in cookie plus X-WP-Nonce); an anonymous write returns HTTP 401 rest_forbidden.' contact: name: WME Group url: https://wmegrp.com/ email: inquiries@wmegrp.com x-derived-by: API Evangelist enrichment pipeline x-derived-from: https://wmegrp.com/wp-json/ x-derived-on: '2026-09-06' x-provider-published: false servers: - url: https://wmegrp.com/wp-json description: Production tags: - name: BlockDirectory - name: BlockPatterns - name: BlockRenderer - name: BlockTypes - name: Blocks - name: Businesses - name: BusinessesCities - name: Categories - name: Comments - name: FontCollections - name: FontFamilies - name: GlobalStyles - name: IconCollections - name: Icons - name: Media - name: MenuItems - name: MenuLocations - name: Menus - name: Navigation - name: Pages - name: PatternDirectory - name: Plugins - name: Posts - name: RmContentEditor - name: Root - name: Search - name: Settings - name: Sidebars - name: Statuses - name: Tags - name: Taxonomies - name: TemplateParts - name: Templates - name: Themes - name: Types - name: Users - name: ViewConfig - name: WidgetTypes - name: Widgets - name: WpPatternCategory paths: /wp/v2: get: operationId: getRoot summary: GET /wp/v2 tags: - Root responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string default: view - name: namespace in: query required: false schema: type: string default: wp/v2 description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/block-directory/search: get: operationId: getBlockDirectorySearch summary: GET /wp/v2/block-directory/search tags: - BlockDirectory responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: term in: query required: true schema: type: string description: Limit result set to blocks matching the search term. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/block-patterns/categories: get: operationId: getBlockPatternsCategories summary: GET /wp/v2/block-patterns/categories tags: - BlockPatterns responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/block-patterns/patterns: get: operationId: getBlockPatternsPatterns summary: GET /wp/v2/block-patterns/patterns tags: - BlockPatterns responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/block-renderer/{name}: get: operationId: getBlockRendererByName summary: GET /wp/v2/block-renderer/{name} tags: - BlockRenderer responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: name in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: attributes in: query required: false schema: type: object default: &id001 [] description: Attributes for the block. - name: context in: query required: false schema: type: string enum: &id002 - edit default: view description: Scope under which the request is made; determines fields present in response. - name: post_id in: query required: false schema: type: integer description: ID of the post context. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createBlockRendererByName summary: POST /wp/v2/block-renderer/{name} tags: - BlockRenderer responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: name in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: attributes: type: object default: *id001 description: Attributes for the block. context: type: string enum: *id002 default: view description: Scope under which the request is made; determines fields present in response. post_id: type: integer description: ID of the post context. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/block-types: get: operationId: getBlockTypes summary: GET /wp/v2/block-types tags: - BlockTypes responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: namespace in: query required: false schema: type: string description: Block namespace. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/block-types/{namespace}: get: operationId: getBlockTypesByNamespace summary: GET /wp/v2/block-types/{namespace} tags: - BlockTypes responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: namespace in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/block-types/{namespace}/{name}: get: operationId: getBlockTypesByNamespaceByName summary: GET /wp/v2/block-types/{namespace}/{name} tags: - BlockTypes responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: namespace in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: name in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/blocks: get: operationId: getBlocks summary: GET /wp/v2/blocks tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - author - date - id - include - modified - parent - relevance - slug - include_slugs - title default: date description: Sort collection by post attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: search_columns in: query required: false schema: type: array items: type: string enum: - post_title - post_content - post_excerpt default: [] description: Array of column names to be searched. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to posts with one or more specific slugs. - name: status in: query required: false schema: type: array items: type: string enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - acf-disabled - any default: publish description: Limit result set to posts assigned one or more statuses. - name: tax_relation in: query required: false schema: type: string enum: - AND - OR description: Limit result set based on relationship between multiple taxonomies. - name: wp_pattern_category in: query required: false schema: type: object description: Limit result set to items with specific terms assigned in the wp_pattern_category taxonomy. - name: wp_pattern_category_exclude in: query required: false schema: type: object description: Limit result set to items except those with specific terms assigned in the wp_pattern_category taxonomy. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createBlocks summary: POST /wp/v2/blocks tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. meta: type: object description: Meta fields. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. wp_pattern_category: type: array items: type: integer description: The terms assigned to the post in the wp_pattern_category taxonomy. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/blocks/{id}: get: operationId: getBlocksById summary: GET /wp/v2/blocks/{id} tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: excerpt_length in: query required: false schema: type: integer description: Override the default excerpt length. - name: password in: query required: false schema: type: string description: The password for the post if it is password protected. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createBlocksById summary: POST /wp/v2/blocks/{id} tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. meta: type: object description: Meta fields. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id003 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. wp_pattern_category: type: array items: type: integer description: The terms assigned to the post in the wp_pattern_category taxonomy. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateBlocksById summary: PUT /wp/v2/blocks/{id} tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. meta: type: object description: Meta fields. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id003 description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. wp_pattern_category: type: array items: type: integer description: The terms assigned to the post in the wp_pattern_category taxonomy. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateBlocksById2 summary: PATCH /wp/v2/blocks/{id} tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. meta: type: object description: Meta fields. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id003 description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. wp_pattern_category: type: array items: type: integer description: The terms assigned to the post in the wp_pattern_category taxonomy. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteBlocksById summary: DELETE /wp/v2/blocks/{id} tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/blocks/{id}/autosaves: get: operationId: getBlocksByIdAutosaves summary: GET /wp/v2/blocks/{id}/autosaves tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createBlocksByIdAutosaves summary: POST /wp/v2/blocks/{id}/autosaves tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. meta: type: object description: Meta fields. parent: type: integer description: The ID for the parent of the autosave. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. wp_pattern_category: type: array items: type: integer description: The terms assigned to the post in the wp_pattern_category taxonomy. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/blocks/{parent}/autosaves/{id}: get: operationId: getBlocksByParentAutosavesById summary: GET /wp/v2/blocks/{parent}/autosaves/{id} tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/blocks/{parent}/revisions: get: operationId: getBlocksByParentRevisions summary: GET /wp/v2/blocks/{parent}/revisions tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - date - id - include - relevance - slug - include_slugs - title default: date description: Sort collection by object attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/blocks/{parent}/revisions/{id}: get: operationId: getBlocksByParentRevisionsById summary: GET /wp/v2/blocks/{parent}/revisions/{id} tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. delete: operationId: deleteBlocksByParentRevisionsById summary: DELETE /wp/v2/blocks/{parent}/revisions/{id} tags: - Blocks responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/businesses: get: operationId: getBusinesses summary: GET /wp/v2/businesses tags: - Businesses responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: businesses_cities in: query required: false schema: type: object description: Limit result set to items with specific terms assigned in the businesses_cities taxonomy. - name: businesses_cities_exclude in: query required: false schema: type: object description: Limit result set to items except those with specific terms assigned in the businesses_cities taxonomy. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - author - date - id - include - modified - parent - relevance - slug - include_slugs - title default: date description: Sort collection by post attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: parent in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to items with particular parent IDs. - name: parent_exclude in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to all items except those of a particular parent ID. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: search_columns in: query required: false schema: type: array items: type: string enum: - post_title - post_content - post_excerpt default: [] description: Array of column names to be searched. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to posts with one or more specific slugs. - name: status in: query required: false schema: type: array items: type: string enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - acf-disabled - any default: publish description: Limit result set to posts assigned one or more statuses. - name: tax_relation in: query required: false schema: type: string enum: - AND - OR description: Limit result set based on relationship between multiple taxonomies. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createBusinesses summary: POST /wp/v2/businesses tags: - Businesses responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: businesses_cities: type: array items: type: integer description: The terms assigned to the post in the businesses_cities taxonomy. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. parent: type: integer description: The ID for the parent of the post. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/businesses/{id}: get: operationId: getBusinessesById summary: GET /wp/v2/businesses/{id} tags: - Businesses responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: password in: query required: false schema: type: string description: The password for the post if it is password protected. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createBusinessesById summary: POST /wp/v2/businesses/{id} tags: - Businesses responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: businesses_cities: type: array items: type: integer description: The terms assigned to the post in the businesses_cities taxonomy. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. parent: type: integer description: The ID for the parent of the post. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id004 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateBusinessesById summary: PUT /wp/v2/businesses/{id} tags: - Businesses responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: businesses_cities: type: array items: type: integer description: The terms assigned to the post in the businesses_cities taxonomy. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. parent: type: integer description: The ID for the parent of the post. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id004 description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateBusinessesById2 summary: PATCH /wp/v2/businesses/{id} tags: - Businesses responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: businesses_cities: type: array items: type: integer description: The terms assigned to the post in the businesses_cities taxonomy. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. parent: type: integer description: The ID for the parent of the post. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id004 description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteBusinessesById summary: DELETE /wp/v2/businesses/{id} tags: - Businesses responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/businesses_cities: get: operationId: getBusinessesCities summary: GET /wp/v2/businesses_cities tags: - BusinessesCities responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: order in: query required: false schema: type: string enum: - asc - desc default: asc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - id - include - name - slug - include_slugs - term_group - description - count default: name description: Sort collection by term attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: post in: query required: false schema: type: integer default: null description: Limit result set to terms assigned to a specific post. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createBusinessesCities summary: POST /wp/v2/businesses_cities tags: - BusinessesCities responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. parent: type: integer description: The parent term ID. slug: type: string description: An alphanumeric identifier for the term unique to its type. required: - name security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/businesses_cities/{id}: get: operationId: getBusinessesCitiesById summary: GET /wp/v2/businesses_cities/{id} tags: - BusinessesCities responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createBusinessesCitiesById summary: POST /wp/v2/businesses_cities/{id} tags: - BusinessesCities responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. parent: type: integer description: The parent term ID. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateBusinessesCitiesById summary: PUT /wp/v2/businesses_cities/{id} tags: - BusinessesCities responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. parent: type: integer description: The parent term ID. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateBusinessesCitiesById2 summary: PATCH /wp/v2/businesses_cities/{id} tags: - BusinessesCities responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. parent: type: integer description: The parent term ID. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteBusinessesCitiesById summary: DELETE /wp/v2/businesses_cities/{id} tags: - BusinessesCities responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/categories: get: operationId: getCategories summary: GET /wp/v2/categories tags: - Categories responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: order in: query required: false schema: type: string enum: - asc - desc default: asc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - id - include - name - slug - include_slugs - term_group - description - count default: name description: Sort collection by term attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: post in: query required: false schema: type: integer default: null description: Limit result set to terms assigned to a specific post. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createCategories summary: POST /wp/v2/categories tags: - Categories responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. parent: type: integer description: The parent term ID. slug: type: string description: An alphanumeric identifier for the term unique to its type. required: - name security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/categories/{id}: get: operationId: getCategoriesById summary: GET /wp/v2/categories/{id} tags: - Categories responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createCategoriesById summary: POST /wp/v2/categories/{id} tags: - Categories responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. parent: type: integer description: The parent term ID. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateCategoriesById summary: PUT /wp/v2/categories/{id} tags: - Categories responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. parent: type: integer description: The parent term ID. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateCategoriesById2 summary: PATCH /wp/v2/categories/{id} tags: - Categories responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. parent: type: integer description: The parent term ID. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteCategoriesById summary: DELETE /wp/v2/categories/{id} tags: - Categories responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/comments: get: operationId: getComments summary: GET /wp/v2/comments tags: - Comments responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: after in: query required: false schema: type: string format: date-time description: Limit response to comments published after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array items: type: integer description: Limit result set to comments assigned to specific user IDs. Requires authorization. - name: author_email in: query required: false schema: type: string format: email default: null description: Limit result set to that from a specific author email. Requires authorization. - name: author_exclude in: query required: false schema: type: array items: type: integer description: Ensure result set excludes comments assigned to specific user IDs. Requires authorization. - name: before in: query required: false schema: type: string format: date-time description: Limit response to comments published before a given ISO8601 compliant date. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - date - date_gmt - id - include - post - parent - type default: date_gmt description: Sort collection by comment attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: parent in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to comments of specific parent IDs. - name: parent_exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific parent IDs. - name: password in: query required: false schema: type: string description: The password for the post if it is password protected. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: post in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to comments assigned to specific post IDs. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: status in: query required: false schema: type: string default: approve description: Limit result set to comments assigned a specific status. Requires authorization. - name: type in: query required: false schema: type: string default: comment description: Limit result set to comments assigned a specific type. Requires authorization. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createComments summary: POST /wp/v2/comments tags: - Comments responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID of the user object, if author was a user. author_email: type: string format: email description: Email address for the comment author. author_ip: type: string format: ip description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string format: uri description: URL for the comment author. author_user_agent: type: string description: User agent for the comment author. content: type: object description: The content for the comment. date: type: string format: date-time description: The date the comment was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the comment was published, as GMT. meta: type: object description: Meta fields. parent: type: integer default: 0 description: The ID for the parent of the comment. post: type: integer default: 0 description: The ID of the associated post object. status: type: string description: State of the comment. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/comments/{id}: get: operationId: getCommentsById summary: GET /wp/v2/comments/{id} tags: - Comments responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: password in: query required: false schema: type: string description: The password for the parent post of the comment (if the post is password protected). description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createCommentsById summary: POST /wp/v2/comments/{id} tags: - Comments responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID of the user object, if author was a user. author_email: type: string format: email description: Email address for the comment author. author_ip: type: string format: ip description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string format: uri description: URL for the comment author. author_user_agent: type: string description: User agent for the comment author. content: type: object description: The content for the comment. date: type: string format: date-time description: The date the comment was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the comment was published, as GMT. meta: type: object description: Meta fields. parent: type: integer description: The ID for the parent of the comment. post: type: integer description: The ID of the associated post object. status: type: string description: State of the comment. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateCommentsById summary: PUT /wp/v2/comments/{id} tags: - Comments responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID of the user object, if author was a user. author_email: type: string format: email description: Email address for the comment author. author_ip: type: string format: ip description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string format: uri description: URL for the comment author. author_user_agent: type: string description: User agent for the comment author. content: type: object description: The content for the comment. date: type: string format: date-time description: The date the comment was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the comment was published, as GMT. meta: type: object description: Meta fields. parent: type: integer description: The ID for the parent of the comment. post: type: integer description: The ID of the associated post object. status: type: string description: State of the comment. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateCommentsById2 summary: PATCH /wp/v2/comments/{id} tags: - Comments responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID of the user object, if author was a user. author_email: type: string format: email description: Email address for the comment author. author_ip: type: string format: ip description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string format: uri description: URL for the comment author. author_user_agent: type: string description: User agent for the comment author. content: type: object description: The content for the comment. date: type: string format: date-time description: The date the comment was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the comment was published, as GMT. meta: type: object description: Meta fields. parent: type: integer description: The ID for the parent of the comment. post: type: integer description: The ID of the associated post object. status: type: string description: State of the comment. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteCommentsById summary: DELETE /wp/v2/comments/{id} tags: - Comments responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. - name: password in: query required: false schema: type: string description: The password for the parent post of the comment (if the post is password protected). security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/font-collections: get: operationId: getFontCollections summary: GET /wp/v2/font-collections tags: - FontCollections responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/font-collections/{slug}: get: operationId: getFontCollectionsBySlug summary: GET /wp/v2/font-collections/{slug} tags: - FontCollections responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: slug in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/font-families: get: operationId: getFontFamilies summary: GET /wp/v2/font-families tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - id - include default: id description: Sort collection by post attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to posts with one or more specific slugs. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createFontFamilies summary: POST /wp/v2/font-families tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: font_family_settings: type: string description: font-family declaration in theme.json format, encoded as a string. theme_json_version: type: integer default: 3 minimum: 2 maximum: 3 description: Version of the theme.json schema used for the typography settings. required: - font_family_settings security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/font-families/{font_family_id}/font-faces: get: operationId: getFontFamiliesByFontFamilyIdFontFaces summary: GET /wp/v2/font-families/{font_family_id}/font-faces tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: font_family_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - id - include default: id description: Sort collection by post attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createFontFamiliesByFontFamilyIdFontFaces summary: POST /wp/v2/font-families/{font_family_id}/font-faces tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: font_family_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: font_face_settings: type: string description: font-face declaration in theme.json format, encoded as a string. theme_json_version: type: integer default: 3 minimum: 2 maximum: 3 description: Version of the theme.json schema used for the typography settings. required: - font_face_settings security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/font-families/{font_family_id}/font-faces/{id}: get: operationId: getFontFamiliesByFontFamilyIdFontFacesById summary: GET /wp/v2/font-families/{font_family_id}/font-faces/{id} tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: font_family_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. delete: operationId: deleteFontFamiliesByFontFamilyIdFontFacesById summary: DELETE /wp/v2/font-families/{font_family_id}/font-faces/{id} tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: font_family_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/font-families/{id}: get: operationId: getFontFamiliesById summary: GET /wp/v2/font-families/{id} tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createFontFamiliesById summary: POST /wp/v2/font-families/{id} tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: font_family_settings: type: string description: font-family declaration in theme.json format, encoded as a string. theme_json_version: type: integer default: 3 minimum: 2 maximum: 3 description: Version of the theme.json schema used for the typography settings. required: - font_family_settings security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateFontFamiliesById summary: PUT /wp/v2/font-families/{id} tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: font_family_settings: type: string description: font-family declaration in theme.json format, encoded as a string. theme_json_version: type: integer default: 3 minimum: 2 maximum: 3 description: Version of the theme.json schema used for the typography settings. required: - font_family_settings security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateFontFamiliesById2 summary: PATCH /wp/v2/font-families/{id} tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: font_family_settings: type: string description: font-family declaration in theme.json format, encoded as a string. theme_json_version: type: integer default: 3 minimum: 2 maximum: 3 description: Version of the theme.json schema used for the typography settings. required: - font_family_settings security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteFontFamiliesById summary: DELETE /wp/v2/font-families/{id} tags: - FontFamilies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/global-styles/{id}: get: operationId: getGlobalStylesById summary: GET /wp/v2/global-styles/{id} tags: - GlobalStyles responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createGlobalStylesById summary: POST /wp/v2/global-styles/{id} tags: - GlobalStyles responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: settings: type: object description: Global settings. styles: type: object description: Global styles. title: type: object description: Title of the global styles variation. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateGlobalStylesById summary: PUT /wp/v2/global-styles/{id} tags: - GlobalStyles responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: settings: type: object description: Global settings. styles: type: object description: Global styles. title: type: object description: Title of the global styles variation. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateGlobalStylesById2 summary: PATCH /wp/v2/global-styles/{id} tags: - GlobalStyles responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: settings: type: object description: Global settings. styles: type: object description: Global styles. title: type: object description: Title of the global styles variation. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/global-styles/{parent}/revisions: get: operationId: getGlobalStylesByParentRevisions summary: GET /wp/v2/global-styles/{parent}/revisions tags: - GlobalStyles responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/global-styles/{parent}/revisions/{id}: get: operationId: getGlobalStylesByParentRevisionsById summary: GET /wp/v2/global-styles/{parent}/revisions/{id} tags: - GlobalStyles responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/global-styles/themes/{stylesheet}\[\]\@_\-]+)/variations: get: operationId: getGlobalStylesThemesByStylesheet\[\]\@\]+)Variations summary: GET /wp/v2/global-styles/themes/{stylesheet}\[\]\@_\-]+)/variations tags: - GlobalStyles responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: stylesheet in: path required: true schema: type: string description: Path segment from the WordPress route pattern. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/global-styles/themes/{stylesheet}?): get: operationId: getGlobalStylesThemesByStylesheet?) summary: GET /wp/v2/global-styles/themes/{stylesheet}?) tags: - GlobalStyles responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: stylesheet in: path required: true schema: type: string description: Path segment from the WordPress route pattern. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/icon-collections: get: operationId: getIconCollections summary: GET /wp/v2/icon-collections tags: - IconCollections responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/icon-collections/{slug}?): get: operationId: getIconCollectionsBySlug?) summary: GET /wp/v2/icon-collections/{slug}?) tags: - IconCollections responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: slug in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/icons: get: operationId: getIcons summary: GET /wp/v2/icons tags: - Icons responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: collection in: query required: false schema: type: string description: Limit results to icons belonging to the given collection slug. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/icons/{collection}?): get: operationId: getIconsByCollection?) summary: GET /wp/v2/icons/{collection}?) tags: - Icons responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: collection in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/icons/{name}?/[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?): get: operationId: getIconsByName?[aZ09](?:[aZ09]*[aZ09])?) summary: GET /wp/v2/icons/{name}?/[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?) tags: - Icons responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: name in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/media: get: operationId: getMedia summary: GET /wp/v2/media tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to posts assigned to specific authors. - name: author_exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes posts assigned to specific authors. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: media_type in: query required: false schema: type: array items: type: string enum: - image - video - text - application - audio default: null description: Limit result set to attachments of a particular media type or media types. - name: mime_type in: query required: false schema: type: array items: type: string default: null description: Limit result set to attachments of a particular MIME type or MIME types. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - author - date - id - include - modified - parent - relevance - slug - include_slugs - title default: date description: Sort collection by post attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: parent in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to items with particular parent IDs. - name: parent_exclude in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to all items except those of a particular parent ID. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: search_columns in: query required: false schema: type: array items: type: string enum: - post_title - post_content - post_excerpt default: [] description: Array of column names to be searched. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to posts with one or more specific slugs. - name: status in: query required: false schema: type: array items: type: string enum: - inherit - private - trash default: inherit description: Limit result set to posts assigned one or more statuses. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createMedia summary: POST /wp/v2/media tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: alt_text: type: string description: Alternative text to display when attachment is not displayed. author: type: integer description: The ID for the author of the post. caption: type: object description: The attachment caption. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. convert_format: type: boolean default: true description: Whether to convert image formats. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. description: type: object description: The attachment description. featured_media: type: integer description: The ID of the featured media for the post. generate_sub_sizes: type: boolean default: true description: Whether to generate image sub sizes. meta: type: object description: Meta fields. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. post: type: integer description: The ID for the associated post of the attachment. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. url: type: string format: uri description: URL of an external image to sideload into the media library, instead of uploading a file. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/media/{id}: get: operationId: getMediaById summary: GET /wp/v2/media/{id} tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createMediaById summary: POST /wp/v2/media/{id} tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: alt_text: type: string description: Alternative text to display when attachment is not displayed. author: type: integer description: The ID for the author of the post. caption: type: object description: The attachment caption. comment_status: type: string enum: &id005 - open - closed description: Whether or not comments are open on the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. description: type: object description: The attachment description. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object description: Meta fields. ping_status: type: string enum: &id006 - open - closed description: Whether or not the post can be pinged. post: type: integer description: The ID for the associated post of the attachment. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id007 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateMediaById summary: PUT /wp/v2/media/{id} tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: alt_text: type: string description: Alternative text to display when attachment is not displayed. author: type: integer description: The ID for the author of the post. caption: type: object description: The attachment caption. comment_status: type: string enum: *id005 description: Whether or not comments are open on the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. description: type: object description: The attachment description. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object description: Meta fields. ping_status: type: string enum: *id006 description: Whether or not the post can be pinged. post: type: integer description: The ID for the associated post of the attachment. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id007 description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateMediaById2 summary: PATCH /wp/v2/media/{id} tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: alt_text: type: string description: Alternative text to display when attachment is not displayed. author: type: integer description: The ID for the author of the post. caption: type: object description: The attachment caption. comment_status: type: string enum: *id005 description: Whether or not comments are open on the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. description: type: object description: The attachment description. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object description: Meta fields. ping_status: type: string enum: *id006 description: Whether or not the post can be pinged. post: type: integer description: The ID for the associated post of the attachment. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id007 description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteMediaById summary: DELETE /wp/v2/media/{id} tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/media/{id}/edit: post: operationId: createMediaByIdEdit summary: POST /wp/v2/media/{id}/edit tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: alt_text: type: string description: Alternative text to display when attachment is not displayed. caption: type: object description: The attachment caption. description: type: object description: The attachment description. height: type: number minimum: 0 maximum: 100 description: 'As a percentage of the image, the height to crop the image to. DEPRECATED: Use `modifiers` instead.' modifiers: type: array items: type: object description: Array of image edits. post: type: integer description: The ID for the associated post of the attachment. rotation: type: integer minimum: 0 maximum: 360 description: 'The amount to rotate the image clockwise in degrees. DEPRECATED: Use `modifiers` instead.' src: type: string format: uri description: URL to the edited image file. title: type: object description: The title for the post. width: type: number minimum: 0 maximum: 100 description: 'As a percentage of the image, the width to crop the image to. DEPRECATED: Use `modifiers` instead.' x: type: number minimum: 0 maximum: 100 description: 'As a percentage of the image, the x position to start the crop from. DEPRECATED: Use `modifiers` instead.' y: type: number minimum: 0 maximum: 100 description: 'As a percentage of the image, the y position to start the crop from. DEPRECATED: Use `modifiers` instead.' required: - src security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/media/{id}/finalize: post: operationId: createMediaByIdFinalize summary: POST /wp/v2/media/{id}/finalize tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: sub_sizes: type: array items: type: object default: [] description: Array of sub-size metadata collected from sideload responses. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/media/{id}/post-process: post: operationId: createMediaByIdPostProcess summary: POST /wp/v2/media/{id}/post-process tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: action: type: string enum: - create-image-subsizes required: - action security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/media/{id}/sideload: post: operationId: createMediaByIdSideload summary: POST /wp/v2/media/{id}/sideload tags: - Media responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: convert_format: type: boolean default: true description: Whether to convert image formats. image_size: type: string description: Image size. Can be a single size name or an array of size names to register the same file under multiple sizes. required: - image_size security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/menu-items: get: operationId: getMenuItems summary: GET /wp/v2/menu-items tags: - MenuItems responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: menu_order in: query required: false schema: type: integer description: Limit result set to posts with a specific menu_order value. - name: menus in: query required: false schema: type: object description: Limit result set to items with specific terms assigned in the menus taxonomy. - name: menus_exclude in: query required: false schema: type: object description: Limit result set to items except those with specific terms assigned in the menus taxonomy. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: asc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - author - date - id - include - modified - parent - relevance - slug - include_slugs - title - menu_order default: menu_order description: Sort collection by object attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 100 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: search_columns in: query required: false schema: type: array items: type: string enum: - post_title - post_content - post_excerpt default: [] description: Array of column names to be searched. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to posts with one or more specific slugs. - name: status in: query required: false schema: type: array items: type: string enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - acf-disabled - any default: publish description: Limit result set to posts assigned one or more statuses. - name: tax_relation in: query required: false schema: type: string enum: - AND - OR description: Limit result set based on relationship between multiple taxonomies. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createMenuItems summary: POST /wp/v2/menu-items tags: - MenuItems responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: attr_title: type: string description: Text for the title attribute of the link element for this menu item. classes: type: array items: type: string description: Class names for the link element of this menu item. description: type: string description: The description of this menu item. menu_order: type: integer default: 1 minimum: 1 description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object description: Meta fields. object: type: string description: The type of object originally represented, such as "category", "post", or "attachment". object_id: type: integer default: 0 minimum: 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. parent: type: integer default: 0 minimum: 0 description: The ID for the parent of the object. status: type: string enum: - publish - future - draft - pending - private - acf-disabled default: publish description: A named status for the object. target: type: string enum: - _blank - '' description: The target attribute of the link element for this menu item. title: type: string description: The title for the object. type: type: string enum: - taxonomy - post_type - post_type_archive - custom default: custom description: The family of objects originally represented, such as "post_type" or "taxonomy". url: type: string format: uri description: The URL to which this menu item points. xfn: type: array items: type: string description: The XFN relationship expressed in the link of this menu item. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/menu-items/{id}: get: operationId: getMenuItemsById summary: GET /wp/v2/menu-items/{id} tags: - MenuItems responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createMenuItemsById summary: POST /wp/v2/menu-items/{id} tags: - MenuItems responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: attr_title: type: string description: Text for the title attribute of the link element for this menu item. classes: type: array items: type: string description: Class names for the link element of this menu item. description: type: string description: The description of this menu item. menu_order: type: integer minimum: 1 description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object description: Meta fields. object: type: string description: The type of object originally represented, such as "category", "post", or "attachment". object_id: type: integer minimum: 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. parent: type: integer minimum: 0 description: The ID for the parent of the object. status: type: string enum: &id008 - publish - future - draft - pending - private - acf-disabled description: A named status for the object. target: type: string enum: &id009 - _blank - '' description: The target attribute of the link element for this menu item. title: type: string description: The title for the object. type: type: string enum: &id010 - taxonomy - post_type - post_type_archive - custom description: The family of objects originally represented, such as "post_type" or "taxonomy". url: type: string format: uri description: The URL to which this menu item points. xfn: type: array items: type: string description: The XFN relationship expressed in the link of this menu item. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateMenuItemsById summary: PUT /wp/v2/menu-items/{id} tags: - MenuItems responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: attr_title: type: string description: Text for the title attribute of the link element for this menu item. classes: type: array items: type: string description: Class names for the link element of this menu item. description: type: string description: The description of this menu item. menu_order: type: integer minimum: 1 description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object description: Meta fields. object: type: string description: The type of object originally represented, such as "category", "post", or "attachment". object_id: type: integer minimum: 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. parent: type: integer minimum: 0 description: The ID for the parent of the object. status: type: string enum: *id008 description: A named status for the object. target: type: string enum: *id009 description: The target attribute of the link element for this menu item. title: type: string description: The title for the object. type: type: string enum: *id010 description: The family of objects originally represented, such as "post_type" or "taxonomy". url: type: string format: uri description: The URL to which this menu item points. xfn: type: array items: type: string description: The XFN relationship expressed in the link of this menu item. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateMenuItemsById2 summary: PATCH /wp/v2/menu-items/{id} tags: - MenuItems responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: attr_title: type: string description: Text for the title attribute of the link element for this menu item. classes: type: array items: type: string description: Class names for the link element of this menu item. description: type: string description: The description of this menu item. menu_order: type: integer minimum: 1 description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object description: Meta fields. object: type: string description: The type of object originally represented, such as "category", "post", or "attachment". object_id: type: integer minimum: 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. parent: type: integer minimum: 0 description: The ID for the parent of the object. status: type: string enum: *id008 description: A named status for the object. target: type: string enum: *id009 description: The target attribute of the link element for this menu item. title: type: string description: The title for the object. type: type: string enum: *id010 description: The family of objects originally represented, such as "post_type" or "taxonomy". url: type: string format: uri description: The URL to which this menu item points. xfn: type: array items: type: string description: The XFN relationship expressed in the link of this menu item. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteMenuItemsById summary: DELETE /wp/v2/menu-items/{id} tags: - MenuItems responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/menu-items/{id}/autosaves: get: operationId: getMenuItemsByIdAutosaves summary: GET /wp/v2/menu-items/{id}/autosaves tags: - MenuItems responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createMenuItemsByIdAutosaves summary: POST /wp/v2/menu-items/{id}/autosaves tags: - MenuItems responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: attr_title: type: string description: Text for the title attribute of the link element for this menu item. classes: type: array items: type: string description: Class names for the link element of this menu item. description: type: string description: The description of this menu item. menu_order: type: integer minimum: 1 description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object description: Meta fields. object: type: string description: The type of object originally represented, such as "category", "post", or "attachment". object_id: type: integer minimum: 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. parent: type: integer minimum: 0 description: The ID for the parent of the object. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the object. target: type: string enum: - _blank - '' description: The target attribute of the link element for this menu item. title: type: string description: The title for the object. type: type: string enum: - taxonomy - post_type - post_type_archive - custom description: The family of objects originally represented, such as "post_type" or "taxonomy". url: type: string format: uri description: The URL to which this menu item points. xfn: type: array items: type: string description: The XFN relationship expressed in the link of this menu item. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/menu-items/{parent}/autosaves/{id}: get: operationId: getMenuItemsByParentAutosavesById summary: GET /wp/v2/menu-items/{parent}/autosaves/{id} tags: - MenuItems responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/menu-locations: get: operationId: getMenuLocations summary: GET /wp/v2/menu-locations tags: - MenuLocations responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/menu-locations/{location}: get: operationId: getMenuLocationsByLocation summary: GET /wp/v2/menu-locations/{location} tags: - MenuLocations responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: location in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/menus: get: operationId: getMenus summary: GET /wp/v2/menus tags: - Menus responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: asc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - id - include - name - slug - include_slugs - term_group - description - count default: name description: Sort collection by term attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: post in: query required: false schema: type: integer default: null description: Limit result set to terms assigned to a specific post. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createMenus summary: POST /wp/v2/menus tags: - Menus responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: auto_add: type: boolean description: Whether to automatically add top level pages to this menu. description: type: string description: HTML description of the term. locations: type: array items: type: string description: The locations assigned to the menu. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. required: - name security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/menus/{id}: get: operationId: getMenusById summary: GET /wp/v2/menus/{id} tags: - Menus responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createMenusById summary: POST /wp/v2/menus/{id} tags: - Menus responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: auto_add: type: boolean description: Whether to automatically add top level pages to this menu. description: type: string description: HTML description of the term. locations: type: array items: type: string description: The locations assigned to the menu. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateMenusById summary: PUT /wp/v2/menus/{id} tags: - Menus responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: auto_add: type: boolean description: Whether to automatically add top level pages to this menu. description: type: string description: HTML description of the term. locations: type: array items: type: string description: The locations assigned to the menu. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateMenusById2 summary: PATCH /wp/v2/menus/{id} tags: - Menus responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: auto_add: type: boolean description: Whether to automatically add top level pages to this menu. description: type: string description: HTML description of the term. locations: type: array items: type: string description: The locations assigned to the menu. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteMenusById summary: DELETE /wp/v2/menus/{id} tags: - Menus responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/navigation: get: operationId: getNavigation summary: GET /wp/v2/navigation tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - author - date - id - include - modified - parent - relevance - slug - include_slugs - title default: date description: Sort collection by post attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: search_columns in: query required: false schema: type: array items: type: string enum: - post_title - post_content - post_excerpt default: [] description: Array of column names to be searched. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to posts with one or more specific slugs. - name: status in: query required: false schema: type: array items: type: string enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - acf-disabled - any default: publish description: Limit result set to posts assigned one or more statuses. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createNavigation summary: POST /wp/v2/navigation tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/navigation/{id}: get: operationId: getNavigationById summary: GET /wp/v2/navigation/{id} tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: password in: query required: false schema: type: string description: The password for the post if it is password protected. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createNavigationById summary: POST /wp/v2/navigation/{id} tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id011 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateNavigationById summary: PUT /wp/v2/navigation/{id} tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id011 description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateNavigationById2 summary: PATCH /wp/v2/navigation/{id} tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id011 description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteNavigationById summary: DELETE /wp/v2/navigation/{id} tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/navigation/{id}/autosaves: get: operationId: getNavigationByIdAutosaves summary: GET /wp/v2/navigation/{id}/autosaves tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createNavigationByIdAutosaves summary: POST /wp/v2/navigation/{id}/autosaves tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. parent: type: integer description: The ID for the parent of the autosave. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/navigation/{parent}/autosaves/{id}: get: operationId: getNavigationByParentAutosavesById summary: GET /wp/v2/navigation/{parent}/autosaves/{id} tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/navigation/{parent}/revisions: get: operationId: getNavigationByParentRevisions summary: GET /wp/v2/navigation/{parent}/revisions tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - date - id - include - relevance - slug - include_slugs - title default: date description: Sort collection by object attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/navigation/{parent}/revisions/{id}: get: operationId: getNavigationByParentRevisionsById summary: GET /wp/v2/navigation/{parent}/revisions/{id} tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. delete: operationId: deleteNavigationByParentRevisionsById summary: DELETE /wp/v2/navigation/{parent}/revisions/{id} tags: - Navigation responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/pages: get: operationId: getPages summary: GET /wp/v2/pages tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to posts assigned to specific authors. - name: author_exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes posts assigned to specific authors. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: menu_order in: query required: false schema: type: integer description: Limit result set to posts with a specific menu_order value. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - author - date - id - include - modified - parent - relevance - slug - include_slugs - title - menu_order default: date description: Sort collection by post attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: parent in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to items with particular parent IDs. - name: parent_exclude in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to all items except those of a particular parent ID. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: search_columns in: query required: false schema: type: array items: type: string enum: - post_title - post_content - post_excerpt default: [] description: Array of column names to be searched. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to posts with one or more specific slugs. - name: status in: query required: false schema: type: array items: type: string enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - acf-disabled - any default: publish description: Limit result set to posts assigned one or more statuses. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createPages summary: POST /wp/v2/pages tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the post. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. menu_order: type: integer description: The order of the post in relation to other posts. meta: type: object description: Meta fields. parent: type: integer description: The ID for the parent of the post. password: type: string description: A password to protect access to the content and excerpt. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/pages/{id}: get: operationId: getPagesById summary: GET /wp/v2/pages/{id} tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: excerpt_length in: query required: false schema: type: integer description: Override the default excerpt length. - name: password in: query required: false schema: type: string description: The password for the post if it is password protected. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createPagesById summary: POST /wp/v2/pages/{id} tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the post. comment_status: type: string enum: &id012 - open - closed description: Whether or not comments are open on the post. content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. menu_order: type: integer description: The order of the post in relation to other posts. meta: type: object description: Meta fields. parent: type: integer description: The ID for the parent of the post. password: type: string description: A password to protect access to the content and excerpt. ping_status: type: string enum: &id013 - open - closed description: Whether or not the post can be pinged. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id014 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updatePagesById summary: PUT /wp/v2/pages/{id} tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the post. comment_status: type: string enum: *id012 description: Whether or not comments are open on the post. content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. menu_order: type: integer description: The order of the post in relation to other posts. meta: type: object description: Meta fields. parent: type: integer description: The ID for the parent of the post. password: type: string description: A password to protect access to the content and excerpt. ping_status: type: string enum: *id013 description: Whether or not the post can be pinged. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id014 description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updatePagesById2 summary: PATCH /wp/v2/pages/{id} tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the post. comment_status: type: string enum: *id012 description: Whether or not comments are open on the post. content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. menu_order: type: integer description: The order of the post in relation to other posts. meta: type: object description: Meta fields. parent: type: integer description: The ID for the parent of the post. password: type: string description: A password to protect access to the content and excerpt. ping_status: type: string enum: *id013 description: Whether or not the post can be pinged. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id014 description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deletePagesById summary: DELETE /wp/v2/pages/{id} tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/pages/{id}/autosaves: get: operationId: getPagesByIdAutosaves summary: GET /wp/v2/pages/{id}/autosaves tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createPagesByIdAutosaves summary: POST /wp/v2/pages/{id}/autosaves tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the post. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. menu_order: type: integer description: The order of the post in relation to other posts. meta: type: object description: Meta fields. parent: type: integer description: The ID for the parent of the post. password: type: string description: A password to protect access to the content and excerpt. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/pages/{parent}/autosaves/{id}: get: operationId: getPagesByParentAutosavesById summary: GET /wp/v2/pages/{parent}/autosaves/{id} tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/pages/{parent}/revisions: get: operationId: getPagesByParentRevisions summary: GET /wp/v2/pages/{parent}/revisions tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - date - id - include - relevance - slug - include_slugs - title default: date description: Sort collection by object attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/pages/{parent}/revisions/{id}: get: operationId: getPagesByParentRevisionsById summary: GET /wp/v2/pages/{parent}/revisions/{id} tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. delete: operationId: deletePagesByParentRevisionsById summary: DELETE /wp/v2/pages/{parent}/revisions/{id} tags: - Pages responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/pattern-directory/patterns: get: operationId: getPatternDirectoryPatterns summary: GET /wp/v2/pattern-directory/patterns tags: - PatternDirectory responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: category in: query required: false schema: type: integer minimum: 1 description: Limit results to those matching a category ID. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: keyword in: query required: false schema: type: integer minimum: 1 description: Limit results to those matching a keyword ID. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - author - date - id - include - modified - parent - relevance - slug - include_slugs - title - favorite_count default: date description: Sort collection by post attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 100 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: slug in: query required: false schema: type: array items: type: string description: Limit results to those matching a pattern (slug). description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/plugins: get: operationId: getPlugins summary: GET /wp/v2/plugins tags: - Plugins responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: status in: query required: false schema: type: array items: type: string enum: - inactive - active description: Limits results to plugins with the given status. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createPlugins summary: POST /wp/v2/plugins tags: - Plugins responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: slug: type: string description: WordPress.org plugin directory slug. status: type: string enum: - inactive - active default: inactive description: The plugin activation status. required: - slug security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/plugins/{plugin}?): get: operationId: getPluginsByPlugin?) summary: GET /wp/v2/plugins/{plugin}?) tags: - Plugins responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: plugin in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createPluginsByPlugin?) summary: POST /wp/v2/plugins/{plugin}?) tags: - Plugins responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: plugin in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: context: type: string enum: &id015 - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. status: type: string enum: &id016 - inactive - active description: The plugin activation status. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updatePluginsByPlugin?) summary: PUT /wp/v2/plugins/{plugin}?) tags: - Plugins responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: plugin in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: context: type: string enum: *id015 default: view description: Scope under which the request is made; determines fields present in response. status: type: string enum: *id016 description: The plugin activation status. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updatePluginsByPlugin?)2 summary: PATCH /wp/v2/plugins/{plugin}?) tags: - Plugins responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: plugin in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: context: type: string enum: *id015 default: view description: Scope under which the request is made; determines fields present in response. status: type: string enum: *id016 description: The plugin activation status. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deletePluginsByPlugin?) summary: DELETE /wp/v2/plugins/{plugin}?) tags: - Plugins responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: plugin in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/posts: get: operationId: getPosts summary: GET /wp/v2/posts tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to posts assigned to specific authors. - name: author_exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes posts assigned to specific authors. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: categories in: query required: false schema: type: object description: Limit result set to items with specific terms assigned in the categories taxonomy. - name: categories_exclude in: query required: false schema: type: object description: Limit result set to items except those with specific terms assigned in the categories taxonomy. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: format in: query required: false schema: type: array items: type: string enum: - standard - aside - chat - gallery - link - image - quote - status - video - audio description: Limit result set to items assigned one or more given formats. - name: ignore_sticky in: query required: false schema: type: boolean default: true description: Whether to ignore sticky posts or not. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - author - date - id - include - modified - parent - relevance - slug - include_slugs - title default: date description: Sort collection by post attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: search_columns in: query required: false schema: type: array items: type: string enum: - post_title - post_content - post_excerpt default: [] description: Array of column names to be searched. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to posts with one or more specific slugs. - name: status in: query required: false schema: type: array items: type: string enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - acf-disabled - any default: publish description: Limit result set to posts assigned one or more statuses. - name: sticky in: query required: false schema: type: boolean description: Limit result set to items that are sticky. - name: tags in: query required: false schema: type: object description: Limit result set to items with specific terms assigned in the tags taxonomy. - name: tags_exclude in: query required: false schema: type: object description: Limit result set to items except those with specific terms assigned in the tags taxonomy. - name: tax_relation in: query required: false schema: type: string enum: - AND - OR description: Limit result set based on relationship between multiple taxonomies. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createPosts summary: POST /wp/v2/posts tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the post. categories: type: array items: type: integer description: The terms assigned to the post in the category taxonomy. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. meta: type: object description: Meta fields. password: type: string description: A password to protect access to the content and excerpt. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. sticky: type: boolean description: Whether or not the post should be treated as sticky. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/posts/{id}: get: operationId: getPostsById summary: GET /wp/v2/posts/{id} tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: excerpt_length in: query required: false schema: type: integer description: Override the default excerpt length. - name: password in: query required: false schema: type: string description: The password for the post if it is password protected. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createPostsById summary: POST /wp/v2/posts/{id} tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the post. categories: type: array items: type: integer description: The terms assigned to the post in the category taxonomy. comment_status: type: string enum: &id017 - open - closed description: Whether or not comments are open on the post. content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: &id018 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. meta: type: object description: Meta fields. password: type: string description: A password to protect access to the content and excerpt. ping_status: type: string enum: &id019 - open - closed description: Whether or not the post can be pinged. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id020 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. sticky: type: boolean description: Whether or not the post should be treated as sticky. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updatePostsById summary: PUT /wp/v2/posts/{id} tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the post. categories: type: array items: type: integer description: The terms assigned to the post in the category taxonomy. comment_status: type: string enum: *id017 description: Whether or not comments are open on the post. content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: *id018 description: The format for the post. meta: type: object description: Meta fields. password: type: string description: A password to protect access to the content and excerpt. ping_status: type: string enum: *id019 description: Whether or not the post can be pinged. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id020 description: A named status for the post. sticky: type: boolean description: Whether or not the post should be treated as sticky. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updatePostsById2 summary: PATCH /wp/v2/posts/{id} tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the post. categories: type: array items: type: integer description: The terms assigned to the post in the category taxonomy. comment_status: type: string enum: *id017 description: Whether or not comments are open on the post. content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: *id018 description: The format for the post. meta: type: object description: Meta fields. password: type: string description: A password to protect access to the content and excerpt. ping_status: type: string enum: *id019 description: Whether or not the post can be pinged. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id020 description: A named status for the post. sticky: type: boolean description: Whether or not the post should be treated as sticky. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deletePostsById summary: DELETE /wp/v2/posts/{id} tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/posts/{id}/autosaves: get: operationId: getPostsByIdAutosaves summary: GET /wp/v2/posts/{id}/autosaves tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createPostsByIdAutosaves summary: POST /wp/v2/posts/{id}/autosaves tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the post. categories: type: array items: type: integer description: The terms assigned to the post in the category taxonomy. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. meta: type: object description: Meta fields. parent: type: integer description: The ID for the parent of the autosave. password: type: string description: A password to protect access to the content and excerpt. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. sticky: type: boolean description: Whether or not the post should be treated as sticky. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. template: type: string description: The theme file to use to display the post. title: type: object description: The title for the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/posts/{parent}/autosaves/{id}: get: operationId: getPostsByParentAutosavesById summary: GET /wp/v2/posts/{parent}/autosaves/{id} tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/posts/{parent}/revisions: get: operationId: getPostsByParentRevisions summary: GET /wp/v2/posts/{parent}/revisions tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - date - id - include - relevance - slug - include_slugs - title default: date description: Sort collection by object attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/posts/{parent}/revisions/{id}: get: operationId: getPostsByParentRevisionsById summary: GET /wp/v2/posts/{parent}/revisions/{id} tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. delete: operationId: deletePostsByParentRevisionsById summary: DELETE /wp/v2/posts/{parent}/revisions/{id} tags: - Posts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/rm_content_editor: get: operationId: getRmContentEditor summary: GET /wp/v2/rm_content_editor tags: - RmContentEditor responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - author - date - id - include - modified - parent - relevance - slug - include_slugs - title default: date description: Sort collection by post attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: search_columns in: query required: false schema: type: array items: type: string enum: - post_title - post_content - post_excerpt default: [] description: Array of column names to be searched. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to posts with one or more specific slugs. - name: status in: query required: false schema: type: array items: type: string enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - acf-disabled - any default: publish description: Limit result set to posts assigned one or more statuses. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createRmContentEditor summary: POST /wp/v2/rm_content_editor tags: - RmContentEditor responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/rm_content_editor/{id}: get: operationId: getRmContentEditorById summary: GET /wp/v2/rm_content_editor/{id} tags: - RmContentEditor responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: password in: query required: false schema: type: string description: The password for the post if it is password protected. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createRmContentEditorById summary: POST /wp/v2/rm_content_editor/{id} tags: - RmContentEditor responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id021 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateRmContentEditorById summary: PUT /wp/v2/rm_content_editor/{id} tags: - RmContentEditor responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id021 description: A named status for the post. template: type: string description: The theme file to use to display the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateRmContentEditorById2 summary: PATCH /wp/v2/rm_content_editor/{id} tags: - RmContentEditor responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id021 description: A named status for the post. template: type: string description: The theme file to use to display the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteRmContentEditorById summary: DELETE /wp/v2/rm_content_editor/{id} tags: - RmContentEditor responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/rm_content_editor/{id}/autosaves: get: operationId: getRmContentEditorByIdAutosaves summary: GET /wp/v2/rm_content_editor/{id}/autosaves tags: - RmContentEditor responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createRmContentEditorByIdAutosaves summary: POST /wp/v2/rm_content_editor/{id}/autosaves tags: - RmContentEditor responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: content: type: object description: The content for the post. date: type: string format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the post was published, as GMT. parent: type: integer description: The ID for the parent of the autosave. password: type: string description: A password to protect access to the content and excerpt. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the post. template: type: string description: The theme file to use to display the post. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/rm_content_editor/{parent}/autosaves/{id}: get: operationId: getRmContentEditorByParentAutosavesById summary: GET /wp/v2/rm_content_editor/{parent}/autosaves/{id} tags: - RmContentEditor responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/search: get: operationId: getSearch summary: GET /wp/v2/search tags: - Search responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: subtype in: query required: false schema: type: array items: type: string enum: - post - page - category - post_tag - businesses_cities - any default: any description: Limit results to items of one or more object subtypes. - name: type in: query required: false schema: type: string enum: - post - term - post-format default: post description: Limit results to items of an object type. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/settings: get: operationId: getSettings summary: GET /wp/v2/settings tags: - Settings responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createSettings summary: POST /wp/v2/settings tags: - Settings responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: date_format: type: string description: A date format for all date strings. default_category: type: integer description: Default post category. default_comment_status: type: string enum: &id022 - open - closed description: Allow people to submit comments on new posts. default_ping_status: type: string enum: &id023 - open - closed description: Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. default_post_format: type: string description: Default post format. description: type: string description: Site tagline. email: type: string format: email description: This address is used for admin purposes, like new user notification. language: type: string description: WordPress locale code. page_for_posts: type: integer description: The ID of the page that should display the latest posts page_on_front: type: integer description: The ID of the page that should be displayed on the front page posts_per_page: type: integer description: Blog pages show at most. show_on_front: type: string description: What to show on the front page site_icon: type: integer description: Site icon. site_logo: type: integer description: Site logo. start_of_week: type: integer description: A day number of the week that the week should start on. time_format: type: string description: A time format for all time strings. timezone: type: string description: A city in the same timezone as you. title: type: string description: Site title. url: type: string format: uri description: Site URL. use_smilies: type: boolean description: Convert emoticons like :-) and :-P to graphics on display. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateSettings summary: PUT /wp/v2/settings tags: - Settings responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: date_format: type: string description: A date format for all date strings. default_category: type: integer description: Default post category. default_comment_status: type: string enum: *id022 description: Allow people to submit comments on new posts. default_ping_status: type: string enum: *id023 description: Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. default_post_format: type: string description: Default post format. description: type: string description: Site tagline. email: type: string format: email description: This address is used for admin purposes, like new user notification. language: type: string description: WordPress locale code. page_for_posts: type: integer description: The ID of the page that should display the latest posts page_on_front: type: integer description: The ID of the page that should be displayed on the front page posts_per_page: type: integer description: Blog pages show at most. show_on_front: type: string description: What to show on the front page site_icon: type: integer description: Site icon. site_logo: type: integer description: Site logo. start_of_week: type: integer description: A day number of the week that the week should start on. time_format: type: string description: A time format for all time strings. timezone: type: string description: A city in the same timezone as you. title: type: string description: Site title. url: type: string format: uri description: Site URL. use_smilies: type: boolean description: Convert emoticons like :-) and :-P to graphics on display. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateSettings2 summary: PATCH /wp/v2/settings tags: - Settings responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: date_format: type: string description: A date format for all date strings. default_category: type: integer description: Default post category. default_comment_status: type: string enum: *id022 description: Allow people to submit comments on new posts. default_ping_status: type: string enum: *id023 description: Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. default_post_format: type: string description: Default post format. description: type: string description: Site tagline. email: type: string format: email description: This address is used for admin purposes, like new user notification. language: type: string description: WordPress locale code. page_for_posts: type: integer description: The ID of the page that should display the latest posts page_on_front: type: integer description: The ID of the page that should be displayed on the front page posts_per_page: type: integer description: Blog pages show at most. show_on_front: type: string description: What to show on the front page site_icon: type: integer description: Site icon. site_logo: type: integer description: Site logo. start_of_week: type: integer description: A day number of the week that the week should start on. time_format: type: string description: A time format for all time strings. timezone: type: string description: A city in the same timezone as you. title: type: string description: Site title. url: type: string format: uri description: Site URL. use_smilies: type: boolean description: Convert emoticons like :-) and :-P to graphics on display. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/sidebars: get: operationId: getSidebars summary: GET /wp/v2/sidebars tags: - Sidebars responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/sidebars/{id}: get: operationId: getSidebarsById summary: GET /wp/v2/sidebars/{id} tags: - Sidebars responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createSidebarsById summary: POST /wp/v2/sidebars/{id} tags: - Sidebars responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: widgets: type: array items: type: object description: Nested widgets. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateSidebarsById summary: PUT /wp/v2/sidebars/{id} tags: - Sidebars responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: widgets: type: array items: type: object description: Nested widgets. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateSidebarsById2 summary: PATCH /wp/v2/sidebars/{id} tags: - Sidebars responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: widgets: type: array items: type: object description: Nested widgets. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/statuses: get: operationId: getStatuses summary: GET /wp/v2/statuses tags: - Statuses responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/statuses/{status}: get: operationId: getStatusesByStatus summary: GET /wp/v2/statuses/{status} tags: - Statuses responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: status in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/tags: get: operationId: getTags summary: GET /wp/v2/tags tags: - Tags responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: asc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - id - include - name - slug - include_slugs - term_group - description - count default: name description: Sort collection by term attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: post in: query required: false schema: type: integer default: null description: Limit result set to terms assigned to a specific post. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createTags summary: POST /wp/v2/tags tags: - Tags responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. required: - name security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/tags/{id}: get: operationId: getTagsById summary: GET /wp/v2/tags/{id} tags: - Tags responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createTagsById summary: POST /wp/v2/tags/{id} tags: - Tags responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateTagsById summary: PUT /wp/v2/tags/{id} tags: - Tags responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateTagsById2 summary: PATCH /wp/v2/tags/{id} tags: - Tags responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteTagsById summary: DELETE /wp/v2/tags/{id} tags: - Tags responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/taxonomies: get: operationId: getTaxonomies summary: GET /wp/v2/taxonomies tags: - Taxonomies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: type in: query required: false schema: type: string description: Limit results to taxonomies associated with a specific post type. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/taxonomies/{taxonomy}: get: operationId: getTaxonomiesByTaxonomy summary: GET /wp/v2/taxonomies/{taxonomy} tags: - Taxonomies responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: taxonomy in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/template-parts: get: operationId: getTemplateParts summary: GET /wp/v2/template-parts tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: area in: query required: false schema: type: string description: Limit to the specified template part area. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: post_type in: query required: false schema: type: string description: Post type to get the templates for. - name: wp_id in: query required: false schema: type: integer description: Limit to the specified post id. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createTemplateParts summary: POST /wp/v2/template-parts tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: area: type: string description: Where the template part is intended for use (header, footer, etc.) author: type: integer description: The ID for the author of the template. content: type: object default: '' description: Content of template. description: type: string default: '' description: Description of template. slug: type: string description: Unique slug identifying the template. status: type: string enum: - publish - future - draft - pending - private - acf-disabled default: publish description: Status of template. theme: type: string description: Theme identifier for the template. title: type: object default: '' description: Title of template. type: type: string description: Type of template. required: - slug security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/template-parts/{id}?)[\/\w%-]+): get: operationId: getTemplatePartsById?)[\\w%]+) summary: GET /wp/v2/template-parts/{id}?)[\/\w%-]+) tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createTemplatePartsById?)[\\w%]+) summary: POST /wp/v2/template-parts/{id}?)[\/\w%-]+) tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: area: type: string description: Where the template part is intended for use (header, footer, etc.) author: type: integer description: The ID for the author of the template. content: type: object description: Content of template. description: type: string description: Description of template. slug: type: string description: Unique slug identifying the template. status: type: string enum: &id024 - publish - future - draft - pending - private - acf-disabled description: Status of template. theme: type: string description: Theme identifier for the template. title: type: object description: Title of template. type: type: string description: Type of template. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateTemplatePartsById?)[\\w%]+) summary: PUT /wp/v2/template-parts/{id}?)[\/\w%-]+) tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: area: type: string description: Where the template part is intended for use (header, footer, etc.) author: type: integer description: The ID for the author of the template. content: type: object description: Content of template. description: type: string description: Description of template. slug: type: string description: Unique slug identifying the template. status: type: string enum: *id024 description: Status of template. theme: type: string description: Theme identifier for the template. title: type: object description: Title of template. type: type: string description: Type of template. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateTemplatePartsById?)[\\w%]+)2 summary: PATCH /wp/v2/template-parts/{id}?)[\/\w%-]+) tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: area: type: string description: Where the template part is intended for use (header, footer, etc.) author: type: integer description: The ID for the author of the template. content: type: object description: Content of template. description: type: string description: Description of template. slug: type: string description: Unique slug identifying the template. status: type: string enum: *id024 description: Status of template. theme: type: string description: Theme identifier for the template. title: type: object description: Title of template. type: type: string description: Type of template. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteTemplatePartsById?)[\\w%]+) summary: DELETE /wp/v2/template-parts/{id}?)[\/\w%-]+) tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/template-parts/{id}?)[\/\w%-]+)/autosaves: get: operationId: getTemplatePartsById?)[\\w%]+)Autosaves summary: GET /wp/v2/template-parts/{id}?)[\/\w%-]+)/autosaves tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createTemplatePartsById?)[\\w%]+)Autosaves summary: POST /wp/v2/template-parts/{id}?)[\/\w%-]+)/autosaves tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: area: type: string description: Where the template part is intended for use (header, footer, etc.) author: type: integer description: The ID for the author of the template. content: type: object description: Content of template. description: type: string description: Description of template. slug: type: string description: Unique slug identifying the template. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: Status of template. theme: type: string description: Theme identifier for the template. title: type: object description: Title of template. type: type: string description: Type of template. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/template-parts/{parent}?)[\/\w%-]+)/autosaves/{id}: get: operationId: getTemplatePartsByParent?)[\\w%]+)AutosavesById summary: GET /wp/v2/template-parts/{parent}?)[\/\w%-]+)/autosaves/{id} tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/template-parts/{parent}?)[\/\w%-]+)/revisions: get: operationId: getTemplatePartsByParent?)[\\w%]+)Revisions summary: GET /wp/v2/template-parts/{parent}?)[\/\w%-]+)/revisions tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - date - id - include - relevance - slug - include_slugs - title default: date description: Sort collection by object attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/template-parts/{parent}?)[\/\w%-]+)/revisions/{id}: get: operationId: getTemplatePartsByParent?)[\\w%]+)RevisionsById summary: GET /wp/v2/template-parts/{parent}?)[\/\w%-]+)/revisions/{id} tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. delete: operationId: deleteTemplatePartsByParent?)[\\w%]+)RevisionsById summary: DELETE /wp/v2/template-parts/{parent}?)[\/\w%-]+)/revisions/{id} tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/template-parts/lookup: get: operationId: getTemplatePartsLookup summary: GET /wp/v2/template-parts/lookup tags: - TemplateParts responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: is_custom in: query required: false schema: type: boolean description: Indicates if a template is custom or part of the template hierarchy - name: slug in: query required: true schema: type: string description: The slug of the template to get the fallback for - name: template_prefix in: query required: false schema: type: string 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` description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/templates: get: operationId: getTemplates summary: GET /wp/v2/templates tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: area in: query required: false schema: type: string description: Limit to the specified template part area. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: post_type in: query required: false schema: type: string description: Post type to get the templates for. - name: wp_id in: query required: false schema: type: integer description: Limit to the specified post id. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createTemplates summary: POST /wp/v2/templates tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the template. content: type: object default: '' description: Content of template. description: type: string default: '' description: Description of template. slug: type: string description: Unique slug identifying the template. status: type: string enum: - publish - future - draft - pending - private - acf-disabled default: publish description: Status of template. theme: type: string description: Theme identifier for the template. title: type: object default: '' description: Title of template. type: type: string description: Type of template. required: - slug security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/templates/{id}?)[\/\w%-]+): get: operationId: getTemplatesById?)[\\w%]+) summary: GET /wp/v2/templates/{id}?)[\/\w%-]+) tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createTemplatesById?)[\\w%]+) summary: POST /wp/v2/templates/{id}?)[\/\w%-]+) tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the template. content: type: object description: Content of template. description: type: string description: Description of template. slug: type: string description: Unique slug identifying the template. status: type: string enum: &id025 - publish - future - draft - pending - private - acf-disabled description: Status of template. theme: type: string description: Theme identifier for the template. title: type: object description: Title of template. type: type: string description: Type of template. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateTemplatesById?)[\\w%]+) summary: PUT /wp/v2/templates/{id}?)[\/\w%-]+) tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the template. content: type: object description: Content of template. description: type: string description: Description of template. slug: type: string description: Unique slug identifying the template. status: type: string enum: *id025 description: Status of template. theme: type: string description: Theme identifier for the template. title: type: object description: Title of template. type: type: string description: Type of template. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateTemplatesById?)[\\w%]+)2 summary: PATCH /wp/v2/templates/{id}?)[\/\w%-]+) tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the template. content: type: object description: Content of template. description: type: string description: Description of template. slug: type: string description: Unique slug identifying the template. status: type: string enum: *id025 description: Status of template. theme: type: string description: Theme identifier for the template. title: type: object description: Title of template. type: type: string description: Type of template. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteTemplatesById?)[\\w%]+) summary: DELETE /wp/v2/templates/{id}?)[\/\w%-]+) tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/templates/{id}?)[\/\w%-]+)/autosaves: get: operationId: getTemplatesById?)[\\w%]+)Autosaves summary: GET /wp/v2/templates/{id}?)[\/\w%-]+)/autosaves tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createTemplatesById?)[\\w%]+)Autosaves summary: POST /wp/v2/templates/{id}?)[\/\w%-]+)/autosaves tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: author: type: integer description: The ID for the author of the template. content: type: object description: Content of template. description: type: string description: Description of template. slug: type: string description: Unique slug identifying the template. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: Status of template. theme: type: string description: Theme identifier for the template. title: type: object description: Title of template. type: type: string description: Type of template. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/templates/{parent}?)[\/\w%-]+)/autosaves/{id}: get: operationId: getTemplatesByParent?)[\\w%]+)AutosavesById summary: GET /wp/v2/templates/{parent}?)[\/\w%-]+)/autosaves/{id} tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/templates/{parent}?)[\/\w%-]+)/revisions: get: operationId: getTemplatesByParent?)[\\w%]+)Revisions summary: GET /wp/v2/templates/{parent}?)[\/\w%-]+)/revisions tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: desc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - date - id - include - relevance - slug - include_slugs - title default: date description: Sort collection by object attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/templates/{parent}?)[\/\w%-]+)/revisions/{id}: get: operationId: getTemplatesByParent?)[\\w%]+)RevisionsById summary: GET /wp/v2/templates/{parent}?)[\/\w%-]+)/revisions/{id} tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. delete: operationId: deleteTemplatesByParent?)[\\w%]+)RevisionsById summary: DELETE /wp/v2/templates/{parent}?)[\/\w%-]+)/revisions/{id} tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: parent in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/templates/lookup: get: operationId: getTemplatesLookup summary: GET /wp/v2/templates/lookup tags: - Templates responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: is_custom in: query required: false schema: type: boolean description: Indicates if a template is custom or part of the template hierarchy - name: slug in: query required: true schema: type: string description: The slug of the template to get the fallback for - name: template_prefix in: query required: false schema: type: string 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` description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/themes: get: operationId: getThemes summary: GET /wp/v2/themes tags: - Themes responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: status in: query required: false schema: type: array items: type: string enum: - active - inactive description: Limit result set to themes assigned one or more statuses. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/themes/{stylesheet}?): get: operationId: getThemesByStylesheet?) summary: GET /wp/v2/themes/{stylesheet}?) tags: - Themes responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: stylesheet in: path required: true schema: type: string description: Path segment from the WordPress route pattern. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/types: get: operationId: getTypes summary: GET /wp/v2/types tags: - Types responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/types/{type}: get: operationId: getTypesByType summary: GET /wp/v2/types/{type} tags: - Types responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: type in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/users: get: operationId: getUsers summary: GET /wp/v2/users tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: capabilities in: query required: false schema: type: array items: type: string description: Limit result set to users matching at least one specific capability provided. Accepts csv list or single capability. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: has_published_posts in: query required: false schema: type: boolean description: Limit result set to users who have published posts. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: asc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - id - include - name - registered_date - slug - include_slugs - email - url default: name description: Sort collection by user attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: roles in: query required: false schema: type: array items: type: string description: Limit result set to users matching at least one specific role provided. Accepts csv list or single role. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: search_columns in: query required: false schema: type: array items: type: string enum: - email - name - id - username - slug default: [] description: Array of column names to be searched. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to users with one or more specific slugs. - name: who in: query required: false schema: type: string enum: - authors description: Limit result set to users who are considered authors. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createUsers summary: POST /wp/v2/users tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: Description of the user. email: type: string format: email description: The email address for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. locale: type: string enum: - '' - en_US description: Locale for the user. meta: type: object description: Meta fields. name: type: string description: Display name for the user. nickname: type: string description: The nickname for the user. password: type: string description: Password for the user (never included). roles: type: array items: type: string description: Roles assigned to the user. slug: type: string description: An alphanumeric identifier for the user. url: type: string format: uri description: URL of the user. username: type: string description: Login name for the user. required: - email - password - username security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/users/{id}: get: operationId: getUsersById summary: GET /wp/v2/users/{id} tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createUsersById summary: POST /wp/v2/users/{id} tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: Description of the user. email: type: string format: email description: The email address for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. locale: type: string enum: &id026 - '' - en_US description: Locale for the user. meta: type: object description: Meta fields. name: type: string description: Display name for the user. nickname: type: string description: The nickname for the user. password: type: string description: Password for the user (never included). roles: type: array items: type: string description: Roles assigned to the user. slug: type: string description: An alphanumeric identifier for the user. url: type: string format: uri description: URL of the user. username: type: string description: Login name for the user. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateUsersById summary: PUT /wp/v2/users/{id} tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: Description of the user. email: type: string format: email description: The email address for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. locale: type: string enum: *id026 description: Locale for the user. meta: type: object description: Meta fields. name: type: string description: Display name for the user. nickname: type: string description: The nickname for the user. password: type: string description: Password for the user (never included). roles: type: array items: type: string description: Roles assigned to the user. slug: type: string description: An alphanumeric identifier for the user. url: type: string format: uri description: URL of the user. username: type: string description: Login name for the user. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateUsersById2 summary: PATCH /wp/v2/users/{id} tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: Description of the user. email: type: string format: email description: The email address for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. locale: type: string enum: *id026 description: Locale for the user. meta: type: object description: Meta fields. name: type: string description: Display name for the user. nickname: type: string description: The nickname for the user. password: type: string description: Password for the user (never included). roles: type: array items: type: string description: Roles assigned to the user. slug: type: string description: An alphanumeric identifier for the user. url: type: string format: uri description: URL of the user. username: type: string description: Login name for the user. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteUsersById summary: DELETE /wp/v2/users/{id} tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as users do not support trashing. - name: reassign in: query required: true schema: type: integer description: Reassign the deleted user's posts and links to this user ID. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/users/{user_id})/application-passwords: get: operationId: getUsersByUserId)ApplicationPasswords summary: GET /wp/v2/users/{user_id})/application-passwords tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: user_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createUsersByUserId)ApplicationPasswords summary: POST /wp/v2/users/{user_id})/application-passwords tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: user_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: app_id: type: string 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. name: type: string description: The name of the application password. required: - name security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteUsersByUserId)ApplicationPasswords summary: DELETE /wp/v2/users/{user_id})/application-passwords tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: user_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/users/{user_id})/application-passwords/{uuid}: get: operationId: getUsersByUserId)ApplicationPasswordsByUuid summary: GET /wp/v2/users/{user_id})/application-passwords/{uuid} tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: user_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: uuid in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createUsersByUserId)ApplicationPasswordsByUuid summary: POST /wp/v2/users/{user_id})/application-passwords/{uuid} tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: user_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: uuid in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: app_id: type: string 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. name: type: string description: The name of the application password. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateUsersByUserId)ApplicationPasswordsByUuid summary: PUT /wp/v2/users/{user_id})/application-passwords/{uuid} tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: user_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: uuid in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: app_id: type: string 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. name: type: string description: The name of the application password. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateUsersByUserId)ApplicationPasswordsByUuid2 summary: PATCH /wp/v2/users/{user_id})/application-passwords/{uuid} tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: user_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: uuid in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: app_id: type: string 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. name: type: string description: The name of the application password. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteUsersByUserId)ApplicationPasswordsByUuid summary: DELETE /wp/v2/users/{user_id})/application-passwords/{uuid} tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: user_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: uuid in: path required: true schema: type: string description: Path segment from the WordPress route pattern. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/users/{user_id})/application-passwords/introspect: get: operationId: getUsersByUserId)ApplicationPasswordsIntrospect summary: GET /wp/v2/users/{user_id})/application-passwords/introspect tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: user_id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/users/me: get: operationId: getUsersMe summary: GET /wp/v2/users/me tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createUsersMe summary: POST /wp/v2/users/me tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: Description of the user. email: type: string format: email description: The email address for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. locale: type: string enum: &id027 - '' - en_US description: Locale for the user. meta: type: object description: Meta fields. name: type: string description: Display name for the user. nickname: type: string description: The nickname for the user. password: type: string description: Password for the user (never included). roles: type: array items: type: string description: Roles assigned to the user. slug: type: string description: An alphanumeric identifier for the user. url: type: string format: uri description: URL of the user. username: type: string description: Login name for the user. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateUsersMe summary: PUT /wp/v2/users/me tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: Description of the user. email: type: string format: email description: The email address for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. locale: type: string enum: *id027 description: Locale for the user. meta: type: object description: Meta fields. name: type: string description: Display name for the user. nickname: type: string description: The nickname for the user. password: type: string description: Password for the user (never included). roles: type: array items: type: string description: Roles assigned to the user. slug: type: string description: An alphanumeric identifier for the user. url: type: string format: uri description: URL of the user. username: type: string description: Login name for the user. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateUsersMe2 summary: PATCH /wp/v2/users/me tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: Description of the user. email: type: string format: email description: The email address for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. locale: type: string enum: *id027 description: Locale for the user. meta: type: object description: Meta fields. name: type: string description: Display name for the user. nickname: type: string description: The nickname for the user. password: type: string description: Password for the user (never included). roles: type: array items: type: string description: Roles assigned to the user. slug: type: string description: An alphanumeric identifier for the user. url: type: string format: uri description: URL of the user. username: type: string description: Login name for the user. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteUsersMe summary: DELETE /wp/v2/users/me tags: - Users responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as users do not support trashing. - name: reassign in: query required: true schema: type: integer description: Reassign the deleted user's posts and links to this user ID. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/view-config: get: operationId: getViewConfig summary: GET /wp/v2/view-config tags: - ViewConfig responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: kind in: query required: true schema: type: string description: Entity kind. - name: name in: query required: true schema: type: string description: Entity name. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/widget-types: get: operationId: getWidgetTypes summary: GET /wp/v2/widget-types tags: - WidgetTypes responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/widget-types/{id}: get: operationId: getWidgetTypesById summary: GET /wp/v2/widget-types/{id} tags: - WidgetTypes responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. /wp/v2/widget-types/{id}/encode: post: operationId: createWidgetTypesByIdEncode summary: POST /wp/v2/widget-types/{id}/encode tags: - WidgetTypes responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: form_data: type: string description: Serialized widget form data to encode into instance settings. instance: type: object description: Current instance settings of the widget. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/widget-types/{id}/render: post: operationId: createWidgetTypesByIdRender summary: POST /wp/v2/widget-types/{id}/render tags: - WidgetTypes responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: instance: type: object description: Current instance settings of the widget. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/widgets: get: operationId: getWidgets summary: GET /wp/v2/widgets tags: - Widgets responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: sidebar in: query required: false schema: type: string description: The sidebar to return widgets for. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createWidgets summary: POST /wp/v2/widgets tags: - Widgets responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: form_data: type: string description: URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only. id: type: string description: Unique identifier for the widget. id_base: type: string description: The type of the widget. Corresponds to ID in widget-types endpoint. instance: type: object description: Instance settings of the widget, if supported. sidebar: type: string default: wp_inactive_widgets description: The sidebar the widget belongs to. required: - sidebar security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/widgets/{id}: get: operationId: getWidgetsById summary: GET /wp/v2/widgets/{id} tags: - Widgets responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createWidgetsById summary: POST /wp/v2/widgets/{id} tags: - Widgets responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: form_data: type: string description: URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only. id_base: type: string description: The type of the widget. Corresponds to ID in widget-types endpoint. instance: type: object description: Instance settings of the widget, if supported. sidebar: type: string description: The sidebar the widget belongs to. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateWidgetsById summary: PUT /wp/v2/widgets/{id} tags: - Widgets responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: form_data: type: string description: URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only. id_base: type: string description: The type of the widget. Corresponds to ID in widget-types endpoint. instance: type: object description: Instance settings of the widget, if supported. sidebar: type: string description: The sidebar the widget belongs to. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateWidgetsById2 summary: PATCH /wp/v2/widgets/{id} tags: - Widgets responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: form_data: type: string description: URL-encoded form data from the widget admin form. Used to update a widget that does not support instance. Write only. id_base: type: string description: The type of the widget. Corresponds to ID in widget-types endpoint. instance: type: object description: Instance settings of the widget, if supported. sidebar: type: string description: The sidebar the widget belongs to. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteWidgetsById summary: DELETE /wp/v2/widgets/{id} tags: - Widgets responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean description: Whether to force removal of the widget, or move it to the inactive sidebar. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/wp_pattern_category: get: operationId: getWpPatternCategory summary: GET /wp/v2/wp_pattern_category tags: - WpPatternCategory responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: exclude in: query required: false schema: type: array items: type: integer default: [] description: Ensure result set excludes specific IDs. - name: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: include in: query required: false schema: type: array items: type: integer default: [] description: Limit result set to specific IDs. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. - name: order in: query required: false schema: type: string enum: - asc - desc default: asc description: Order sort attribute ascending or descending. - name: orderby in: query required: false schema: type: string enum: - id - include - name - slug - include_slugs - term_group - description - count default: name description: Sort collection by term attribute. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: post in: query required: false schema: type: integer default: null description: Limit result set to terms assigned to a specific post. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createWpPatternCategory summary: POST /wp/v2/wp_pattern_category tags: - WpPatternCategory responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. required: - name security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. /wp/v2/wp_pattern_category/{id}: get: operationId: getWpPatternCategoryById summary: GET /wp/v2/wp_pattern_category/{id} tags: - WpPatternCategory responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. description: Read operation. Observed anonymously readable on wmegrp.com for the public content collections. post: operationId: createWpPatternCategoryById summary: POST /wp/v2/wp_pattern_category/{id} tags: - WpPatternCategory responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. put: operationId: updateWpPatternCategoryById summary: PUT /wp/v2/wp_pattern_category/{id} tags: - WpPatternCategory responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. patch: operationId: updateWpPatternCategoryById2 summary: PATCH /wp/v2/wp_pattern_category/{id} tags: - WpPatternCategory responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. requestBody: required: true content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. meta: type: object description: Meta fields. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. delete: operationId: deleteWpPatternCategoryById summary: DELETE /wp/v2/wp_pattern_category/{id} tags: - WpPatternCategory responses: '200': description: Success. JSON payload as returned by the WordPress REST API. content: application/json: schema: type: - object - array '400': description: rest_invalid_param — a parameter failed validation. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '401': description: rest_forbidden — authentication required or insufficient capability. content: application/json: schema: $ref: '#/components/schemas/WPRestError' '404': description: rest_no_route / rest_post_invalid_id — no matching route or object. content: application/json: schema: $ref: '#/components/schemas/WPRestError' parameters: - name: id in: path required: true schema: type: string description: Path segment from the WordPress route pattern. - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. security: - applicationPassword: [] description: Write operation. Requires an authenticated WordPress user with the capability the route enforces; anonymous callers receive HTTP 401 rest_forbidden. components: securitySchemes: applicationPassword: type: http scheme: basic description: WordPress Application Passwords over HTTP Basic. Issued from /wp-admin/authorize-application.php by an authenticated site user; not available to the public. schemas: WPRestError: type: object description: The WordPress REST API error envelope. Not RFC 9457 problem+json. properties: code: type: string description: Machine-readable error slug, e.g. rest_forbidden, rest_no_route, rest_invalid_param. message: type: string description: Human-readable message. data: type: object properties: status: type: integer description: HTTP status code, repeated in the body. required: - code - message