# Derived by the API Evangelist enrichment pipeline from Greif's own WordPress REST # route-discovery document (https://www.greif.com/wp-json/, HTTP 200, 2026-09-12). # Nothing in this file was invented: every path, method, parameter, default and enum # is a mechanical transform of that document. See openapi/greif-wp-json-discovery.json # for the verbatim source. openapi: 3.1.0 info: title: Greif WordPress REST API (wp/v2) version: wp/v2 description: The WordPress REST API namespace `wp/v2` as served by Greif at https://www.greif.com/wp-json/. Greif publishes no first-party developer documentation for this surface; it is the WordPress content API exposed by the corporate site (WP Engine hosted), extended with Greif's OWN custom post types and taxonomies — product, product_category, product_material, product_capacity, product_attribute, product_market, product_tag, regional_availability, market, technology, sustainability_items, wpsl_stores, wpsl_store_category, store_location, sales-contact, leadership-council, visibility and greif_custom_table — which makes the packaging product catalog, its material/capacity/market taxonomies and the facility locator anonymously readable as JSON. Every path, method and parameter in this document was mechanically derived from Greif's own route-discovery document at https://www.greif.com/wp-json/ (HTTP 200, 554 routes across 39 namespaces, 182 of them wp/v2, fetched 2026-09-12). Nothing here was authored by hand. Anonymous reads were verified on /wp/v2/product, /wp/v2/product_category, /wp/v2/product_material, /wp/v2/product_capacity, /wp/v2/product_attribute, /wp/v2/product_market, /wp/v2/regional_availability, /wp/v2/market, /wp/v2/technology, /wp/v2/sustainability_items, /wp/v2/wpsl_stores, /wp/v2/store_location, /wp/v2/posts, /wp/v2/types, /wp/v2/taxonomies and /wp/v2/search; /wp/v2/settings and /wp/v2/users return 401. Write operations require authentication (WordPress application passwords or a cookie + X-WP-Nonce) and are not open to third parties. contact: name: Greif url: https://www.greif.com/contact/ termsOfService: https://www.greif.com/terms-and-conditions/ externalDocs: description: Upstream WordPress REST API handbook (not authored by Greif) url: https://developer.wordpress.org/rest-api/ servers: - url: https://www.greif.com/wp-json description: Greif corporate site WordPress REST API tags: - name: block-directory - name: block-patterns - name: block-renderer - name: block-types - name: blocks - name: categories - name: comments - name: e-floating-buttons - name: elementor_library - name: elementor_snippet - name: font-collections - name: font-families - name: global-styles - name: greif_custom_table - name: index - name: jet-menu - name: leadership-council - name: market - name: media - name: menu-items - name: menu-locations - name: menus - name: navigation - name: pages - name: pattern-directory - name: plugins - name: posts - name: product - name: product_attribute - name: product_capacity - name: product_category - name: product_market - name: product_material - name: product_tag - name: regional_availability - name: sales-contact - name: search - name: settings - name: sidebars - name: statuses - name: store_location - name: sustainability_items - name: tags - name: taxonomies - name: technology - name: template-parts - name: templates - name: themes - name: types - name: users - name: visibility - name: widget-types - name: widgets - name: wp_pattern_category - name: wpsl_store_category - name: wpsl_stores paths: /wp/v2: get: operationId: getWpV2 summary: GET /wp/v2 tags: - index parameters: - name: namespace in: query required: false schema: default: wp/v2 - name: context in: query required: false schema: default: view responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-directory/search: get: operationId: getWpV2BlockDirectorySearch summary: GET /wp/v2/block-directory/search tags: - block-directory 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-patterns/categories: get: operationId: getWpV2BlockPatternsCategories summary: GET /wp/v2/block-patterns/categories tags: - block-patterns responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-patterns/patterns: get: operationId: getWpV2BlockPatternsPatterns summary: GET /wp/v2/block-patterns/patterns tags: - block-patterns responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-renderer/{name}: get: operationId: getWpV2BlockRendererByName summary: GET /wp/v2/block-renderer/{name} tags: - block-renderer parameters: - name: name in: path required: true schema: type: string - name: context in: query required: false schema: type: string enum: &id001 - edit default: view description: Scope under which the request is made; determines fields present in response. - name: attributes in: query required: false schema: type: object default: &id002 [] description: Attributes for the block. - name: post_id in: query required: false schema: type: integer description: ID of the post context. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2BlockRendererByName summary: POST /wp/v2/block-renderer/{name} tags: - block-renderer parameters: - name: name in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: context: type: string enum: *id001 default: view description: Scope under which the request is made; determines fields present in response. attributes: type: object default: *id002 description: Attributes for the block. post_id: type: integer description: ID of the post context. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-types: get: operationId: getWpV2BlockTypes summary: GET /wp/v2/block-types tags: - block-types 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-types/{namespace}: get: operationId: getWpV2BlockTypesByNamespace summary: GET /wp/v2/block-types/{namespace} tags: - block-types parameters: - name: namespace in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-types/{namespace}/{name}: get: operationId: getWpV2BlockTypesByNamespaceByName summary: GET /wp/v2/block-types/{namespace}/{name} tags: - block-types parameters: - name: namespace in: path required: true schema: type: string - name: name in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks: get: operationId: getWpV2Blocks summary: GET /wp/v2/blocks tags: - blocks 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string 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: {} 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: {} description: Limit result set to items except those with specific terms assigned in the wp_pattern_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Blocks summary: POST /wp/v2/blocks tags: - blocks requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. excerpt: type: object description: The excerpt for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. wp_pattern_category: type: array items: type: integer description: The terms assigned to the post in the wp_pattern_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks/{id}: get: operationId: getWpV2BlocksById summary: GET /wp/v2/blocks/{id} tags: - blocks parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2BlocksById summary: POST /wp/v2/blocks/{id} tags: - blocks parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. excerpt: type: object description: The excerpt for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. wp_pattern_category: type: array items: type: integer description: The terms assigned to the post in the wp_pattern_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2BlocksById summary: PUT /wp/v2/blocks/{id} tags: - blocks parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. excerpt: type: object description: The excerpt for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. wp_pattern_category: type: array items: type: integer description: The terms assigned to the post in the wp_pattern_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2BlocksById summary: PATCH /wp/v2/blocks/{id} tags: - blocks parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. excerpt: type: object description: The excerpt for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. wp_pattern_category: type: array items: type: integer description: The terms assigned to the post in the wp_pattern_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2BlocksById summary: DELETE /wp/v2/blocks/{id} tags: - blocks parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks/{id}/autosaves: get: operationId: getWpV2BlocksByIdAutosaves summary: GET /wp/v2/blocks/{id}/autosaves tags: - blocks parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2BlocksByIdAutosaves summary: POST /wp/v2/blocks/{id}/autosaves tags: - blocks parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. excerpt: type: object description: The excerpt for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. wp_pattern_category: type: array items: type: integer description: The terms assigned to the post in the wp_pattern_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks/{parent}/autosaves/{id}: get: operationId: getWpV2BlocksByParentAutosavesById summary: GET /wp/v2/blocks/{parent}/autosaves/{id} tags: - blocks parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks/{parent}/revisions: get: operationId: getWpV2BlocksByParentRevisions summary: GET /wp/v2/blocks/{parent}/revisions tags: - blocks parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks/{parent}/revisions/{id}: get: operationId: getWpV2BlocksByParentRevisionsById summary: GET /wp/v2/blocks/{parent}/revisions/{id} tags: - blocks parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2BlocksByParentRevisionsById summary: DELETE /wp/v2/blocks/{parent}/revisions/{id} tags: - blocks parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/categories: get: operationId: getWpV2Categories summary: GET /wp/v2/categories tags: - categories 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Categories summary: POST /wp/v2/categories tags: - categories requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/categories/{id}: get: operationId: getWpV2CategoriesById summary: GET /wp/v2/categories/{id} tags: - categories parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2CategoriesById summary: POST /wp/v2/categories/{id} tags: - categories parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2CategoriesById summary: PUT /wp/v2/categories/{id} tags: - categories parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2CategoriesById summary: PATCH /wp/v2/categories/{id} tags: - categories parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2CategoriesById summary: DELETE /wp/v2/categories/{id} tags: - categories parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/comments: get: operationId: getWpV2Comments summary: GET /wp/v2/comments tags: - comments 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string 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_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: author_email in: query required: false schema: type: string description: Limit result set to that from a specific author email. Requires authorization. - name: before in: query required: false schema: type: string description: Limit response to comments published before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: parent in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to comments of specific parent IDs. - name: parent_exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific parent IDs. - name: post in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to comments assigned to specific post IDs. - 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. - name: password in: query required: false schema: type: string description: The password for the post if it is password protected. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Comments summary: POST /wp/v2/comments tags: - comments requestBody: required: false 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 description: Email address for the comment author. author_ip: type: string description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string 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 description: The date the comment was published, in the site's timezone. date_gmt: type: string description: The date the comment was published, as GMT. 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. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/comments/{id}: get: operationId: getWpV2CommentsById summary: GET /wp/v2/comments/{id} tags: - comments parameters: - name: id in: path required: true schema: type: string - 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). responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2CommentsById summary: POST /wp/v2/comments/{id} tags: - comments parameters: - name: id in: path required: true schema: type: string requestBody: required: false 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 description: Email address for the comment author. author_ip: type: string description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string 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 description: The date the comment was published, in the site's timezone. date_gmt: type: string description: The date the comment was published, as GMT. 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. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2CommentsById summary: PUT /wp/v2/comments/{id} tags: - comments parameters: - name: id in: path required: true schema: type: string requestBody: required: false 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 description: Email address for the comment author. author_ip: type: string description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string 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 description: The date the comment was published, in the site's timezone. date_gmt: type: string description: The date the comment was published, as GMT. 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. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2CommentsById summary: PATCH /wp/v2/comments/{id} tags: - comments parameters: - name: id in: path required: true schema: type: string requestBody: required: false 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 description: Email address for the comment author. author_ip: type: string description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string 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 description: The date the comment was published, in the site's timezone. date_gmt: type: string description: The date the comment was published, as GMT. 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. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2CommentsById summary: DELETE /wp/v2/comments/{id} tags: - comments parameters: - name: id in: path required: true schema: type: string - 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). responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/e-floating-buttons: get: operationId: getWpV2EFloatingButtons summary: GET /wp/v2/e-floating-buttons tags: - e-floating-buttons 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to posts assigned to specific authors. - name: author_exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes posts assigned to specific authors. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2EFloatingButtons summary: POST /wp/v2/e-floating-buttons tags: - e-floating-buttons requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. menu_order: type: integer description: The order of the post in relation to other posts. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/e-floating-buttons/{id}: get: operationId: getWpV2EFloatingButtonsById summary: GET /wp/v2/e-floating-buttons/{id} tags: - e-floating-buttons parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2EFloatingButtonsById summary: POST /wp/v2/e-floating-buttons/{id} tags: - e-floating-buttons parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: &id005 - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: &id006 - open - closed description: Whether or not the post can be pinged. menu_order: type: integer description: The order of the post in relation to other posts. format: type: string enum: &id007 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2EFloatingButtonsById summary: PUT /wp/v2/e-floating-buttons/{id} tags: - e-floating-buttons parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: *id005 description: Whether or not comments are open on the post. ping_status: type: string enum: *id006 description: Whether or not the post can be pinged. menu_order: type: integer description: The order of the post in relation to other posts. format: type: string enum: *id007 description: The format for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2EFloatingButtonsById summary: PATCH /wp/v2/e-floating-buttons/{id} tags: - e-floating-buttons parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: *id005 description: Whether or not comments are open on the post. ping_status: type: string enum: *id006 description: Whether or not the post can be pinged. menu_order: type: integer description: The order of the post in relation to other posts. format: type: string enum: *id007 description: The format for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2EFloatingButtonsById summary: DELETE /wp/v2/e-floating-buttons/{id} tags: - e-floating-buttons parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/e-floating-buttons/{id}/autosaves: get: operationId: getWpV2EFloatingButtonsByIdAutosaves summary: GET /wp/v2/e-floating-buttons/{id}/autosaves tags: - e-floating-buttons parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2EFloatingButtonsByIdAutosaves summary: POST /wp/v2/e-floating-buttons/{id}/autosaves tags: - e-floating-buttons parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. menu_order: type: integer description: The order of the post in relation to other posts. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/e-floating-buttons/{parent}/autosaves/{id}: get: operationId: getWpV2EFloatingButtonsByParentAutosavesById summary: GET /wp/v2/e-floating-buttons/{parent}/autosaves/{id} tags: - e-floating-buttons parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/e-floating-buttons/{parent}/revisions: get: operationId: getWpV2EFloatingButtonsByParentRevisions summary: GET /wp/v2/e-floating-buttons/{parent}/revisions tags: - e-floating-buttons parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/e-floating-buttons/{parent}/revisions/{id}: get: operationId: getWpV2EFloatingButtonsByParentRevisionsById summary: GET /wp/v2/e-floating-buttons/{parent}/revisions/{id} tags: - e-floating-buttons parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2EFloatingButtonsByParentRevisionsById summary: DELETE /wp/v2/e-floating-buttons/{parent}/revisions/{id} tags: - e-floating-buttons parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/elementor_library: get: operationId: getWpV2ElementorLibrary summary: GET /wp/v2/elementor_library tags: - elementor_library 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to posts assigned to specific authors. - name: author_exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes posts assigned to specific authors. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ElementorLibrary summary: POST /wp/v2/elementor_library tags: - elementor_library requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. author: type: integer description: The ID for the author of 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/elementor_library/{id}: get: operationId: getWpV2ElementorLibraryById summary: GET /wp/v2/elementor_library/{id} tags: - elementor_library parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ElementorLibraryById summary: POST /wp/v2/elementor_library/{id} tags: - elementor_library parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id008 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: &id009 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2ElementorLibraryById summary: PUT /wp/v2/elementor_library/{id} tags: - elementor_library parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id008 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: *id009 description: The format for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2ElementorLibraryById summary: PATCH /wp/v2/elementor_library/{id} tags: - elementor_library parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id008 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: *id009 description: The format for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ElementorLibraryById summary: DELETE /wp/v2/elementor_library/{id} tags: - elementor_library parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/elementor_library/{parent}/revisions: get: operationId: getWpV2ElementorLibraryByParentRevisions summary: GET /wp/v2/elementor_library/{parent}/revisions tags: - elementor_library parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/elementor_library/{parent}/revisions/{id}: get: operationId: getWpV2ElementorLibraryByParentRevisionsById summary: GET /wp/v2/elementor_library/{parent}/revisions/{id} tags: - elementor_library parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ElementorLibraryByParentRevisionsById summary: DELETE /wp/v2/elementor_library/{parent}/revisions/{id} tags: - elementor_library parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/elementor_snippet: get: operationId: getWpV2ElementorSnippet summary: GET /wp/v2/elementor_snippet tags: - elementor_snippet 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to posts assigned to specific authors. - name: author_exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes posts assigned to specific authors. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ElementorSnippet summary: POST /wp/v2/elementor_snippet tags: - elementor_snippet requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/elementor_snippet/{id}: get: operationId: getWpV2ElementorSnippetById summary: GET /wp/v2/elementor_snippet/{id} tags: - elementor_snippet parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ElementorSnippetById summary: POST /wp/v2/elementor_snippet/{id} tags: - elementor_snippet parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id010 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2ElementorSnippetById summary: PUT /wp/v2/elementor_snippet/{id} tags: - elementor_snippet parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id010 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2ElementorSnippetById summary: PATCH /wp/v2/elementor_snippet/{id} tags: - elementor_snippet parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id010 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ElementorSnippetById summary: DELETE /wp/v2/elementor_snippet/{id} tags: - elementor_snippet parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-collections: get: operationId: getWpV2FontCollections summary: GET /wp/v2/font-collections tags: - font-collections 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 description: Maximum number of items to be returned in result set. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-collections/{slug}: get: operationId: getWpV2FontCollectionsBySlug summary: GET /wp/v2/font-collections/{slug} tags: - font-collections parameters: - name: slug in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-families: get: operationId: getWpV2FontFamilies summary: GET /wp/v2/font-families tags: - font-families 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 description: Maximum number of items to be returned in result set. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: slug in: query required: false schema: type: array items: type: string description: Limit result set to posts with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2FontFamilies summary: POST /wp/v2/font-families tags: - font-families requestBody: required: false content: application/json: schema: type: object properties: theme_json_version: type: integer default: 3 description: Version of the theme.json schema used for the typography settings. font_family_settings: type: string description: font-family declaration in theme.json format, encoded as a string. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-families/{font_family_id}/font-faces: get: operationId: getWpV2FontFamiliesByFontFamilyIdFontFaces summary: GET /wp/v2/font-families/{font_family_id}/font-faces tags: - font-families parameters: - name: font_family_id in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 description: Maximum number of items to be returned in result set. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2FontFamiliesByFontFamilyIdFontFaces summary: POST /wp/v2/font-families/{font_family_id}/font-faces tags: - font-families parameters: - name: font_family_id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: theme_json_version: type: integer default: 3 description: Version of the theme.json schema used for the typography settings. font_face_settings: type: string description: font-face declaration in theme.json format, encoded as a string. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-families/{font_family_id}/font-faces/{id}: get: operationId: getWpV2FontFamiliesByFontFamilyIdFontFacesById summary: GET /wp/v2/font-families/{font_family_id}/font-faces/{id} tags: - font-families parameters: - name: font_family_id in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2FontFamiliesByFontFamilyIdFontFacesById summary: DELETE /wp/v2/font-families/{font_family_id}/font-faces/{id} tags: - font-families parameters: - name: font_family_id in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-families/{id}: get: operationId: getWpV2FontFamiliesById summary: GET /wp/v2/font-families/{id} tags: - font-families parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2FontFamiliesById summary: POST /wp/v2/font-families/{id} tags: - font-families parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: theme_json_version: type: integer default: 3 description: Version of the theme.json schema used for the typography settings. font_family_settings: type: string description: font-family declaration in theme.json format, encoded as a string. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2FontFamiliesById summary: PUT /wp/v2/font-families/{id} tags: - font-families parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: theme_json_version: type: integer default: 3 description: Version of the theme.json schema used for the typography settings. font_family_settings: type: string description: font-family declaration in theme.json format, encoded as a string. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2FontFamiliesById summary: PATCH /wp/v2/font-families/{id} tags: - font-families parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: theme_json_version: type: integer default: 3 description: Version of the theme.json schema used for the typography settings. font_family_settings: type: string description: font-family declaration in theme.json format, encoded as a string. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2FontFamiliesById summary: DELETE /wp/v2/font-families/{id} tags: - font-families parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/global-styles/{id}: get: operationId: getWpV2GlobalStylesById summary: GET /wp/v2/global-styles/{id} tags: - global-styles parameters: - name: id in: path required: true schema: type: string responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2GlobalStylesById summary: POST /wp/v2/global-styles/{id} tags: - global-styles parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: styles: description: Global styles. settings: description: Global settings. title: description: Title of the global styles variation. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2GlobalStylesById summary: PUT /wp/v2/global-styles/{id} tags: - global-styles parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: styles: description: Global styles. settings: description: Global settings. title: description: Title of the global styles variation. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2GlobalStylesById summary: PATCH /wp/v2/global-styles/{id} tags: - global-styles parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: styles: description: Global styles. settings: description: Global settings. title: description: Title of the global styles variation. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/global-styles/{parent}/revisions: get: operationId: getWpV2GlobalStylesByParentRevisions summary: GET /wp/v2/global-styles/{parent}/revisions tags: - global-styles parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer description: Maximum number of items to be returned in result set. - name: offset in: query required: false schema: type: integer description: Offset the result set by a specific number of items. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/global-styles/{parent}/revisions/{id}: get: operationId: getWpV2GlobalStylesByParentRevisionsById summary: GET /wp/v2/global-styles/{parent}/revisions/{id} tags: - global-styles parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/global-styles/themes/{stylesheet}/variations: get: operationId: getWpV2GlobalStylesThemesByStylesheetVariations summary: GET /wp/v2/global-styles/themes/{stylesheet}/variations tags: - global-styles parameters: - name: stylesheet in: path required: true schema: type: string responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/global-styles/themes/{stylesheet}: get: operationId: getWpV2GlobalStylesThemesByStylesheet summary: GET /wp/v2/global-styles/themes/{stylesheet} tags: - global-styles parameters: - name: stylesheet in: path required: true schema: type: string responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/greif_custom_table: get: operationId: getWpV2GreifCustomTable summary: GET /wp/v2/greif_custom_table tags: - greif_custom_table 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2GreifCustomTable summary: POST /wp/v2/greif_custom_table tags: - greif_custom_table requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. format: type: string enum: - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/greif_custom_table/{id}: get: operationId: getWpV2GreifCustomTableById summary: GET /wp/v2/greif_custom_table/{id} tags: - greif_custom_table parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2GreifCustomTableById summary: POST /wp/v2/greif_custom_table/{id} tags: - greif_custom_table parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. format: type: string enum: &id012 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2GreifCustomTableById summary: PUT /wp/v2/greif_custom_table/{id} tags: - greif_custom_table parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. format: type: string enum: *id012 description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2GreifCustomTableById summary: PATCH /wp/v2/greif_custom_table/{id} tags: - greif_custom_table parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. format: type: string enum: *id012 description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2GreifCustomTableById summary: DELETE /wp/v2/greif_custom_table/{id} tags: - greif_custom_table parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jet-menu: get: operationId: getWpV2JetMenu summary: GET /wp/v2/jet-menu tags: - jet-menu 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2JetMenu summary: POST /wp/v2/jet-menu tags: - jet-menu requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jet-menu/{id}: get: operationId: getWpV2JetMenuById summary: GET /wp/v2/jet-menu/{id} tags: - jet-menu parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2JetMenuById summary: POST /wp/v2/jet-menu/{id} tags: - jet-menu parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id013 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. format: type: string enum: &id014 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2JetMenuById summary: PUT /wp/v2/jet-menu/{id} tags: - jet-menu parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id013 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. format: type: string enum: *id014 description: The format for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2JetMenuById summary: PATCH /wp/v2/jet-menu/{id} tags: - jet-menu parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id013 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. format: type: string enum: *id014 description: The format for the post. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2JetMenuById summary: DELETE /wp/v2/jet-menu/{id} tags: - jet-menu parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jet-menu/{id}/autosaves: get: operationId: getWpV2JetMenuByIdAutosaves summary: GET /wp/v2/jet-menu/{id}/autosaves tags: - jet-menu parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2JetMenuByIdAutosaves summary: POST /wp/v2/jet-menu/{id}/autosaves tags: - jet-menu parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jet-menu/{parent}/autosaves/{id}: get: operationId: getWpV2JetMenuByParentAutosavesById summary: GET /wp/v2/jet-menu/{parent}/autosaves/{id} tags: - jet-menu parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jet-menu/{parent}/revisions: get: operationId: getWpV2JetMenuByParentRevisions summary: GET /wp/v2/jet-menu/{parent}/revisions tags: - jet-menu parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jet-menu/{parent}/revisions/{id}: get: operationId: getWpV2JetMenuByParentRevisionsById summary: GET /wp/v2/jet-menu/{parent}/revisions/{id} tags: - jet-menu parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2JetMenuByParentRevisionsById summary: DELETE /wp/v2/jet-menu/{parent}/revisions/{id} tags: - jet-menu parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/leadership-council: get: operationId: getWpV2LeadershipCouncil summary: GET /wp/v2/leadership-council tags: - leadership-council 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2LeadershipCouncil summary: POST /wp/v2/leadership-council tags: - leadership-council requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/leadership-council/{id}: get: operationId: getWpV2LeadershipCouncilById summary: GET /wp/v2/leadership-council/{id} tags: - leadership-council parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2LeadershipCouncilById summary: POST /wp/v2/leadership-council/{id} tags: - leadership-council parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id015 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: &id016 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2LeadershipCouncilById summary: PUT /wp/v2/leadership-council/{id} tags: - leadership-council parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id015 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: *id016 description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2LeadershipCouncilById summary: PATCH /wp/v2/leadership-council/{id} tags: - leadership-council parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id015 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: *id016 description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2LeadershipCouncilById summary: DELETE /wp/v2/leadership-council/{id} tags: - leadership-council parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/leadership-council/{id}/autosaves: get: operationId: getWpV2LeadershipCouncilByIdAutosaves summary: GET /wp/v2/leadership-council/{id}/autosaves tags: - leadership-council parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2LeadershipCouncilByIdAutosaves summary: POST /wp/v2/leadership-council/{id}/autosaves tags: - leadership-council parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/leadership-council/{parent}/autosaves/{id}: get: operationId: getWpV2LeadershipCouncilByParentAutosavesById summary: GET /wp/v2/leadership-council/{parent}/autosaves/{id} tags: - leadership-council parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/market: get: operationId: getWpV2Market summary: GET /wp/v2/market tags: - market 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Market summary: POST /wp/v2/market tags: - market requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/market/{id}: get: operationId: getWpV2MarketById summary: GET /wp/v2/market/{id} tags: - market parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2MarketById summary: POST /wp/v2/market/{id} tags: - market parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id017 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2MarketById summary: PUT /wp/v2/market/{id} tags: - market parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id017 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2MarketById summary: PATCH /wp/v2/market/{id} tags: - market parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id017 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2MarketById summary: DELETE /wp/v2/market/{id} tags: - market parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/market/{id}/autosaves: get: operationId: getWpV2MarketByIdAutosaves summary: GET /wp/v2/market/{id}/autosaves tags: - market parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2MarketByIdAutosaves summary: POST /wp/v2/market/{id}/autosaves tags: - market parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/market/{parent}/autosaves/{id}: get: operationId: getWpV2MarketByParentAutosavesById summary: GET /wp/v2/market/{parent}/autosaves/{id} tags: - market parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/market/{parent}/revisions: get: operationId: getWpV2MarketByParentRevisions summary: GET /wp/v2/market/{parent}/revisions tags: - market parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/market/{parent}/revisions/{id}: get: operationId: getWpV2MarketByParentRevisionsById summary: GET /wp/v2/market/{parent}/revisions/{id} tags: - market parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2MarketByParentRevisionsById summary: DELETE /wp/v2/market/{parent}/revisions/{id} tags: - market parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/media: get: operationId: getWpV2Media summary: GET /wp/v2/media tags: - media 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to posts assigned to specific authors. - name: author_exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes posts assigned to specific authors. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: parent in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to items with particular parent IDs. - name: parent_exclude in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to all items except those of a particular parent ID. - name: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: inherit items: type: string description: Limit result set to posts assigned one or more statuses. - name: media_type in: query required: false schema: type: string enum: - image - video - text - application - audio description: Limit result set to attachments of a particular media type. - name: mime_type in: query required: false schema: type: string description: Limit result set to attachments of a particular MIME type. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Media summary: POST /wp/v2/media tags: - media requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. 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. post: type: integer description: The ID for the associated post of the attachment. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/media/{id}: get: operationId: getWpV2MediaById summary: GET /wp/v2/media/{id} tags: - media parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2MediaById summary: POST /wp/v2/media/{id} tags: - media parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id019 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: &id020 - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: &id021 - open - closed description: Whether or not the post can be pinged. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. 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. post: type: integer description: The ID for the associated post of the attachment. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2MediaById summary: PUT /wp/v2/media/{id} tags: - media parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id019 description: A named status for the post. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: *id020 description: Whether or not comments are open on the post. ping_status: type: string enum: *id021 description: Whether or not the post can be pinged. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. 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. post: type: integer description: The ID for the associated post of the attachment. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2MediaById summary: PATCH /wp/v2/media/{id} tags: - media parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id019 description: A named status for the post. title: type: object description: The title for the post. author: type: integer description: The ID for the author of the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: *id020 description: Whether or not comments are open on the post. ping_status: type: string enum: *id021 description: Whether or not the post can be pinged. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. 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. post: type: integer description: The ID for the associated post of the attachment. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2MediaById summary: DELETE /wp/v2/media/{id} tags: - media parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/media/{id}/edit: post: operationId: createWpV2MediaByIdEdit summary: POST /wp/v2/media/{id}/edit tags: - media parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: src: type: string description: URL to the edited image file. modifiers: type: array description: Array of image edits. rotation: type: integer description: 'The amount to rotate the image clockwise in degrees. DEPRECATED: Use `modifiers` instead.' x: type: number description: 'As a percentage of the image, the x position to start the crop from. DEPRECATED: Use `modifiers` instead.' y: type: number description: 'As a percentage of the image, the y position to start the crop from. DEPRECATED: Use `modifiers` instead.' width: type: number description: 'As a percentage of the image, the width to crop the image to. DEPRECATED: Use `modifiers` instead.' height: type: number description: 'As a percentage of the image, the height to crop the image to. DEPRECATED: Use `modifiers` instead.' responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/media/{id}/post-process: post: operationId: createWpV2MediaByIdPostProcess summary: POST /wp/v2/media/{id}/post-process tags: - media parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: action: type: string enum: - create-image-subsizes responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-items: get: operationId: getWpV2MenuItems summary: GET /wp/v2/menu-items tags: - menu-items 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string 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: menus in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the menus taxonomy. - name: menus_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the menus taxonomy. - name: menu_order in: query required: false schema: type: integer description: Limit result set to posts with a specific menu_order value. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2MenuItems summary: POST /wp/v2/menu-items tags: - menu-items requestBody: required: false content: application/json: schema: type: object properties: title: 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". status: type: string enum: - publish - future - draft - pending - private - acf-disabled default: publish description: A named status for the object. parent: type: integer default: 0 description: The ID for the parent of the object. 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 description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. object: type: string description: The type of object originally represented, such as "category", "post", or "attachment". object_id: type: integer default: 0 description: The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. target: type: string enum: - _blank - '' description: The target attribute of the link element for this menu item. url: type: string 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. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-items/{id}: get: operationId: getWpV2MenuItemsById summary: GET /wp/v2/menu-items/{id} tags: - menu-items parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2MenuItemsById summary: POST /wp/v2/menu-items/{id} tags: - menu-items parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: title: description: The title for the object. type: type: string enum: &id022 - taxonomy - post_type - post_type_archive - custom description: The family of objects originally represented, such as "post_type" or "taxonomy". status: type: string enum: &id023 - publish - future - draft - pending - private - acf-disabled description: A named status for the object. parent: type: integer description: The ID for the parent of the object. 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 description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. object: type: string description: The type of object originally represented, such as "category", "post", or "attachment". object_id: type: integer description: The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. target: type: string enum: &id024 - _blank - '' description: The target attribute of the link element for this menu item. url: type: string 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. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2MenuItemsById summary: PUT /wp/v2/menu-items/{id} tags: - menu-items parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: title: description: The title for the object. type: type: string enum: *id022 description: The family of objects originally represented, such as "post_type" or "taxonomy". status: type: string enum: *id023 description: A named status for the object. parent: type: integer description: The ID for the parent of the object. 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 description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. object: type: string description: The type of object originally represented, such as "category", "post", or "attachment". object_id: type: integer description: The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. target: type: string enum: *id024 description: The target attribute of the link element for this menu item. url: type: string 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. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2MenuItemsById summary: PATCH /wp/v2/menu-items/{id} tags: - menu-items parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: title: description: The title for the object. type: type: string enum: *id022 description: The family of objects originally represented, such as "post_type" or "taxonomy". status: type: string enum: *id023 description: A named status for the object. parent: type: integer description: The ID for the parent of the object. 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 description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. object: type: string description: The type of object originally represented, such as "category", "post", or "attachment". object_id: type: integer description: The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. target: type: string enum: *id024 description: The target attribute of the link element for this menu item. url: type: string 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. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2MenuItemsById summary: DELETE /wp/v2/menu-items/{id} tags: - menu-items parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-items/{id}/autosaves: get: operationId: getWpV2MenuItemsByIdAutosaves summary: GET /wp/v2/menu-items/{id}/autosaves tags: - menu-items parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2MenuItemsByIdAutosaves summary: POST /wp/v2/menu-items/{id}/autosaves tags: - menu-items parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the object. title: 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". status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: A named status for the object. 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 description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise 0. object: type: string description: The type of object originally represented, such as "category", "post", or "attachment". object_id: type: integer description: The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. target: type: string enum: - _blank - '' description: The target attribute of the link element for this menu item. url: type: string 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. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-items/{parent}/autosaves/{id}: get: operationId: getWpV2MenuItemsByParentAutosavesById summary: GET /wp/v2/menu-items/{parent}/autosaves/{id} tags: - menu-items parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-locations: get: operationId: getWpV2MenuLocations summary: GET /wp/v2/menu-locations tags: - menu-locations 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-locations/{location}: get: operationId: getWpV2MenuLocationsByLocation summary: GET /wp/v2/menu-locations/{location} tags: - menu-locations parameters: - name: location in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menus: get: operationId: getWpV2Menus summary: GET /wp/v2/menus tags: - menus 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Menus summary: POST /wp/v2/menus tags: - menus requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. locations: type: array items: type: string description: The locations assigned to the menu. auto_add: type: boolean description: Whether to automatically add top level pages to this menu. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menus/{id}: get: operationId: getWpV2MenusById summary: GET /wp/v2/menus/{id} tags: - menus parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2MenusById summary: POST /wp/v2/menus/{id} tags: - menus parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. locations: type: array items: type: string description: The locations assigned to the menu. auto_add: type: boolean description: Whether to automatically add top level pages to this menu. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2MenusById summary: PUT /wp/v2/menus/{id} tags: - menus parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. locations: type: array items: type: string description: The locations assigned to the menu. auto_add: type: boolean description: Whether to automatically add top level pages to this menu. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2MenusById summary: PATCH /wp/v2/menus/{id} tags: - menus parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. locations: type: array items: type: string description: The locations assigned to the menu. auto_add: type: boolean description: Whether to automatically add top level pages to this menu. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2MenusById summary: DELETE /wp/v2/menus/{id} tags: - menus parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation: get: operationId: getWpV2Navigation summary: GET /wp/v2/navigation tags: - navigation 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Navigation summary: POST /wp/v2/navigation tags: - navigation requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation/{id}: get: operationId: getWpV2NavigationById summary: GET /wp/v2/navigation/{id} tags: - navigation parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2NavigationById summary: POST /wp/v2/navigation/{id} tags: - navigation parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id025 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2NavigationById summary: PUT /wp/v2/navigation/{id} tags: - navigation parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id025 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2NavigationById summary: PATCH /wp/v2/navigation/{id} tags: - navigation parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id025 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2NavigationById summary: DELETE /wp/v2/navigation/{id} tags: - navigation parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation/{id}/autosaves: get: operationId: getWpV2NavigationByIdAutosaves summary: GET /wp/v2/navigation/{id}/autosaves tags: - navigation parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2NavigationByIdAutosaves summary: POST /wp/v2/navigation/{id}/autosaves tags: - navigation parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation/{parent}/autosaves/{id}: get: operationId: getWpV2NavigationByParentAutosavesById summary: GET /wp/v2/navigation/{parent}/autosaves/{id} tags: - navigation parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation/{parent}/revisions: get: operationId: getWpV2NavigationByParentRevisions summary: GET /wp/v2/navigation/{parent}/revisions tags: - navigation parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation/{parent}/revisions/{id}: get: operationId: getWpV2NavigationByParentRevisionsById summary: GET /wp/v2/navigation/{parent}/revisions/{id} tags: - navigation parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2NavigationByParentRevisionsById summary: DELETE /wp/v2/navigation/{parent}/revisions/{id} tags: - navigation parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages: get: operationId: getWpV2Pages summary: GET /wp/v2/pages tags: - pages 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to posts assigned to specific authors. - name: author_exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes posts assigned to specific authors. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: parent in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to items with particular parent IDs. - name: parent_exclude in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to all items except those of a particular parent ID. - name: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Pages summary: POST /wp/v2/pages tags: - pages requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. parent: type: integer description: The ID for the parent of the post. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. menu_order: type: integer description: The order of the post in relation to other posts. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages/{id}: get: operationId: getWpV2PagesById summary: GET /wp/v2/pages/{id} tags: - pages parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2PagesById summary: POST /wp/v2/pages/{id} tags: - pages parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id026 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. parent: type: integer description: The ID for the parent of the post. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: &id027 - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: &id028 - open - closed description: Whether or not the post can be pinged. menu_order: type: integer description: The order of the post in relation to other posts. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2PagesById summary: PUT /wp/v2/pages/{id} tags: - pages parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id026 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. parent: type: integer description: The ID for the parent of the post. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: *id027 description: Whether or not comments are open on the post. ping_status: type: string enum: *id028 description: Whether or not the post can be pinged. menu_order: type: integer description: The order of the post in relation to other posts. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2PagesById summary: PATCH /wp/v2/pages/{id} tags: - pages parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id026 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. parent: type: integer description: The ID for the parent of the post. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: *id027 description: Whether or not comments are open on the post. ping_status: type: string enum: *id028 description: Whether or not the post can be pinged. menu_order: type: integer description: The order of the post in relation to other posts. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2PagesById summary: DELETE /wp/v2/pages/{id} tags: - pages parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages/{id}/autosaves: get: operationId: getWpV2PagesByIdAutosaves summary: GET /wp/v2/pages/{id}/autosaves tags: - pages parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2PagesByIdAutosaves summary: POST /wp/v2/pages/{id}/autosaves tags: - pages parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the post. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. menu_order: type: integer description: The order of the post in relation to other posts. meta: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages/{parent}/autosaves/{id}: get: operationId: getWpV2PagesByParentAutosavesById summary: GET /wp/v2/pages/{parent}/autosaves/{id} tags: - pages parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages/{parent}/revisions: get: operationId: getWpV2PagesByParentRevisions summary: GET /wp/v2/pages/{parent}/revisions tags: - pages parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages/{parent}/revisions/{id}: get: operationId: getWpV2PagesByParentRevisionsById summary: GET /wp/v2/pages/{parent}/revisions/{id} tags: - pages parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2PagesByParentRevisionsById summary: DELETE /wp/v2/pages/{parent}/revisions/{id} tags: - pages parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pattern-directory/patterns: get: operationId: getWpV2PatternDirectoryPatterns summary: GET /wp/v2/pattern-directory/patterns tags: - pattern-directory 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 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: category in: query required: false schema: type: integer description: Limit results to those matching a category ID. - name: keyword in: query required: false schema: type: integer description: Limit results to those matching a keyword ID. - name: slug in: query required: false schema: type: array description: Limit results to those matching a pattern (slug). - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/plugins: get: operationId: getWpV2Plugins summary: GET /wp/v2/plugins tags: - plugins 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 description: Limits results to plugins with the given status. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Plugins summary: POST /wp/v2/plugins tags: - plugins requestBody: required: false 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/plugins/{plugin}: get: operationId: getWpV2PluginsByPlugin summary: GET /wp/v2/plugins/{plugin} tags: - plugins parameters: - name: plugin in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2PluginsByPlugin summary: POST /wp/v2/plugins/{plugin} tags: - plugins parameters: - name: plugin in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: context: type: string enum: &id029 - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. status: type: string enum: &id030 - inactive - active description: The plugin activation status. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2PluginsByPlugin summary: PUT /wp/v2/plugins/{plugin} tags: - plugins parameters: - name: plugin in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: context: type: string enum: *id029 default: view description: Scope under which the request is made; determines fields present in response. status: type: string enum: *id030 description: The plugin activation status. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2PluginsByPlugin summary: PATCH /wp/v2/plugins/{plugin} tags: - plugins parameters: - name: plugin in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: context: type: string enum: *id029 default: view description: Scope under which the request is made; determines fields present in response. status: type: string enum: *id030 description: The plugin activation status. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2PluginsByPlugin summary: DELETE /wp/v2/plugins/{plugin} tags: - plugins parameters: - name: plugin in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts: get: operationId: getWpV2Posts summary: GET /wp/v2/posts tags: - posts 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to posts assigned to specific authors. - name: author_exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes posts assigned to specific authors. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string 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: categories in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the categories taxonomy. - name: categories_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the categories taxonomy. - name: tags in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the tags taxonomy. - name: tags_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the tags taxonomy. - name: sticky in: query required: false schema: type: boolean description: Limit result set to items that are sticky. - name: ignore_sticky in: query required: false schema: type: boolean default: true description: Whether to ignore sticky posts or not. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Posts summary: POST /wp/v2/posts tags: - posts requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. 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. sticky: type: boolean description: Whether or not the post should be treated as sticky. template: type: string description: The theme file to use to display the post. categories: type: array items: type: integer description: The terms assigned to the post in the category taxonomy. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{id}: get: operationId: getWpV2PostsById summary: GET /wp/v2/posts/{id} tags: - posts parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2PostsById summary: POST /wp/v2/posts/{id} tags: - posts parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id031 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: &id032 - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: &id033 - open - closed description: Whether or not the post can be pinged. format: type: string enum: &id034 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. meta: type: object description: Meta fields. sticky: type: boolean description: Whether or not the post should be treated as sticky. template: type: string description: The theme file to use to display the post. categories: type: array items: type: integer description: The terms assigned to the post in the category taxonomy. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2PostsById summary: PUT /wp/v2/posts/{id} tags: - posts parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id031 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: *id032 description: Whether or not comments are open on the post. ping_status: type: string enum: *id033 description: Whether or not the post can be pinged. format: type: string enum: *id034 description: The format for the post. meta: type: object description: Meta fields. sticky: type: boolean description: Whether or not the post should be treated as sticky. template: type: string description: The theme file to use to display the post. categories: type: array items: type: integer description: The terms assigned to the post in the category taxonomy. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2PostsById summary: PATCH /wp/v2/posts/{id} tags: - posts parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id031 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: *id032 description: Whether or not comments are open on the post. ping_status: type: string enum: *id033 description: Whether or not the post can be pinged. format: type: string enum: *id034 description: The format for the post. meta: type: object description: Meta fields. sticky: type: boolean description: Whether or not the post should be treated as sticky. template: type: string description: The theme file to use to display the post. categories: type: array items: type: integer description: The terms assigned to the post in the category taxonomy. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2PostsById summary: DELETE /wp/v2/posts/{id} tags: - posts parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{id}/autosaves: get: operationId: getWpV2PostsByIdAutosaves summary: GET /wp/v2/posts/{id}/autosaves tags: - posts parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2PostsByIdAutosaves summary: POST /wp/v2/posts/{id}/autosaves tags: - posts parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. comment_status: type: string enum: - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: - open - closed description: Whether or not the post can be pinged. 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. sticky: type: boolean description: Whether or not the post should be treated as sticky. template: type: string description: The theme file to use to display the post. categories: type: array items: type: integer description: The terms assigned to the post in the category taxonomy. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{parent}/autosaves/{id}: get: operationId: getWpV2PostsByParentAutosavesById summary: GET /wp/v2/posts/{parent}/autosaves/{id} tags: - posts parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{parent}/revisions: get: operationId: getWpV2PostsByParentRevisions summary: GET /wp/v2/posts/{parent}/revisions tags: - posts parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{parent}/revisions/{id}: get: operationId: getWpV2PostsByParentRevisionsById summary: GET /wp/v2/posts/{parent}/revisions/{id} tags: - posts parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2PostsByParentRevisionsById summary: DELETE /wp/v2/posts/{parent}/revisions/{id} tags: - posts parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product: get: operationId: getWpV2Product summary: GET /wp/v2/product tags: - product 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string 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: product_category in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the product_category taxonomy. - name: product_category_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the product_category taxonomy. - name: product_tag in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the product_tag taxonomy. - name: product_tag_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the product_tag taxonomy. - name: product_capacity in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the product_capacity taxonomy. - name: product_capacity_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the product_capacity taxonomy. - name: product_attribute in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the product_attribute taxonomy. - name: product_attribute_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the product_attribute taxonomy. - name: product_material in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the product_material taxonomy. - name: product_material_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the product_material taxonomy. - name: product_market in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the product_market taxonomy. - name: product_market_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the product_market taxonomy. - name: visibility in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the visibility taxonomy. - name: visibility_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the visibility taxonomy. - name: regional_availability in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the regional_availability taxonomy. - name: regional_availability_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the regional_availability taxonomy. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Product summary: POST /wp/v2/product tags: - product requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content 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. template: type: string description: The theme file to use to display the post. product_category: type: array items: type: integer description: The terms assigned to the post in the product_category taxonomy. product_tag: type: array items: type: integer description: The terms assigned to the post in the product_tag taxonomy. product_capacity: type: array items: type: integer description: The terms assigned to the post in the product_capacity taxonomy. product_attribute: type: array items: type: integer description: The terms assigned to the post in the product_attribute taxonomy. product_material: type: array items: type: integer description: The terms assigned to the post in the product_material taxonomy. product_market: type: array items: type: integer description: The terms assigned to the post in the product_market taxonomy. visibility: type: array items: type: integer description: The terms assigned to the post in the visibility taxonomy. regional_availability: type: array items: type: integer description: The terms assigned to the post in the regional_availability taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product/{id}: get: operationId: getWpV2ProductById summary: GET /wp/v2/product/{id} tags: - product parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductById summary: POST /wp/v2/product/{id} tags: - product parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id035 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: &id036 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. template: type: string description: The theme file to use to display the post. product_category: type: array items: type: integer description: The terms assigned to the post in the product_category taxonomy. product_tag: type: array items: type: integer description: The terms assigned to the post in the product_tag taxonomy. product_capacity: type: array items: type: integer description: The terms assigned to the post in the product_capacity taxonomy. product_attribute: type: array items: type: integer description: The terms assigned to the post in the product_attribute taxonomy. product_material: type: array items: type: integer description: The terms assigned to the post in the product_material taxonomy. product_market: type: array items: type: integer description: The terms assigned to the post in the product_market taxonomy. visibility: type: array items: type: integer description: The terms assigned to the post in the visibility taxonomy. regional_availability: type: array items: type: integer description: The terms assigned to the post in the regional_availability taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2ProductById summary: PUT /wp/v2/product/{id} tags: - product parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id035 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: *id036 description: The format for the post. template: type: string description: The theme file to use to display the post. product_category: type: array items: type: integer description: The terms assigned to the post in the product_category taxonomy. product_tag: type: array items: type: integer description: The terms assigned to the post in the product_tag taxonomy. product_capacity: type: array items: type: integer description: The terms assigned to the post in the product_capacity taxonomy. product_attribute: type: array items: type: integer description: The terms assigned to the post in the product_attribute taxonomy. product_material: type: array items: type: integer description: The terms assigned to the post in the product_material taxonomy. product_market: type: array items: type: integer description: The terms assigned to the post in the product_market taxonomy. visibility: type: array items: type: integer description: The terms assigned to the post in the visibility taxonomy. regional_availability: type: array items: type: integer description: The terms assigned to the post in the regional_availability taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2ProductById summary: PATCH /wp/v2/product/{id} tags: - product parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id035 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: *id036 description: The format for the post. template: type: string description: The theme file to use to display the post. product_category: type: array items: type: integer description: The terms assigned to the post in the product_category taxonomy. product_tag: type: array items: type: integer description: The terms assigned to the post in the product_tag taxonomy. product_capacity: type: array items: type: integer description: The terms assigned to the post in the product_capacity taxonomy. product_attribute: type: array items: type: integer description: The terms assigned to the post in the product_attribute taxonomy. product_material: type: array items: type: integer description: The terms assigned to the post in the product_material taxonomy. product_market: type: array items: type: integer description: The terms assigned to the post in the product_market taxonomy. visibility: type: array items: type: integer description: The terms assigned to the post in the visibility taxonomy. regional_availability: type: array items: type: integer description: The terms assigned to the post in the regional_availability taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ProductById summary: DELETE /wp/v2/product/{id} tags: - product parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product/{id}/autosaves: get: operationId: getWpV2ProductByIdAutosaves summary: GET /wp/v2/product/{id}/autosaves tags: - product parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductByIdAutosaves summary: POST /wp/v2/product/{id}/autosaves tags: - product parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content 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. template: type: string description: The theme file to use to display the post. product_category: type: array items: type: integer description: The terms assigned to the post in the product_category taxonomy. product_tag: type: array items: type: integer description: The terms assigned to the post in the product_tag taxonomy. product_capacity: type: array items: type: integer description: The terms assigned to the post in the product_capacity taxonomy. product_attribute: type: array items: type: integer description: The terms assigned to the post in the product_attribute taxonomy. product_material: type: array items: type: integer description: The terms assigned to the post in the product_material taxonomy. product_market: type: array items: type: integer description: The terms assigned to the post in the product_market taxonomy. visibility: type: array items: type: integer description: The terms assigned to the post in the visibility taxonomy. regional_availability: type: array items: type: integer description: The terms assigned to the post in the regional_availability taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product/{parent}/autosaves/{id}: get: operationId: getWpV2ProductByParentAutosavesById summary: GET /wp/v2/product/{parent}/autosaves/{id} tags: - product parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product/{parent}/revisions: get: operationId: getWpV2ProductByParentRevisions summary: GET /wp/v2/product/{parent}/revisions tags: - product parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product/{parent}/revisions/{id}: get: operationId: getWpV2ProductByParentRevisionsById summary: GET /wp/v2/product/{parent}/revisions/{id} tags: - product parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ProductByParentRevisionsById summary: DELETE /wp/v2/product/{parent}/revisions/{id} tags: - product parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_attribute: get: operationId: getWpV2ProductAttribute summary: GET /wp/v2/product_attribute tags: - product_attribute 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductAttribute summary: POST /wp/v2/product_attribute tags: - product_attribute requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_attribute/{id}: get: operationId: getWpV2ProductAttributeById summary: GET /wp/v2/product_attribute/{id} tags: - product_attribute parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductAttributeById summary: POST /wp/v2/product_attribute/{id} tags: - product_attribute parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2ProductAttributeById summary: PUT /wp/v2/product_attribute/{id} tags: - product_attribute parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2ProductAttributeById summary: PATCH /wp/v2/product_attribute/{id} tags: - product_attribute parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ProductAttributeById summary: DELETE /wp/v2/product_attribute/{id} tags: - product_attribute parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_capacity: get: operationId: getWpV2ProductCapacity summary: GET /wp/v2/product_capacity tags: - product_capacity 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductCapacity summary: POST /wp/v2/product_capacity tags: - product_capacity requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_capacity/{id}: get: operationId: getWpV2ProductCapacityById summary: GET /wp/v2/product_capacity/{id} tags: - product_capacity parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductCapacityById summary: POST /wp/v2/product_capacity/{id} tags: - product_capacity parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2ProductCapacityById summary: PUT /wp/v2/product_capacity/{id} tags: - product_capacity parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2ProductCapacityById summary: PATCH /wp/v2/product_capacity/{id} tags: - product_capacity parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ProductCapacityById summary: DELETE /wp/v2/product_capacity/{id} tags: - product_capacity parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_category: get: operationId: getWpV2ProductCategory summary: GET /wp/v2/product_category tags: - product_category 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductCategory summary: POST /wp/v2/product_category tags: - product_category requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_category/{id}: get: operationId: getWpV2ProductCategoryById summary: GET /wp/v2/product_category/{id} tags: - product_category parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductCategoryById summary: POST /wp/v2/product_category/{id} tags: - product_category parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2ProductCategoryById summary: PUT /wp/v2/product_category/{id} tags: - product_category parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2ProductCategoryById summary: PATCH /wp/v2/product_category/{id} tags: - product_category parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ProductCategoryById summary: DELETE /wp/v2/product_category/{id} tags: - product_category parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_market: get: operationId: getWpV2ProductMarket summary: GET /wp/v2/product_market tags: - product_market 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductMarket summary: POST /wp/v2/product_market tags: - product_market requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_market/{id}: get: operationId: getWpV2ProductMarketById summary: GET /wp/v2/product_market/{id} tags: - product_market parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductMarketById summary: POST /wp/v2/product_market/{id} tags: - product_market parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2ProductMarketById summary: PUT /wp/v2/product_market/{id} tags: - product_market parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2ProductMarketById summary: PATCH /wp/v2/product_market/{id} tags: - product_market parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ProductMarketById summary: DELETE /wp/v2/product_market/{id} tags: - product_market parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_material: get: operationId: getWpV2ProductMaterial summary: GET /wp/v2/product_material tags: - product_material 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductMaterial summary: POST /wp/v2/product_material tags: - product_material requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_material/{id}: get: operationId: getWpV2ProductMaterialById summary: GET /wp/v2/product_material/{id} tags: - product_material parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductMaterialById summary: POST /wp/v2/product_material/{id} tags: - product_material parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2ProductMaterialById summary: PUT /wp/v2/product_material/{id} tags: - product_material parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2ProductMaterialById summary: PATCH /wp/v2/product_material/{id} tags: - product_material parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ProductMaterialById summary: DELETE /wp/v2/product_material/{id} tags: - product_material parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_tag: get: operationId: getWpV2ProductTag summary: GET /wp/v2/product_tag tags: - product_tag 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductTag summary: POST /wp/v2/product_tag tags: - product_tag requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/product_tag/{id}: get: operationId: getWpV2ProductTagById summary: GET /wp/v2/product_tag/{id} tags: - product_tag parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2ProductTagById summary: POST /wp/v2/product_tag/{id} tags: - product_tag parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2ProductTagById summary: PUT /wp/v2/product_tag/{id} tags: - product_tag parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2ProductTagById summary: PATCH /wp/v2/product_tag/{id} tags: - product_tag parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2ProductTagById summary: DELETE /wp/v2/product_tag/{id} tags: - product_tag parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/regional_availability: get: operationId: getWpV2RegionalAvailability summary: GET /wp/v2/regional_availability tags: - regional_availability 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2RegionalAvailability summary: POST /wp/v2/regional_availability tags: - regional_availability requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/regional_availability/{id}: get: operationId: getWpV2RegionalAvailabilityById summary: GET /wp/v2/regional_availability/{id} tags: - regional_availability parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2RegionalAvailabilityById summary: POST /wp/v2/regional_availability/{id} tags: - regional_availability parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2RegionalAvailabilityById summary: PUT /wp/v2/regional_availability/{id} tags: - regional_availability parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2RegionalAvailabilityById summary: PATCH /wp/v2/regional_availability/{id} tags: - regional_availability parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2RegionalAvailabilityById summary: DELETE /wp/v2/regional_availability/{id} tags: - regional_availability parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sales-contact: get: operationId: getWpV2SalesContact summary: GET /wp/v2/sales-contact tags: - sales-contact 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2SalesContact summary: POST /wp/v2/sales-contact tags: - sales-contact requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sales-contact/{id}: get: operationId: getWpV2SalesContactById summary: GET /wp/v2/sales-contact/{id} tags: - sales-contact parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2SalesContactById summary: POST /wp/v2/sales-contact/{id} tags: - sales-contact parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id037 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: &id038 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2SalesContactById summary: PUT /wp/v2/sales-contact/{id} tags: - sales-contact parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id037 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: *id038 description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2SalesContactById summary: PATCH /wp/v2/sales-contact/{id} tags: - sales-contact parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id037 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. format: type: string enum: *id038 description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2SalesContactById summary: DELETE /wp/v2/sales-contact/{id} tags: - sales-contact parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sales-contact/{id}/autosaves: get: operationId: getWpV2SalesContactByIdAutosaves summary: GET /wp/v2/sales-contact/{id}/autosaves tags: - sales-contact parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2SalesContactByIdAutosaves summary: POST /wp/v2/sales-contact/{id}/autosaves tags: - sales-contact parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sales-contact/{parent}/autosaves/{id}: get: operationId: getWpV2SalesContactByParentAutosavesById summary: GET /wp/v2/sales-contact/{parent}/autosaves/{id} tags: - sales-contact parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/search: get: operationId: getWpV2Search summary: GET /wp/v2/search tags: - search 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: page in: query required: false schema: type: integer default: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: type in: query required: false schema: type: string enum: - post - term - post-format default: post description: Limit results to items of an object type. - name: subtype in: query required: false schema: type: array default: any items: type: string description: Limit results to items of one or more object subtypes. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/settings: get: operationId: getWpV2Settings summary: GET /wp/v2/settings tags: - settings responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Settings summary: POST /wp/v2/settings tags: - settings requestBody: required: false content: application/json: schema: type: object properties: hello_elementor_settings_description_meta_tag: type: string hello_elementor_settings_skip_link: type: string hello_elementor_settings_header_footer: type: string hello_elementor_settings_page_title: type: string hello_elementor_settings_hello_style: type: string hello_elementor_settings_hello_theme: type: string title: type: string description: Site title. description: type: string description: Site tagline. url: type: string description: Site URL. email: type: string description: This address is used for admin purposes, like new user notification. timezone: type: string description: A city in the same timezone as you. date_format: type: string description: A date format for all date strings. time_format: type: string description: A time format for all time strings. start_of_week: type: integer description: A day number of the week that the week should start on. language: type: string description: WordPress locale code. use_smilies: type: boolean description: Convert emoticons like :-) and :-P to graphics on display. default_category: type: integer description: Default post category. default_post_format: type: string description: Default post format. posts_per_page: type: integer description: Blog pages show at most. show_on_front: type: string description: What to show on the front page page_on_front: type: integer description: The ID of the page that should be displayed on the front page page_for_posts: type: integer description: The ID of the page that should display the latest posts default_ping_status: type: string enum: &id039 - open - closed description: Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. default_comment_status: type: string enum: &id040 - open - closed description: Allow people to submit comments on new posts. site_logo: type: integer description: Site logo. site_icon: type: integer description: Site icon. elementor_one_welcome_screen_completed: type: boolean description: Elementor One Welcome Screen Completed elementor_one_dismiss_connect_alert: type: boolean description: Elementor One Dismiss Connect Alert elementor_one_dismiss_elementor_one_subscription_alert: type: boolean description: Elementor One Dismiss Elementor One Subscription Alert responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2Settings summary: PUT /wp/v2/settings tags: - settings requestBody: required: false content: application/json: schema: type: object properties: hello_elementor_settings_description_meta_tag: type: string hello_elementor_settings_skip_link: type: string hello_elementor_settings_header_footer: type: string hello_elementor_settings_page_title: type: string hello_elementor_settings_hello_style: type: string hello_elementor_settings_hello_theme: type: string title: type: string description: Site title. description: type: string description: Site tagline. url: type: string description: Site URL. email: type: string description: This address is used for admin purposes, like new user notification. timezone: type: string description: A city in the same timezone as you. date_format: type: string description: A date format for all date strings. time_format: type: string description: A time format for all time strings. start_of_week: type: integer description: A day number of the week that the week should start on. language: type: string description: WordPress locale code. use_smilies: type: boolean description: Convert emoticons like :-) and :-P to graphics on display. default_category: type: integer description: Default post category. default_post_format: type: string description: Default post format. posts_per_page: type: integer description: Blog pages show at most. show_on_front: type: string description: What to show on the front page page_on_front: type: integer description: The ID of the page that should be displayed on the front page page_for_posts: type: integer description: The ID of the page that should display the latest posts default_ping_status: type: string enum: *id039 description: Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. default_comment_status: type: string enum: *id040 description: Allow people to submit comments on new posts. site_logo: type: integer description: Site logo. site_icon: type: integer description: Site icon. elementor_one_welcome_screen_completed: type: boolean description: Elementor One Welcome Screen Completed elementor_one_dismiss_connect_alert: type: boolean description: Elementor One Dismiss Connect Alert elementor_one_dismiss_elementor_one_subscription_alert: type: boolean description: Elementor One Dismiss Elementor One Subscription Alert responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2Settings summary: PATCH /wp/v2/settings tags: - settings requestBody: required: false content: application/json: schema: type: object properties: hello_elementor_settings_description_meta_tag: type: string hello_elementor_settings_skip_link: type: string hello_elementor_settings_header_footer: type: string hello_elementor_settings_page_title: type: string hello_elementor_settings_hello_style: type: string hello_elementor_settings_hello_theme: type: string title: type: string description: Site title. description: type: string description: Site tagline. url: type: string description: Site URL. email: type: string description: This address is used for admin purposes, like new user notification. timezone: type: string description: A city in the same timezone as you. date_format: type: string description: A date format for all date strings. time_format: type: string description: A time format for all time strings. start_of_week: type: integer description: A day number of the week that the week should start on. language: type: string description: WordPress locale code. use_smilies: type: boolean description: Convert emoticons like :-) and :-P to graphics on display. default_category: type: integer description: Default post category. default_post_format: type: string description: Default post format. posts_per_page: type: integer description: Blog pages show at most. show_on_front: type: string description: What to show on the front page page_on_front: type: integer description: The ID of the page that should be displayed on the front page page_for_posts: type: integer description: The ID of the page that should display the latest posts default_ping_status: type: string enum: *id039 description: Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. default_comment_status: type: string enum: *id040 description: Allow people to submit comments on new posts. site_logo: type: integer description: Site logo. site_icon: type: integer description: Site icon. elementor_one_welcome_screen_completed: type: boolean description: Elementor One Welcome Screen Completed elementor_one_dismiss_connect_alert: type: boolean description: Elementor One Dismiss Connect Alert elementor_one_dismiss_elementor_one_subscription_alert: type: boolean description: Elementor One Dismiss Elementor One Subscription Alert responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sidebars: get: operationId: getWpV2Sidebars summary: GET /wp/v2/sidebars tags: - sidebars 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sidebars/{id}: get: operationId: getWpV2SidebarsById summary: GET /wp/v2/sidebars/{id} tags: - sidebars parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2SidebarsById summary: POST /wp/v2/sidebars/{id} tags: - sidebars parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: widgets: type: array description: Nested widgets. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2SidebarsById summary: PUT /wp/v2/sidebars/{id} tags: - sidebars parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: widgets: type: array description: Nested widgets. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2SidebarsById summary: PATCH /wp/v2/sidebars/{id} tags: - sidebars parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: widgets: type: array description: Nested widgets. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/statuses: get: operationId: getWpV2Statuses summary: GET /wp/v2/statuses tags: - statuses 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/statuses/{status}: get: operationId: getWpV2StatusesByStatus summary: GET /wp/v2/statuses/{status} tags: - statuses parameters: - name: status in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/store_location: get: operationId: getWpV2StoreLocation summary: GET /wp/v2/store_location tags: - store_location 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2StoreLocation summary: POST /wp/v2/store_location tags: - store_location requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/store_location/{id}: get: operationId: getWpV2StoreLocationById summary: GET /wp/v2/store_location/{id} tags: - store_location parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2StoreLocationById summary: POST /wp/v2/store_location/{id} tags: - store_location parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2StoreLocationById summary: PUT /wp/v2/store_location/{id} tags: - store_location parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2StoreLocationById summary: PATCH /wp/v2/store_location/{id} tags: - store_location parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2StoreLocationById summary: DELETE /wp/v2/store_location/{id} tags: - store_location parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sustainability_items: get: operationId: getWpV2SustainabilityItems summary: GET /wp/v2/sustainability_items tags: - sustainability_items 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2SustainabilityItems summary: POST /wp/v2/sustainability_items tags: - sustainability_items requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sustainability_items/{id}: get: operationId: getWpV2SustainabilityItemsById summary: GET /wp/v2/sustainability_items/{id} tags: - sustainability_items parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2SustainabilityItemsById summary: POST /wp/v2/sustainability_items/{id} tags: - sustainability_items parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id041 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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: &id042 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2SustainabilityItemsById summary: PUT /wp/v2/sustainability_items/{id} tags: - sustainability_items parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id041 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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: *id042 description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2SustainabilityItemsById summary: PATCH /wp/v2/sustainability_items/{id} tags: - sustainability_items parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id041 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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: *id042 description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2SustainabilityItemsById summary: DELETE /wp/v2/sustainability_items/{id} tags: - sustainability_items parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sustainability_items/{id}/autosaves: get: operationId: getWpV2SustainabilityItemsByIdAutosaves summary: GET /wp/v2/sustainability_items/{id}/autosaves tags: - sustainability_items parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2SustainabilityItemsByIdAutosaves summary: POST /wp/v2/sustainability_items/{id}/autosaves tags: - sustainability_items parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sustainability_items/{parent}/autosaves/{id}: get: operationId: getWpV2SustainabilityItemsByParentAutosavesById summary: GET /wp/v2/sustainability_items/{parent}/autosaves/{id} tags: - sustainability_items parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sustainability_items/{parent}/revisions: get: operationId: getWpV2SustainabilityItemsByParentRevisions summary: GET /wp/v2/sustainability_items/{parent}/revisions tags: - sustainability_items parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sustainability_items/{parent}/revisions/{id}: get: operationId: getWpV2SustainabilityItemsByParentRevisionsById summary: GET /wp/v2/sustainability_items/{parent}/revisions/{id} tags: - sustainability_items parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2SustainabilityItemsByParentRevisionsById summary: DELETE /wp/v2/sustainability_items/{parent}/revisions/{id} tags: - sustainability_items parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/tags: get: operationId: getWpV2Tags summary: GET /wp/v2/tags tags: - tags 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Tags summary: POST /wp/v2/tags tags: - tags requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/tags/{id}: get: operationId: getWpV2TagsById summary: GET /wp/v2/tags/{id} tags: - tags parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2TagsById summary: POST /wp/v2/tags/{id} tags: - tags parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2TagsById summary: PUT /wp/v2/tags/{id} tags: - tags parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2TagsById summary: PATCH /wp/v2/tags/{id} tags: - tags parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2TagsById summary: DELETE /wp/v2/tags/{id} tags: - tags parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/taxonomies: get: operationId: getWpV2Taxonomies summary: GET /wp/v2/taxonomies tags: - taxonomies 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/taxonomies/{taxonomy}: get: operationId: getWpV2TaxonomiesByTaxonomy summary: GET /wp/v2/taxonomies/{taxonomy} tags: - taxonomies parameters: - name: taxonomy in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/technology: get: operationId: getWpV2Technology summary: GET /wp/v2/technology tags: - technology 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string description: Limit result set to posts assigned one or more statuses. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Technology summary: POST /wp/v2/technology tags: - technology requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/technology/{id}: get: operationId: getWpV2TechnologyById summary: GET /wp/v2/technology/{id} tags: - technology parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2TechnologyById summary: POST /wp/v2/technology/{id} tags: - technology parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id043 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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: &id044 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2TechnologyById summary: PUT /wp/v2/technology/{id} tags: - technology parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id043 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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: *id044 description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2TechnologyById summary: PATCH /wp/v2/technology/{id} tags: - technology parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id043 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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: *id044 description: The format for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2TechnologyById summary: DELETE /wp/v2/technology/{id} tags: - technology parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/technology/{id}/autosaves: get: operationId: getWpV2TechnologyByIdAutosaves summary: GET /wp/v2/technology/{id}/autosaves tags: - technology parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2TechnologyByIdAutosaves summary: POST /wp/v2/technology/{id}/autosaves tags: - technology parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. 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. template: type: string description: The theme file to use to display the post. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/technology/{parent}/autosaves/{id}: get: operationId: getWpV2TechnologyByParentAutosavesById summary: GET /wp/v2/technology/{parent}/autosaves/{id} tags: - technology parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/technology/{parent}/revisions: get: operationId: getWpV2TechnologyByParentRevisions summary: GET /wp/v2/technology/{parent}/revisions tags: - technology parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/technology/{parent}/revisions/{id}: get: operationId: getWpV2TechnologyByParentRevisionsById summary: GET /wp/v2/technology/{parent}/revisions/{id} tags: - technology parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2TechnologyByParentRevisionsById summary: DELETE /wp/v2/technology/{parent}/revisions/{id} tags: - technology parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts: get: operationId: getWpV2TemplateParts summary: GET /wp/v2/template-parts tags: - template-parts 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: wp_id in: query required: false schema: type: integer description: Limit to the specified post id. - name: area in: query required: false schema: type: string description: Limit to the specified template part area. - name: post_type in: query required: false schema: type: string description: Post type to get the templates for. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2TemplateParts summary: POST /wp/v2/template-parts tags: - template-parts requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: Unique slug identifying the template. theme: type: string description: Theme identifier for the template. type: type: string description: Type of template. content: default: '' description: Content of template. title: default: '' description: Title of template. description: type: string default: '' description: Description of template. status: type: string enum: - publish - future - draft - pending - private - acf-disabled default: publish description: Status of template. author: type: integer description: The ID for the author of the template. area: type: string description: Where the template part is intended for use (header, footer, etc.) responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/{id}: get: operationId: getWpV2TemplatePartsById summary: GET /wp/v2/template-parts/{id} tags: - template-parts parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2TemplatePartsById summary: POST /wp/v2/template-parts/{id} tags: - template-parts parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: Unique slug identifying the template. theme: type: string description: Theme identifier for the template. type: type: string description: Type of template. content: description: Content of template. title: description: Title of template. description: type: string description: Description of template. status: type: string enum: &id045 - publish - future - draft - pending - private - acf-disabled description: Status of template. author: type: integer description: The ID for the author of the template. area: type: string description: Where the template part is intended for use (header, footer, etc.) responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2TemplatePartsById summary: PUT /wp/v2/template-parts/{id} tags: - template-parts parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: Unique slug identifying the template. theme: type: string description: Theme identifier for the template. type: type: string description: Type of template. content: description: Content of template. title: description: Title of template. description: type: string description: Description of template. status: type: string enum: *id045 description: Status of template. author: type: integer description: The ID for the author of the template. area: type: string description: Where the template part is intended for use (header, footer, etc.) responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2TemplatePartsById summary: PATCH /wp/v2/template-parts/{id} tags: - template-parts parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: Unique slug identifying the template. theme: type: string description: Theme identifier for the template. type: type: string description: Type of template. content: description: Content of template. title: description: Title of template. description: type: string description: Description of template. status: type: string enum: *id045 description: Status of template. author: type: integer description: The ID for the author of the template. area: type: string description: Where the template part is intended for use (header, footer, etc.) responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2TemplatePartsById summary: DELETE /wp/v2/template-parts/{id} tags: - template-parts parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/{id}/autosaves: get: operationId: getWpV2TemplatePartsByIdAutosaves summary: GET /wp/v2/template-parts/{id}/autosaves tags: - template-parts parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2TemplatePartsByIdAutosaves summary: POST /wp/v2/template-parts/{id}/autosaves tags: - template-parts parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: Unique slug identifying the template. theme: type: string description: Theme identifier for the template. type: type: string description: Type of template. content: description: Content of template. title: description: Title of template. description: type: string description: Description of template. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: Status of template. author: type: integer description: The ID for the author of the template. area: type: string description: Where the template part is intended for use (header, footer, etc.) responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/{parent}/autosaves/{id}: get: operationId: getWpV2TemplatePartsByParentAutosavesById summary: GET /wp/v2/template-parts/{parent}/autosaves/{id} tags: - template-parts parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/{parent}/revisions: get: operationId: getWpV2TemplatePartsByParentRevisions summary: GET /wp/v2/template-parts/{parent}/revisions tags: - template-parts parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/{parent}/revisions/{id}: get: operationId: getWpV2TemplatePartsByParentRevisionsById summary: GET /wp/v2/template-parts/{parent}/revisions/{id} tags: - template-parts parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2TemplatePartsByParentRevisionsById summary: DELETE /wp/v2/template-parts/{parent}/revisions/{id} tags: - template-parts parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/lookup: get: operationId: getWpV2TemplatePartsLookup summary: GET /wp/v2/template-parts/lookup tags: - template-parts parameters: - name: slug in: query required: true schema: type: string description: The slug of the template to get the fallback for - name: is_custom in: query required: false schema: type: boolean description: Indicates if a template is custom or part of the template hierarchy - 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` responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates: get: operationId: getWpV2Templates summary: GET /wp/v2/templates tags: - templates 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: wp_id in: query required: false schema: type: integer description: Limit to the specified post id. - name: area in: query required: false schema: type: string description: Limit to the specified template part area. - name: post_type in: query required: false schema: type: string description: Post type to get the templates for. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Templates summary: POST /wp/v2/templates tags: - templates requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: Unique slug identifying the template. theme: type: string description: Theme identifier for the template. type: type: string description: Type of template. content: default: '' description: Content of template. title: default: '' description: Title of template. description: type: string default: '' description: Description of template. status: type: string enum: - publish - future - draft - pending - private - acf-disabled default: publish description: Status of template. author: type: integer description: The ID for the author of the template. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/{id}: get: operationId: getWpV2TemplatesById summary: GET /wp/v2/templates/{id} tags: - templates parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2TemplatesById summary: POST /wp/v2/templates/{id} tags: - templates parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: Unique slug identifying the template. theme: type: string description: Theme identifier for the template. type: type: string description: Type of template. content: description: Content of template. title: description: Title of template. description: type: string description: Description of template. status: type: string enum: &id046 - publish - future - draft - pending - private - acf-disabled description: Status of template. author: type: integer description: The ID for the author of the template. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2TemplatesById summary: PUT /wp/v2/templates/{id} tags: - templates parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: Unique slug identifying the template. theme: type: string description: Theme identifier for the template. type: type: string description: Type of template. content: description: Content of template. title: description: Title of template. description: type: string description: Description of template. status: type: string enum: *id046 description: Status of template. author: type: integer description: The ID for the author of the template. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2TemplatesById summary: PATCH /wp/v2/templates/{id} tags: - templates parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: Unique slug identifying the template. theme: type: string description: Theme identifier for the template. type: type: string description: Type of template. content: description: Content of template. title: description: Title of template. description: type: string description: Description of template. status: type: string enum: *id046 description: Status of template. author: type: integer description: The ID for the author of the template. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2TemplatesById summary: DELETE /wp/v2/templates/{id} tags: - templates parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/{id}/autosaves: get: operationId: getWpV2TemplatesByIdAutosaves summary: GET /wp/v2/templates/{id}/autosaves tags: - templates parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2TemplatesByIdAutosaves summary: POST /wp/v2/templates/{id}/autosaves tags: - templates parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: slug: type: string description: Unique slug identifying the template. theme: type: string description: Theme identifier for the template. type: type: string description: Type of template. content: description: Content of template. title: description: Title of template. description: type: string description: Description of template. status: type: string enum: - publish - future - draft - pending - private - acf-disabled description: Status of template. author: type: integer description: The ID for the author of the template. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/{parent}/autosaves/{id}: get: operationId: getWpV2TemplatesByParentAutosavesById summary: GET /wp/v2/templates/{parent}/autosaves/{id} tags: - templates parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/{parent}/revisions: get: operationId: getWpV2TemplatesByParentRevisions summary: GET /wp/v2/templates/{parent}/revisions tags: - templates parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/{parent}/revisions/{id}: get: operationId: getWpV2TemplatesByParentRevisionsById summary: GET /wp/v2/templates/{parent}/revisions/{id} tags: - templates parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2TemplatesByParentRevisionsById summary: DELETE /wp/v2/templates/{parent}/revisions/{id} tags: - templates parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/lookup: get: operationId: getWpV2TemplatesLookup summary: GET /wp/v2/templates/lookup tags: - templates parameters: - name: slug in: query required: true schema: type: string description: The slug of the template to get the fallback for - name: is_custom in: query required: false schema: type: boolean description: Indicates if a template is custom or part of the template hierarchy - 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` responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/themes: get: operationId: getWpV2Themes summary: GET /wp/v2/themes tags: - themes parameters: - name: status in: query required: false schema: type: array items: type: string description: Limit result set to themes assigned one or more statuses. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/themes/{stylesheet}: get: operationId: getWpV2ThemesByStylesheet summary: GET /wp/v2/themes/{stylesheet} tags: - themes parameters: - name: stylesheet in: path required: true schema: type: string responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/types: get: operationId: getWpV2Types summary: GET /wp/v2/types tags: - types 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/types/{type}: get: operationId: getWpV2TypesByType summary: GET /wp/v2/types/{type} tags: - types parameters: - name: type in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users: get: operationId: getWpV2Users summary: GET /wp/v2/users tags: - users 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: slug in: query required: false schema: type: array items: type: string description: Limit result set to users with one or more specific slugs. - 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: 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: who in: query required: false schema: type: string enum: - authors description: Limit result set to users who are considered authors. - name: has_published_posts in: query required: false schema: items: type: string type: array description: Limit result set to users who have published posts. - name: search_columns in: query required: false schema: type: array default: [] items: type: string description: Array of column names to be searched. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Users summary: POST /wp/v2/users tags: - users requestBody: required: false content: application/json: schema: type: object properties: username: type: string description: Login name for the user. name: type: string description: Display name for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. email: type: string description: The email address for the user. url: type: string description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: - '' - en_US - ar - da_DK - de_DE - es_ES - es_MX - fr_FR - he_IL - hu_HU - ja - nl_BE - pl_PL - pt_BR - pt_PT - ru_RU - uk - vi - zh_CN description: Locale for the user. nickname: type: string description: The nickname for the user. slug: type: string description: An alphanumeric identifier for the user. roles: type: array items: type: string description: Roles assigned to the user. password: type: string description: Password for the user (never included). meta: type: object description: Meta fields. elementor_introduction: type: object description: Elementor user meta data responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users/{id}: get: operationId: getWpV2UsersById summary: GET /wp/v2/users/{id} tags: - users parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2UsersById summary: POST /wp/v2/users/{id} tags: - users parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: username: type: string description: Login name for the user. name: type: string description: Display name for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. email: type: string description: The email address for the user. url: type: string description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: &id047 - '' - en_US - ar - da_DK - de_DE - es_ES - es_MX - fr_FR - he_IL - hu_HU - ja - nl_BE - pl_PL - pt_BR - pt_PT - ru_RU - uk - vi - zh_CN description: Locale for the user. nickname: type: string description: The nickname for the user. slug: type: string description: An alphanumeric identifier for the user. roles: type: array items: type: string description: Roles assigned to the user. password: type: string description: Password for the user (never included). meta: type: object description: Meta fields. elementor_introduction: type: object description: Elementor user meta data responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2UsersById summary: PUT /wp/v2/users/{id} tags: - users parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: username: type: string description: Login name for the user. name: type: string description: Display name for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. email: type: string description: The email address for the user. url: type: string description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: *id047 description: Locale for the user. nickname: type: string description: The nickname for the user. slug: type: string description: An alphanumeric identifier for the user. roles: type: array items: type: string description: Roles assigned to the user. password: type: string description: Password for the user (never included). meta: type: object description: Meta fields. elementor_introduction: type: object description: Elementor user meta data responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2UsersById summary: PATCH /wp/v2/users/{id} tags: - users parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: username: type: string description: Login name for the user. name: type: string description: Display name for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. email: type: string description: The email address for the user. url: type: string description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: *id047 description: Locale for the user. nickname: type: string description: The nickname for the user. slug: type: string description: An alphanumeric identifier for the user. roles: type: array items: type: string description: Roles assigned to the user. password: type: string description: Password for the user (never included). meta: type: object description: Meta fields. elementor_introduction: type: object description: Elementor user meta data responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2UsersById summary: DELETE /wp/v2/users/{id} tags: - users parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users/{user_id}/application-passwords: get: operationId: getWpV2UsersByUserIdApplicationPasswords summary: GET /wp/v2/users/{user_id}/application-passwords tags: - users parameters: - name: user_id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2UsersByUserIdApplicationPasswords summary: POST /wp/v2/users/{user_id}/application-passwords tags: - users parameters: - name: user_id in: path required: true schema: type: string requestBody: required: false 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2UsersByUserIdApplicationPasswords summary: DELETE /wp/v2/users/{user_id}/application-passwords tags: - users parameters: - name: user_id in: path required: true schema: type: string responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users/{user_id}/application-passwords/{uuid}: get: operationId: getWpV2UsersByUserIdApplicationPasswordsByUuid summary: GET /wp/v2/users/{user_id}/application-passwords/{uuid} tags: - users parameters: - name: user_id in: path required: true schema: type: string - name: uuid in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2UsersByUserIdApplicationPasswordsByUuid summary: POST /wp/v2/users/{user_id}/application-passwords/{uuid} tags: - users parameters: - name: user_id in: path required: true schema: type: string - name: uuid in: path required: true schema: type: string requestBody: required: false 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2UsersByUserIdApplicationPasswordsByUuid summary: PUT /wp/v2/users/{user_id}/application-passwords/{uuid} tags: - users parameters: - name: user_id in: path required: true schema: type: string - name: uuid in: path required: true schema: type: string requestBody: required: false 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2UsersByUserIdApplicationPasswordsByUuid summary: PATCH /wp/v2/users/{user_id}/application-passwords/{uuid} tags: - users parameters: - name: user_id in: path required: true schema: type: string - name: uuid in: path required: true schema: type: string requestBody: required: false 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2UsersByUserIdApplicationPasswordsByUuid summary: DELETE /wp/v2/users/{user_id}/application-passwords/{uuid} tags: - users parameters: - name: user_id in: path required: true schema: type: string - name: uuid in: path required: true schema: type: string responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users/{user_id}/application-passwords/introspect: get: operationId: getWpV2UsersByUserIdApplicationPasswordsIntrospect summary: GET /wp/v2/users/{user_id}/application-passwords/introspect tags: - users parameters: - name: user_id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users/me: get: operationId: getWpV2UsersMe summary: GET /wp/v2/users/me tags: - users 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2UsersMe summary: POST /wp/v2/users/me tags: - users requestBody: required: false content: application/json: schema: type: object properties: username: type: string description: Login name for the user. name: type: string description: Display name for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. email: type: string description: The email address for the user. url: type: string description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: &id048 - '' - en_US - ar - da_DK - de_DE - es_ES - es_MX - fr_FR - he_IL - hu_HU - ja - nl_BE - pl_PL - pt_BR - pt_PT - ru_RU - uk - vi - zh_CN description: Locale for the user. nickname: type: string description: The nickname for the user. slug: type: string description: An alphanumeric identifier for the user. roles: type: array items: type: string description: Roles assigned to the user. password: type: string description: Password for the user (never included). meta: type: object description: Meta fields. elementor_introduction: type: object description: Elementor user meta data responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2UsersMe summary: PUT /wp/v2/users/me tags: - users requestBody: required: false content: application/json: schema: type: object properties: username: type: string description: Login name for the user. name: type: string description: Display name for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. email: type: string description: The email address for the user. url: type: string description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: *id048 description: Locale for the user. nickname: type: string description: The nickname for the user. slug: type: string description: An alphanumeric identifier for the user. roles: type: array items: type: string description: Roles assigned to the user. password: type: string description: Password for the user (never included). meta: type: object description: Meta fields. elementor_introduction: type: object description: Elementor user meta data responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2UsersMe summary: PATCH /wp/v2/users/me tags: - users requestBody: required: false content: application/json: schema: type: object properties: username: type: string description: Login name for the user. name: type: string description: Display name for the user. first_name: type: string description: First name for the user. last_name: type: string description: Last name for the user. email: type: string description: The email address for the user. url: type: string description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: *id048 description: Locale for the user. nickname: type: string description: The nickname for the user. slug: type: string description: An alphanumeric identifier for the user. roles: type: array items: type: string description: Roles assigned to the user. password: type: string description: Password for the user (never included). meta: type: object description: Meta fields. elementor_introduction: type: object description: Elementor user meta data responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2UsersMe summary: DELETE /wp/v2/users/me tags: - users 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/visibility: get: operationId: getWpV2Visibility summary: GET /wp/v2/visibility tags: - visibility 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Visibility summary: POST /wp/v2/visibility tags: - visibility requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/visibility/{id}: get: operationId: getWpV2VisibilityById summary: GET /wp/v2/visibility/{id} tags: - visibility parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2VisibilityById summary: POST /wp/v2/visibility/{id} tags: - visibility parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2VisibilityById summary: PUT /wp/v2/visibility/{id} tags: - visibility parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2VisibilityById summary: PATCH /wp/v2/visibility/{id} tags: - visibility parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2VisibilityById summary: DELETE /wp/v2/visibility/{id} tags: - visibility parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widget-types: get: operationId: getWpV2WidgetTypes summary: GET /wp/v2/widget-types tags: - widget-types 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widget-types/{id}: get: operationId: getWpV2WidgetTypesById summary: GET /wp/v2/widget-types/{id} tags: - widget-types parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widget-types/{id}/encode: post: operationId: createWpV2WidgetTypesByIdEncode summary: POST /wp/v2/widget-types/{id}/encode tags: - widget-types parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: instance: type: object description: Current instance settings of the widget. form_data: type: string description: Serialized widget form data to encode into instance settings. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widget-types/{id}/render: post: operationId: createWpV2WidgetTypesByIdRender summary: POST /wp/v2/widget-types/{id}/render tags: - widget-types parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: instance: type: object description: Current instance settings of the widget. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widgets: get: operationId: getWpV2Widgets summary: GET /wp/v2/widgets tags: - widgets 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2Widgets summary: POST /wp/v2/widgets tags: - widgets requestBody: required: false content: application/json: schema: type: object properties: 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. sidebar: type: string default: wp_inactive_widgets description: The sidebar the widget belongs to. instance: type: object description: Instance settings of the widget, if supported. 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widgets/{id}: get: operationId: getWpV2WidgetsById summary: GET /wp/v2/widgets/{id} tags: - widgets parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2WidgetsById summary: POST /wp/v2/widgets/{id} tags: - widgets parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: id_base: type: string description: The type of the widget. Corresponds to ID in widget-types endpoint. sidebar: type: string description: The sidebar the widget belongs to. instance: type: object description: Instance settings of the widget, if supported. 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2WidgetsById summary: PUT /wp/v2/widgets/{id} tags: - widgets parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: id_base: type: string description: The type of the widget. Corresponds to ID in widget-types endpoint. sidebar: type: string description: The sidebar the widget belongs to. instance: type: object description: Instance settings of the widget, if supported. 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2WidgetsById summary: PATCH /wp/v2/widgets/{id} tags: - widgets parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: id_base: type: string description: The type of the widget. Corresponds to ID in widget-types endpoint. sidebar: type: string description: The sidebar the widget belongs to. instance: type: object description: Instance settings of the widget, if supported. 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2WidgetsById summary: DELETE /wp/v2/widgets/{id} tags: - widgets parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean description: Whether to force removal of the widget, or move it to the inactive sidebar. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wp_pattern_category: get: operationId: getWpV2WpPatternCategory summary: GET /wp/v2/wp_pattern_category tags: - wp_pattern_category 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2WpPatternCategory summary: POST /wp/v2/wp_pattern_category tags: - wp_pattern_category requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wp_pattern_category/{id}: get: operationId: getWpV2WpPatternCategoryById summary: GET /wp/v2/wp_pattern_category/{id} tags: - wp_pattern_category parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2WpPatternCategoryById summary: POST /wp/v2/wp_pattern_category/{id} tags: - wp_pattern_category parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2WpPatternCategoryById summary: PUT /wp/v2/wp_pattern_category/{id} tags: - wp_pattern_category parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2WpPatternCategoryById summary: PATCH /wp/v2/wp_pattern_category/{id} tags: - wp_pattern_category parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2WpPatternCategoryById summary: DELETE /wp/v2/wp_pattern_category/{id} tags: - wp_pattern_category parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wpsl_store_category: get: operationId: getWpV2WpslStoreCategory summary: GET /wp/v2/wpsl_store_category tags: - wpsl_store_category 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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: hide_empty in: query required: false schema: type: boolean default: false description: Whether to hide terms not assigned to any posts. - name: parent in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific parent. - name: post in: query required: false schema: type: integer description: Limit result set to terms assigned to a specific post. - name: slug in: query required: false schema: type: array items: type: string description: Limit result set to terms with one or more specific slugs. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2WpslStoreCategory summary: POST /wp/v2/wpsl_store_category tags: - wpsl_store_category requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wpsl_store_category/{id}: get: operationId: getWpV2WpslStoreCategoryById summary: GET /wp/v2/wpsl_store_category/{id} tags: - wpsl_store_category parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2WpslStoreCategoryById summary: POST /wp/v2/wpsl_store_category/{id} tags: - wpsl_store_category parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2WpslStoreCategoryById summary: PUT /wp/v2/wpsl_store_category/{id} tags: - wpsl_store_category parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2WpslStoreCategoryById summary: PATCH /wp/v2/wpsl_store_category/{id} tags: - wpsl_store_category parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: description: type: string description: HTML description of the term. name: type: string description: HTML title for the term. slug: type: string description: An alphanumeric identifier for the term unique to its type. parent: type: integer description: The parent term ID. meta: type: object description: Meta fields. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2WpslStoreCategoryById summary: DELETE /wp/v2/wpsl_store_category/{id} tags: - wpsl_store_category parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as terms do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wpsl_stores: get: operationId: getWpV2WpslStores summary: GET /wp/v2/wpsl_stores tags: - wpsl_stores 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 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: after in: query required: false schema: type: string description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string description: Limit response to posts modified after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to posts assigned to specific authors. - name: author_exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes posts assigned to specific authors. - name: before in: query required: false schema: type: string description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string description: Limit response to posts modified before a given ISO8601 compliant date. - name: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer description: Limit result set to specific IDs. - name: search_semantics in: query required: false schema: type: string enum: - exact description: How to interpret the search input. - 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: search_columns in: query required: false schema: type: array default: [] items: type: string 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 posts with one or more specific slugs. - name: status in: query required: false schema: type: array default: publish items: type: string 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: product_category in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the product_category taxonomy. - name: product_category_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the product_category taxonomy. - name: store_location in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the store_location taxonomy. - name: store_location_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the store_location taxonomy. - name: wpsl_store_category in: query required: false schema: {} description: Limit result set to items with specific terms assigned in the wpsl_store_category taxonomy. - name: wpsl_store_category_exclude in: query required: false schema: {} description: Limit result set to items except those with specific terms assigned in the wpsl_store_category taxonomy. - name: format in: query required: false schema: type: array items: type: string description: Limit result set to items assigned one or more given formats. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2WpslStores summary: POST /wp/v2/wpsl_stores tags: - wpsl_stores requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. 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. template: type: string description: The theme file to use to display the post. product_category: type: array items: type: integer description: The terms assigned to the post in the product_category taxonomy. store_location: type: array items: type: integer description: The terms assigned to the post in the store_location taxonomy. wpsl_store_category: type: array items: type: integer description: The terms assigned to the post in the wpsl_store_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wpsl_stores/{id}: get: operationId: getWpV2WpslStoresById summary: GET /wp/v2/wpsl_stores/{id} tags: - wpsl_stores parameters: - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2WpslStoresById summary: POST /wp/v2/wpsl_stores/{id} tags: - wpsl_stores parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: &id049 - publish - future - draft - pending - private - acf-disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. 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: &id050 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. template: type: string description: The theme file to use to display the post. product_category: type: array items: type: integer description: The terms assigned to the post in the product_category taxonomy. store_location: type: array items: type: integer description: The terms assigned to the post in the store_location taxonomy. wpsl_store_category: type: array items: type: integer description: The terms assigned to the post in the wpsl_store_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: replaceWpV2WpslStoresById summary: PUT /wp/v2/wpsl_stores/{id} tags: - wpsl_stores parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id049 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. 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: *id050 description: The format for the post. template: type: string description: The theme file to use to display the post. product_category: type: array items: type: integer description: The terms assigned to the post in the product_category taxonomy. store_location: type: array items: type: integer description: The terms assigned to the post in the store_location taxonomy. wpsl_store_category: type: array items: type: integer description: The terms assigned to the post in the wpsl_store_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: updateWpV2WpslStoresById summary: PATCH /wp/v2/wpsl_stores/{id} tags: - wpsl_stores parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. slug: type: string description: An alphanumeric identifier for the post unique to its type. status: type: string enum: *id049 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. 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: *id050 description: The format for the post. template: type: string description: The theme file to use to display the post. product_category: type: array items: type: integer description: The terms assigned to the post in the product_category taxonomy. store_location: type: array items: type: integer description: The terms assigned to the post in the store_location taxonomy. wpsl_store_category: type: array items: type: integer description: The terms assigned to the post in the wpsl_store_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2WpslStoresById summary: DELETE /wp/v2/wpsl_stores/{id} tags: - wpsl_stores parameters: - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wpsl_stores/{id}/autosaves: get: operationId: getWpV2WpslStoresByIdAutosaves summary: GET /wp/v2/wpsl_stores/{id}/autosaves tags: - wpsl_stores parameters: - name: id in: path required: true schema: type: string - name: parent in: query required: false schema: type: integer description: The ID for the parent of the autosave. - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: createWpV2WpslStoresByIdAutosaves summary: POST /wp/v2/wpsl_stores/{id}/autosaves tags: - wpsl_stores parameters: - name: id in: path required: true schema: type: string requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: description: The date the post was published, in the site's timezone. date_gmt: description: The date the post was published, as GMT. 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. password: type: string description: A password to protect access to the content and excerpt. title: type: object description: The title for the post. content: type: object description: The content for the post. author: type: integer description: The ID for the author of the post. 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. template: type: string description: The theme file to use to display the post. product_category: type: array items: type: integer description: The terms assigned to the post in the product_category taxonomy. store_location: type: array items: type: integer description: The terms assigned to the post in the store_location taxonomy. wpsl_store_category: type: array items: type: integer description: The terms assigned to the post in the wpsl_store_category taxonomy. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wpsl_stores/{parent}/autosaves/{id}: get: operationId: getWpV2WpslStoresByParentAutosavesById summary: GET /wp/v2/wpsl_stores/{parent}/autosaves/{id} tags: - wpsl_stores parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wpsl_stores/{parent}/revisions: get: operationId: getWpV2WpslStoresByParentRevisions summary: GET /wp/v2/wpsl_stores/{parent}/revisions tags: - wpsl_stores parameters: - name: parent in: path required: true schema: type: string - 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 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer 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: exclude in: query required: false schema: type: array default: [] items: type: integer description: Ensure result set excludes specific IDs. - name: include in: query required: false schema: type: array default: [] items: type: integer 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wpsl_stores/{parent}/revisions/{id}: get: operationId: getWpV2WpslStoresByParentRevisionsById summary: GET /wp/v2/wpsl_stores/{parent}/revisions/{id} tags: - wpsl_stores parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - 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. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: deleteWpV2WpslStoresByParentRevisionsById summary: DELETE /wp/v2/wpsl_stores/{parent}/revisions/{id} tags: - wpsl_stores parameters: - name: parent in: path required: true schema: type: string - name: id in: path required: true schema: type: string - name: force in: query required: false schema: type: boolean default: false description: Required to be true, as revisions do not support trashing. responses: '200': description: Success headers: X-WP-Total: description: Total number of matching records (collection routes) schema: type: integer X-WP-TotalPages: description: Total number of pages (collection routes) schema: type: integer Link: description: RFC 8288 pagination links (rel=next / rel=prev) schema: type: string X-Robots-Tag: description: noindex — observed on every wp/v2 response from www.greif.com schema: type: string content: application/json: schema: {} '400': description: rest_invalid_param — a parameter failed validation content: application/json: schema: $ref: '#/components/schemas/WPError' '401': description: rest_forbidden / rest_cannot_access — authentication required for this route content: application/json: schema: $ref: '#/components/schemas/WPError' '403': description: rest_forbidden / rest_cannot_* — authenticated but not permitted content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: rest_no_route / rest_post_invalid_id — route or resource not found content: application/json: schema: $ref: '#/components/schemas/WPError' components: securitySchemes: basicAuth: type: http scheme: basic description: WordPress application passwords, advertised by the site's own discovery document at https://www.greif.com/wp-json/ (authentication.application-passwords.endpoints.authorization = https://www.greif.com/wp-admin/authorize-application.php). Issued only to WordPress user accounts on the Greif site; not available to third parties. cookieNonce: type: apiKey in: header name: X-WP-Nonce description: WordPress logged-in cookie plus an X-WP-Nonce header — the in-browser authentication path for the site's own editors. schemas: WPError: type: object description: The WordPress REST error envelope, observed verbatim on https://www.greif.com/wp-json/wp/v2/settings (HTTP 401, 2026-09-12). Not RFC 9457 problem+json. properties: code: type: string examples: - rest_forbidden message: type: string examples: - Sorry, you are not allowed to do that. data: type: object properties: status: type: integer examples: - 401 required: - code - message - data x-generated-from: https://www.greif.com/wp-json/ (WordPress REST route-discovery document, HTTP 200, 2026-09-12) x-generated-by: API Evangelist enrichment pipeline — mechanical transform of the provider-served route index; no hand-authored operations