openapi: 3.1.0 info: title: VICE WordPress REST API version: wp/v2 summary: The live WordPress REST API served by VICE (vice.com) at https://www.vice.com/wp-json/. description: |- Derived mechanically and verbatim from the route-discovery document the VICE (vice.com) web server publishes at https://www.vice.com/wp-json/ (fetched 2026-09-04, HTTP 200). Every path, method, parameter name, type, default, enum and required flag in this document was read from that live response; nothing was invented. The provider advertises this surface itself: every page on the site carries `` in its head, and `https://www.vice.com/robots.txt` disallows nothing. This is the content-management and syndication API of a publishing property, not a commercial developer product. It is included because it is a real, live, self-describing HTTP contract on the brand's own host that serves the public editorial archive anonymously. Only the WordPress core namespaces are represented (`wp/v2`, `wp-abilities/v1`, `oembed/1.0`, and the root index). Third-party and operator plugin namespaces advertised by the same discovery document — `akismet/v1`, `apple-news/v1`, `block-visibility/v1`, `byline-manager/v1`, `cron-control/v1`, `duplicate-post/v1`, `elasticpress/v1`, `jetpack-boost/v1`, `jetpack/v4`, `jetpack/v4/explat`, `jetpack/v4/import`, `jetpack/v4/stats-app`, `my-jetpack/v1`, `post-smtp/v1`, `post-smtp/v2`, `psd/v1`, `savage-api-helper/v1`, `savage-platform/v1`, `savage-platform/v1/blocks`, `savage/v1`, `two-factor/1.0`, `vip/v1`, `vt/v1`, `wp-block-editor/v1`, `wp-curate/v1`, `wp-parsely/v1`, `wp-site-health/v1`, `wpcom/v2`, `wpcom/v3`, `yoast/v1` — are intentionally excluded as vendor plugin internals; all of them were observed returning HTTP 401 anonymously. contact: name: VICE Media security / responsible disclosure email: infosec@vice.com url: https://www.vice.com/en/vice-responsible-disclosure-policy/ termsOfService: https://www.vice.com/en/terms/ x-derived-from: https://www.vice.com/wp-json/ x-derived-on: '2026-09-04' x-apievangelist-method: derived servers: - url: https://www.vice.com description: Production tags: - name: oembed/1.0 description: oEmbed 1.0 provider endpoints — discovery and proxy for embeddable representations of VICE articles and videos. - name: root description: REST API index / namespace and route discovery. - name: wp-abilities/v1 description: WordPress Abilities API — the registry of named abilities an agent can discover and run. Read and run are capability-gated (observed HTTP 401 anonymously). - name: wp/v2 description: WordPress core content API — posts, pages, media, custom post types (sections, profiles, products), taxonomies (categories, tags, bylines, brands, platform languages), search, types, statuses and settings. components: securitySchemes: applicationPassword: type: http scheme: basic description: WordPress Application Passwords (HTTP Basic). The live discovery document declares this as the site's authentication method, with the authorization endpoint at https://www.vice.com/wp-admin/authorize-application.php. wpNonce: type: apiKey in: header name: X-WP-Nonce description: WordPress cookie-authentication nonce. Advertised by the live server in its Access-Control-Allow-Headers response header (Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type). schemas: WPError: type: object description: The WordPress REST error envelope, observed live on this host. It is NOT RFC 9457 application/problem+json. properties: code: type: string description: Machine-readable error code, e.g. rest_forbidden. message: type: string description: Human-readable message. data: type: object properties: status: type: integer description: HTTP status repeated in the body. required: - code - message paths: /: get: operationId: get_root summary: GET / description: '`GET` on the WordPress REST route `/` in namespace `root`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - root parameters: - name: context in: query required: false schema: default: view responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /batch/v1: post: operationId: post_batch_v1 summary: POST /batch/v1 description: '`POST` on the WordPress REST route `/batch/v1` in namespace `root`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - root requestBody: required: true content: application/json: schema: type: object properties: validation: type: string enum: - require-all-validate - normal default: normal requests: type: array items: type: object required: - requests responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /oembed/1.0: get: operationId: get_oembed_1_0 summary: GET /oembed/1.0 description: '`GET` on the WordPress REST route `/oembed/1.0` in namespace `oembed/1.0`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - oembed/1.0 parameters: - name: namespace in: query required: false schema: default: oembed/1.0 - name: context in: query required: false schema: default: view responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /oembed/1.0/embed: get: operationId: get_oembed_1_0_embed summary: GET /oembed/1.0/embed description: '`GET` on the WordPress REST route `/oembed/1.0/embed` in namespace `oembed/1.0`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - oembed/1.0 parameters: - name: url in: query required: true schema: type: string format: uri description: The URL of the resource for which to fetch oEmbed data. - name: format in: query required: false schema: default: json - name: maxwidth in: query required: false schema: default: 600 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /oembed/1.0/proxy: get: operationId: get_oembed_1_0_proxy summary: GET /oembed/1.0/proxy description: '`GET` on the WordPress REST route `/oembed/1.0/proxy` in namespace `oembed/1.0`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - oembed/1.0 parameters: - name: url in: query required: true schema: type: string format: uri description: The URL of the resource for which to fetch oEmbed data. - name: format in: query required: false schema: type: string enum: - json - xml default: json description: The oEmbed format to use. - name: maxwidth in: query required: false schema: type: integer default: 600 description: The maximum width of the embed frame in pixels. - name: maxheight in: query required: false schema: type: integer description: The maximum height of the embed frame in pixels. - name: discover in: query required: false schema: type: boolean default: true description: Whether to perform an oEmbed discovery request for unsanctioned providers. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp-abilities/v1: get: operationId: get_wp_abilities_v1 summary: GET /wp-abilities/v1 description: '`GET` on the WordPress REST route `/wp-abilities/v1` in namespace `wp-abilities/v1`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp-abilities/v1 parameters: - name: namespace in: query required: false schema: default: wp-abilities/v1 - name: context in: query required: false schema: default: view responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp-abilities/v1/abilities: get: operationId: get_wp_abilities_v1_abilities summary: GET /wp-abilities/v1/abilities description: '`GET` on the WordPress REST route `/wp-abilities/v1/abilities` in namespace `wp-abilities/v1`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp-abilities/v1 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 50 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: category in: query required: false schema: type: string description: Limit results to abilities in specific ability category. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp-abilities/v1/abilities/{name}: parameters: - name: name in: path required: true description: Path segment matched by the WordPress route pattern `[a-zA-Z0-9\-\/]+`. schema: type: string pattern: '[a-zA-Z0-9\-\/]+' get: operationId: get_wp_abilities_v1_abilities_by_name summary: GET /wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+) description: '`GET` on the WordPress REST route `/wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+)` in namespace `wp-abilities/v1`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp-abilities/v1 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp-abilities/v1/abilities/{name}/run: parameters: - name: name in: path required: true description: Path segment matched by the WordPress route pattern `[a-zA-Z0-9\-\/]+?`. schema: type: string pattern: '[a-zA-Z0-9\-\/]+?' get: operationId: get_wp_abilities_v1_abilities_by_name_run summary: GET /wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+?)/run description: '`GET` on the WordPress REST route `/wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+?)/run` in namespace `wp-abilities/v1`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp-abilities/v1 parameters: - name: input in: query required: false schema: type: - integer - number - boolean - string - array - object - 'null' default: null description: Input parameters for the ability execution. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_abilities_v1_abilities_by_name_run summary: POST /wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+?)/run description: '`POST` on the WordPress REST route `/wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+?)/run` in namespace `wp-abilities/v1`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp-abilities/v1 requestBody: required: false content: application/json: schema: type: object properties: input: type: - integer - number - boolean - string - array - object - 'null' default: null description: Input parameters for the ability execution. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_abilities_v1_abilities_by_name_run summary: PUT /wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+?)/run description: '`PUT` on the WordPress REST route `/wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+?)/run` in namespace `wp-abilities/v1`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp-abilities/v1 requestBody: required: false content: application/json: schema: type: object properties: input: type: - integer - number - boolean - string - array - object - 'null' default: null description: Input parameters for the ability execution. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_abilities_v1_abilities_by_name_run summary: PATCH /wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+?)/run description: '`PATCH` on the WordPress REST route `/wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+?)/run` in namespace `wp-abilities/v1`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp-abilities/v1 requestBody: required: false content: application/json: schema: type: object properties: input: type: - integer - number - boolean - string - array - object - 'null' default: null description: Input parameters for the ability execution. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_abilities_v1_abilities_by_name_run summary: DELETE /wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+?)/run description: '`DELETE` on the WordPress REST route `/wp-abilities/v1/abilities/(?P[a-zA-Z0-9\-\/]+?)/run` in namespace `wp-abilities/v1`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp-abilities/v1 parameters: - name: input in: query required: false schema: type: - integer - number - boolean - string - array - object - 'null' default: null description: Input parameters for the ability execution. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp-abilities/v1/categories: get: operationId: get_wp_abilities_v1_categories summary: GET /wp-abilities/v1/categories description: '`GET` on the WordPress REST route `/wp-abilities/v1/categories` in namespace `wp-abilities/v1`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp-abilities/v1 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 50 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp-abilities/v1/categories/{slug}: parameters: - name: slug in: path required: true description: Path segment matched by the WordPress route pattern `[a-z0-9]+(?:-[a-z0-9]+)*`. schema: type: string pattern: '[a-z0-9]+(?:-[a-z0-9]+)*' get: operationId: get_wp_abilities_v1_categories_by_slug summary: GET /wp-abilities/v1/categories/(?P[a-z0-9]+(?:-[a-z0-9]+)*) description: '`GET` on the WordPress REST route `/wp-abilities/v1/categories/(?P[a-z0-9]+(?:-[a-z0-9]+)*)` in namespace `wp-abilities/v1`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp-abilities/v1 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2: get: operationId: get_wp_v2 summary: GET /wp/v2 description: '`GET` on the WordPress REST route `/wp/v2` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: namespace in: query required: false schema: default: wp/v2 - name: context in: query required: false schema: default: view responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/activity-log-events: get: operationId: get_wp_v2_activity_log_events summary: GET /wp/v2/activity-log-events description: '`GET` on the WordPress REST route `/wp/v2/activity-log-events` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any description: Limit result set to posts assigned one or more statuses. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_activity_log_events summary: POST /wp/v2/activity-log-events description: '`POST` on the WordPress REST route `/wp/v2/activity-log-events` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/activity-log-events/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_activity_log_events_by_id summary: GET /wp/v2/activity-log-events/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/activity-log-events/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: password in: query required: false schema: type: string description: The password for the post if it is password protected. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_activity_log_events_by_id summary: POST /wp/v2/activity-log-events/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/activity-log-events/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: &id001 - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_activity_log_events_by_id summary: PUT /wp/v2/activity-log-events/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/activity-log-events/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id001 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_activity_log_events_by_id summary: PATCH /wp/v2/activity-log-events/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/activity-log-events/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id001 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_activity_log_events_by_id summary: DELETE /wp/v2/activity-log-events/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/activity-log-events/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/activity-log-events/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_activity_log_events_by_id_autosaves summary: GET /wp/v2/activity-log-events/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/activity-log-events/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_activity_log_events_by_id_autosaves summary: POST /wp/v2/activity-log-events/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/activity-log-events/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/activity-log-events/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_activity_log_events_by_parent_autosaves_by_id summary: GET /wp/v2/activity-log-events/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/activity-log-events/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-directory/search: get: operationId: get_wp_v2_block_directory_search summary: GET /wp/v2/block-directory/search description: '`GET` on the WordPress REST route `/wp/v2/block-directory/search` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: term in: query required: true schema: type: string description: Limit result set to blocks matching the search term. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-patterns/categories: get: operationId: get_wp_v2_block_patterns_categories summary: GET /wp/v2/block-patterns/categories description: '`GET` on the WordPress REST route `/wp/v2/block-patterns/categories` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-patterns/patterns: get: operationId: get_wp_v2_block_patterns_patterns summary: GET /wp/v2/block-patterns/patterns description: '`GET` on the WordPress REST route `/wp/v2/block-patterns/patterns` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-renderer/{name}: parameters: - name: name in: path required: true description: Path segment matched by the WordPress route pattern `[a-z0-9-]+/[a-z0-9-]+`. schema: type: string pattern: '[a-z0-9-]+/[a-z0-9-]+' get: operationId: get_wp_v2_block_renderer_by_name summary: GET /wp/v2/block-renderer/(?P[a-z0-9-]+/[a-z0-9-]+) description: '`GET` on the WordPress REST route `/wp/v2/block-renderer/(?P[a-z0-9-]+/[a-z0-9-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: &id002 - edit default: view description: Scope under which the request is made; determines fields present in response. - name: attributes in: query required: false schema: type: object default: &id003 [] 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_block_renderer_by_name summary: POST /wp/v2/block-renderer/(?P[a-z0-9-]+/[a-z0-9-]+) description: '`POST` on the WordPress REST route `/wp/v2/block-renderer/(?P[a-z0-9-]+/[a-z0-9-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: context: type: string enum: *id002 default: view description: Scope under which the request is made; determines fields present in response. attributes: type: object default: *id003 description: Attributes for the block. post_id: type: integer description: ID of the post context. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-types: get: operationId: get_wp_v2_block_types summary: GET /wp/v2/block-types description: '`GET` on the WordPress REST route `/wp/v2/block-types` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-types/{namespace}: parameters: - name: namespace in: path required: true description: Path segment matched by the WordPress route pattern `[a-zA-Z0-9_-]+`. schema: type: string pattern: '[a-zA-Z0-9_-]+' get: operationId: get_wp_v2_block_types_by_namespace summary: GET /wp/v2/block-types/(?P[a-zA-Z0-9_-]+) description: '`GET` on the WordPress REST route `/wp/v2/block-types/(?P[a-zA-Z0-9_-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/block-types/{namespace}/{name}: parameters: - name: namespace in: path required: true description: Path segment matched by the WordPress route pattern `[a-zA-Z0-9_-]+`. schema: type: string pattern: '[a-zA-Z0-9_-]+' - name: name in: path required: true description: Path segment matched by the WordPress route pattern `[a-zA-Z0-9_-]+`. schema: type: string pattern: '[a-zA-Z0-9_-]+' get: operationId: get_wp_v2_block_types_by_namespace_by_name summary: GET /wp/v2/block-types/(?P[a-zA-Z0-9_-]+)/(?P[a-zA-Z0-9_-]+) description: '`GET` on the WordPress REST route `/wp/v2/block-types/(?P[a-zA-Z0-9_-]+)/(?P[a-zA-Z0-9_-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks: get: operationId: get_wp_v2_blocks summary: GET /wp/v2/blocks description: '`GET` on the WordPress REST route `/wp/v2/blocks` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any description: Limit result set to posts assigned one or more statuses. - name: tax_relation in: query required: false schema: type: string enum: - AND - OR description: Limit result set based on relationship between multiple taxonomies. - name: wp_pattern_category in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the wp_pattern_category taxonomy. - name: wp_pattern_category_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the wp_pattern_category taxonomy. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_blocks summary: POST /wp/v2/blocks description: '`POST` on the WordPress REST route `/wp/v2/blocks` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string description: The title for the post. content: type: object properties: raw: type: string block_version: type: integer protected: type: boolean description: The content for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object wp_pattern_sync_status: type: string enum: - partial - unsynced default: '' footnotes: type: string default: '' 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_blocks_by_id summary: GET /wp/v2/blocks/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_blocks_by_id summary: POST /wp/v2/blocks/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string description: The title for the post. content: type: object properties: raw: type: string block_version: type: integer protected: type: boolean description: The content for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. meta: type: object properties: byline: type: object default: &id005 [] properties: profiles: type: array items: type: object wp_pattern_sync_status: type: string enum: &id006 - partial - unsynced default: '' footnotes: type: string default: '' 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_blocks_by_id summary: PUT /wp/v2/blocks/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 properties: raw: type: string description: The title for the post. content: type: object properties: raw: type: string block_version: type: integer protected: type: boolean description: The content for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. meta: type: object properties: byline: type: object default: *id005 properties: profiles: type: array items: type: object wp_pattern_sync_status: type: string enum: *id006 default: '' footnotes: type: string default: '' 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_blocks_by_id summary: PATCH /wp/v2/blocks/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 properties: raw: type: string description: The title for the post. content: type: object properties: raw: type: string block_version: type: integer protected: type: boolean description: The content for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. meta: type: object properties: byline: type: object default: *id005 properties: profiles: type: array items: type: object wp_pattern_sync_status: type: string enum: *id006 default: '' footnotes: type: string default: '' 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_blocks_by_id summary: DELETE /wp/v2/blocks/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_blocks_by_id_autosaves summary: GET /wp/v2/blocks/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_blocks_by_id_autosaves summary: POST /wp/v2/blocks/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string description: The title for the post. content: type: object properties: raw: type: string block_version: type: integer protected: type: boolean description: The content for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object wp_pattern_sync_status: type: string enum: - partial - unsynced default: '' footnotes: type: string default: '' 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_blocks_by_parent_autosaves_by_id summary: GET /wp/v2/blocks/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_blocks_by_parent_revisions summary: GET /wp/v2/blocks/(?P[\d]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/blocks/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_blocks_by_parent_revisions_by_id summary: GET /wp/v2/blocks/(?P[\d]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_blocks_by_parent_revisions_by_id summary: DELETE /wp/v2/blocks/(?P[\d]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/blocks/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/brands: get: operationId: get_wp_v2_brands summary: GET /wp/v2/brands description: '`GET` on the WordPress REST route `/wp/v2/brands` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - 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 default: null 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_brands summary: POST /wp/v2/brands description: '`POST` on the WordPress REST route `/wp/v2/brands` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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. required: - name responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/brands/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_brands_by_id summary: GET /wp/v2/brands/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/brands/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_brands_by_id summary: POST /wp/v2/brands/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/brands/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_brands_by_id summary: PUT /wp/v2/brands/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/brands/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_brands_by_id summary: PATCH /wp/v2/brands/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/brands/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_brands_by_id summary: DELETE /wp/v2/brands/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/brands/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/byline: get: operationId: get_wp_v2_byline summary: GET /wp/v2/byline description: '`GET` on the WordPress REST route `/wp/v2/byline` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - 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 default: null 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_byline summary: POST /wp/v2/byline description: '`POST` on the WordPress REST route `/wp/v2/byline` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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. required: - name responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/byline/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_byline_by_id summary: GET /wp/v2/byline/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/byline/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_byline_by_id summary: POST /wp/v2/byline/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/byline/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_byline_by_id summary: PUT /wp/v2/byline/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/byline/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_byline_by_id summary: PATCH /wp/v2/byline/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/byline/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_byline_by_id summary: DELETE /wp/v2/byline/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/byline/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/categories: get: operationId: get_wp_v2_categories summary: GET /wp/v2/categories description: '`GET` on the WordPress REST route `/wp/v2/categories` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - 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 default: null 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_categories summary: POST /wp/v2/categories description: '`POST` on the WordPress REST route `/wp/v2/categories` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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. required: - name responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/categories/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_categories_by_id summary: GET /wp/v2/categories/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/categories/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_categories_by_id summary: POST /wp/v2/categories/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/categories/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_categories_by_id summary: PUT /wp/v2/categories/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/categories/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_categories_by_id summary: PATCH /wp/v2/categories/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/categories/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_categories_by_id summary: DELETE /wp/v2/categories/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/categories/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/comments: get: operationId: get_wp_v2_comments summary: GET /wp/v2/comments description: '`GET` on the WordPress REST route `/wp/v2/comments` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to comments published after a given ISO8601 compliant date. - name: author in: query required: false schema: type: array items: type: integer description: Limit result set to comments assigned to specific user IDs. Requires authorization. - name: author_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 format: email default: null description: Limit result set to that from a specific author email. Requires authorization. - name: before in: query required: false schema: type: string format: date-time description: Limit response to comments published before a given ISO8601 compliant date. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_comments summary: POST /wp/v2/comments description: '`POST` on the WordPress REST route `/wp/v2/comments` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 format: email description: Email address for the comment author. author_ip: type: string format: ip description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string format: uri description: URL for the comment author. author_user_agent: type: string description: User agent for the comment author. content: type: object properties: raw: type: string rendered: type: string description: The content for the comment. date: type: string format: date-time description: The date the comment was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the comment was published, as GMT. 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 properties: _wp_note_status: type: string enum: - resolved - reopen default: '' description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/comments/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_comments_by_id summary: GET /wp/v2/comments/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/comments/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_comments_by_id summary: POST /wp/v2/comments/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/comments/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 format: email description: Email address for the comment author. author_ip: type: string format: ip description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string format: uri description: URL for the comment author. author_user_agent: type: string description: User agent for the comment author. content: type: object properties: raw: type: string rendered: type: string description: The content for the comment. date: type: string format: date-time description: The date the comment was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the comment was published, as GMT. 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 properties: _wp_note_status: type: string enum: &id007 - resolved - reopen default: '' description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_comments_by_id summary: PUT /wp/v2/comments/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/comments/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 format: email description: Email address for the comment author. author_ip: type: string format: ip description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string format: uri description: URL for the comment author. author_user_agent: type: string description: User agent for the comment author. content: type: object properties: raw: type: string rendered: type: string description: The content for the comment. date: type: string format: date-time description: The date the comment was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the comment was published, as GMT. 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 properties: _wp_note_status: type: string enum: *id007 default: '' description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_comments_by_id summary: PATCH /wp/v2/comments/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/comments/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 format: email description: Email address for the comment author. author_ip: type: string format: ip description: IP address for the comment author. author_name: type: string description: Display name for the comment author. author_url: type: string format: uri description: URL for the comment author. author_user_agent: type: string description: User agent for the comment author. content: type: object properties: raw: type: string rendered: type: string description: The content for the comment. date: type: string format: date-time description: The date the comment was published, in the site's timezone. date_gmt: type: string format: date-time description: The date the comment was published, as GMT. 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 properties: _wp_note_status: type: string enum: *id007 default: '' description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_comments_by_id summary: DELETE /wp/v2/comments/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/comments/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback: get: operationId: get_wp_v2_feedback summary: GET /wp/v2/feedback description: '`GET` on the WordPress REST route `/wp/v2/feedback` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any description: Limit result set to posts assigned one or more statuses. - 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: source in: query required: false schema: type: integer description: Limit result set to feedback submitted from a particular source post ID. - name: is_unread in: query required: false schema: type: boolean description: Limit result set to read or unread feedback items. - name: is_test in: query required: false schema: type: boolean description: Limit result set to test responses (from form preview) or exclude them. - name: invalid_ids in: query required: false schema: type: array default: [] items: type: integer description: List of item IDs to include in results regardless of filters. - name: fields_format in: query required: false schema: type: string enum: - label-value - collection default: label-value description: Format for the fields data in the response. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_feedback summary: POST /wp/v2/feedback description: '`POST` on the WordPress REST route `/wp/v2/feedback` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_disabled description: A named status for the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_feedback_by_id summary: GET /wp/v2/feedback/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/feedback/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_feedback_by_id summary: POST /wp/v2/feedback/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/feedback/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_disabled description: A named status for the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_feedback_by_id summary: PUT /wp/v2/feedback/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/feedback/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_feedback_by_id summary: PATCH /wp/v2/feedback/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/feedback/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_feedback_by_id summary: DELETE /wp/v2/feedback/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/feedback/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/{id}/read: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `\d+`. schema: type: string pattern: \d+ post: operationId: post_wp_v2_feedback_by_id_read summary: POST /wp/v2/feedback/(?P\d+)/read description: '`POST` on the WordPress REST route `/wp/v2/feedback/(?P\d+)/read` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: is_unread: type: boolean required: - is_unread responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/bulk_actions: post: operationId: post_wp_v2_feedback_bulk_actions summary: POST /wp/v2/feedback/bulk_actions description: '`POST` on the WordPress REST route `/wp/v2/feedback/bulk_actions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: action: type: string enum: - mark_as_spam - mark_as_not_spam post_ids: type: array items: type: integer required: - action - post_ids responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/config: get: operationId: get_wp_v2_feedback_config summary: GET /wp/v2/feedback/config description: '`GET` on the WordPress REST route `/wp/v2/feedback/config` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/counts: get: operationId: get_wp_v2_feedback_counts summary: GET /wp/v2/feedback/counts description: '`GET` on the WordPress REST route `/wp/v2/feedback/counts` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: parent in: query required: false schema: type: integer description: Limit results to those of a specific parent ID. - name: before in: query required: false schema: type: string format: date-time description: Limit results to feedback published before a given ISO8601 compliant date. - name: after in: query required: false schema: type: string format: date-time description: Limit results to feedback published after a given ISO8601 compliant date. - name: is_unread in: query required: false schema: type: boolean description: Limit results to read or unread feedback items. - name: is_test in: query required: false schema: type: boolean description: Limit results to test responses or exclude them. - name: source in: query required: false schema: type: integer description: Limit results to feedback submitted from a specific source post ID. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/dismiss-classic-forms-notice: post: operationId: post_wp_v2_feedback_dismiss_classic_forms_notice summary: POST /wp/v2/feedback/dismiss-classic-forms-notice description: '`POST` on the WordPress REST route `/wp/v2/feedback/dismiss-classic-forms-notice` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/filters: get: operationId: get_wp_v2_feedback_filters summary: GET /wp/v2/feedback/filters description: '`GET` on the WordPress REST route `/wp/v2/feedback/filters` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/integrations: get: operationId: get_wp_v2_feedback_integrations summary: GET /wp/v2/feedback/integrations description: '`GET` on the WordPress REST route `/wp/v2/feedback/integrations` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: version in: query required: false schema: type: integer default: 1 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/integrations-metadata: get: operationId: get_wp_v2_feedback_integrations_metadata summary: GET /wp/v2/feedback/integrations-metadata description: '`GET` on the WordPress REST route `/wp/v2/feedback/integrations-metadata` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/integrations/{slug}: parameters: - name: slug in: path required: true description: Path segment matched by the WordPress route pattern `[\w-]+`. schema: type: string pattern: '[\w-]+' get: operationId: get_wp_v2_feedback_integrations_by_slug summary: GET /wp/v2/feedback/integrations/(?P[\w-]+) description: '`GET` on the WordPress REST route `/wp/v2/feedback/integrations/(?P[\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_feedback_integrations_by_slug summary: DELETE /wp/v2/feedback/integrations/(?P[\w-]+) description: '`DELETE` on the WordPress REST route `/wp/v2/feedback/integrations/(?P[\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/feedback/trash: delete: operationId: delete_wp_v2_feedback_trash summary: DELETE /wp/v2/feedback/trash description: '`DELETE` on the WordPress REST route `/wp/v2/feedback/trash` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: status in: query required: false schema: type: string enum: - trash - spam default: trash responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-collections: get: operationId: get_wp_v2_font_collections summary: GET /wp/v2/font-collections description: '`GET` on the WordPress REST route `/wp/v2/font-collections` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-collections/{slug}: parameters: - name: slug in: path required: true description: Path segment matched by the WordPress route pattern `[\/\w-]+`. schema: type: string pattern: '[\/\w-]+' get: operationId: get_wp_v2_font_collections_by_slug summary: GET /wp/v2/font-collections/(?P[\/\w-]+) description: '`GET` on the WordPress REST route `/wp/v2/font-collections/(?P[\/\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-families: get: operationId: get_wp_v2_font_families summary: GET /wp/v2/font-families description: '`GET` on the WordPress REST route `/wp/v2/font-families` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_font_families summary: POST /wp/v2/font-families description: '`POST` on the WordPress REST route `/wp/v2/font-families` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: theme_json_version: type: integer default: 3 minimum: 2 maximum: 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. required: - font_family_settings responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-families/{font_family_id}/font-faces: parameters: - name: font_family_id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_font_families_by_font_family_id_font_faces summary: GET /wp/v2/font-families/(?P[\d]+)/font-faces description: '`GET` on the WordPress REST route `/wp/v2/font-families/(?P[\d]+)/font-faces` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_font_families_by_font_family_id_font_faces summary: POST /wp/v2/font-families/(?P[\d]+)/font-faces description: '`POST` on the WordPress REST route `/wp/v2/font-families/(?P[\d]+)/font-faces` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: theme_json_version: type: integer default: 3 minimum: 2 maximum: 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. required: - font_face_settings responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-families/{font_family_id}/font-faces/{id}: parameters: - name: font_family_id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_font_families_by_font_family_id_font_faces_by_id summary: GET /wp/v2/font-families/(?P[\d]+)/font-faces/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/font-families/(?P[\d]+)/font-faces/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_font_families_by_font_family_id_font_faces_by_id summary: DELETE /wp/v2/font-families/(?P[\d]+)/font-faces/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/font-families/(?P[\d]+)/font-faces/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/font-families/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_font_families_by_id summary: GET /wp/v2/font-families/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/font-families/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_font_families_by_id summary: POST /wp/v2/font-families/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/font-families/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: theme_json_version: type: integer default: 3 minimum: 2 maximum: 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. required: - font_family_settings responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_font_families_by_id summary: PUT /wp/v2/font-families/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/font-families/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: theme_json_version: type: integer default: 3 minimum: 2 maximum: 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. required: - font_family_settings responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_font_families_by_id summary: PATCH /wp/v2/font-families/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/font-families/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: theme_json_version: type: integer default: 3 minimum: 2 maximum: 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. required: - font_family_settings responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_font_families_by_id summary: DELETE /wp/v2/font-families/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/font-families/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/global-styles/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\/\d+]+`. schema: type: string pattern: '[\/\d+]+' get: operationId: get_wp_v2_global_styles_by_id summary: GET /wp/v2/global-styles/(?P[\/\d+]+) description: '`GET` on the WordPress REST route `/wp/v2/global-styles/(?P[\/\d+]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_global_styles_by_id summary: POST /wp/v2/global-styles/(?P[\/\d+]+) description: '`POST` on the WordPress REST route `/wp/v2/global-styles/(?P[\/\d+]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: styles: type: - object description: Global styles. settings: type: - object description: Global settings. title: type: - object - string properties: raw: type: string rendered: type: string description: Title of the global styles variation. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_global_styles_by_id summary: PUT /wp/v2/global-styles/(?P[\/\d+]+) description: '`PUT` on the WordPress REST route `/wp/v2/global-styles/(?P[\/\d+]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: styles: type: - object description: Global styles. settings: type: - object description: Global settings. title: type: - object - string properties: raw: type: string rendered: type: string description: Title of the global styles variation. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_global_styles_by_id summary: PATCH /wp/v2/global-styles/(?P[\/\d+]+) description: '`PATCH` on the WordPress REST route `/wp/v2/global-styles/(?P[\/\d+]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: styles: type: - object description: Global styles. settings: type: - object description: Global settings. title: type: - object - string properties: raw: type: string rendered: type: string description: Title of the global styles variation. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/global-styles/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_global_styles_by_parent_revisions summary: GET /wp/v2/global-styles/(?P[\d]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/global-styles/(?P[\d]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/global-styles/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_global_styles_by_parent_revisions_by_id summary: GET /wp/v2/global-styles/(?P[\d]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/global-styles/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/global-styles/themes/{stylesheet}/variations: parameters: - name: stylesheet in: path required: true description: Path segment matched by the WordPress route pattern `[\/\s%\w\.\(\)\[\]\@_\-]+`. schema: type: string pattern: '[\/\s%\w\.\(\)\[\]\@_\-]+' get: operationId: get_wp_v2_global_styles_themes_by_stylesheet_variations summary: GET /wp/v2/global-styles/themes/(?P[\/\s%\w\.\(\)\[\]\@_\-]+)/variations description: '`GET` on the WordPress REST route `/wp/v2/global-styles/themes/(?P[\/\s%\w\.\(\)\[\]\@_\-]+)/variations` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/global-styles/themes/{stylesheet}: parameters: - name: stylesheet in: path required: true description: Path segment matched by the WordPress route pattern `[^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?`. schema: type: string pattern: '[^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?' get: operationId: get_wp_v2_global_styles_themes_by_stylesheet summary: GET /wp/v2/global-styles/themes/(?P[^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?) description: '`GET` on the WordPress REST route `/wp/v2/global-styles/themes/(?P[^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/icons: get: operationId: get_wp_v2_icons summary: GET /wp/v2/icons description: '`GET` on the WordPress REST route `/wp/v2/icons` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/icons/{name}: parameters: - name: name in: path required: true description: Path segment matched by the WordPress route pattern `[a-z][a-z0-9-]*/[a-z][a-z0-9-]*`. schema: type: string pattern: '[a-z][a-z0-9-]*/[a-z][a-z0-9-]*' get: operationId: get_wp_v2_icons_by_name summary: GET /wp/v2/icons/(?P[a-z][a-z0-9-]*/[a-z][a-z0-9-]*) description: '`GET` on the WordPress REST route `/wp/v2/icons/(?P[a-z][a-z0-9-]*/[a-z][a-z0-9-]*)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-forms: get: operationId: get_wp_v2_jetpack_forms summary: GET /wp/v2/jetpack-forms description: '`GET` on the WordPress REST route `/wp/v2/jetpack-forms` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: 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 format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any 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: byline in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the byline taxonomy. - name: byline_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the byline taxonomy. - name: jetpack_forms_context in: query required: false schema: type: string enum: - '' - dashboard default: '' description: Request context for Jetpack Forms. Use "dashboard" to include dashboard-only fields. - name: has_responses in: query required: false schema: type: string enum: - '' - 'true' - 'false' default: '' description: Filter forms by whether they have responses. "true" returns only forms with responses, "false" returns only forms without. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jetpack_forms summary: POST /wp/v2/jetpack-forms description: '`POST` on the WordPress REST route `/wp/v2/jetpack-forms` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object _jetpack_forms_source_post_id: type: integer default: 0 footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-forms/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_forms_by_id summary: GET /wp/v2/jetpack-forms/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: password in: query required: false schema: type: string description: The password for the post if it is password protected. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jetpack_forms_by_id summary: POST /wp/v2/jetpack-forms/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: &id009 - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. meta: type: object properties: byline: type: object default: &id010 [] properties: profiles: type: array items: type: object _jetpack_forms_source_post_id: type: integer default: 0 footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_jetpack_forms_by_id summary: PUT /wp/v2/jetpack-forms/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id009 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. meta: type: object properties: byline: type: object default: *id010 properties: profiles: type: array items: type: object _jetpack_forms_source_post_id: type: integer default: 0 footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_jetpack_forms_by_id summary: PATCH /wp/v2/jetpack-forms/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id009 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. meta: type: object properties: byline: type: object default: *id010 properties: profiles: type: array items: type: object _jetpack_forms_source_post_id: type: integer default: 0 footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_jetpack_forms_by_id summary: DELETE /wp/v2/jetpack-forms/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-forms/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_forms_by_id_autosaves summary: GET /wp/v2/jetpack-forms/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jetpack_forms_by_id_autosaves summary: POST /wp/v2/jetpack-forms/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object _jetpack_forms_source_post_id: type: integer default: 0 footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-forms/{id}/preview-url: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_forms_by_id_preview_url summary: GET /wp/v2/jetpack-forms/(?P[\d]+)/preview-url description: '`GET` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)/preview-url` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-forms/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_forms_by_parent_autosaves_by_id summary: GET /wp/v2/jetpack-forms/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-forms/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_forms_by_parent_revisions summary: GET /wp/v2/jetpack-forms/(?P[\d]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-forms/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_forms_by_parent_revisions_by_id summary: GET /wp/v2/jetpack-forms/(?P[\d]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_jetpack_forms_by_parent_revisions_by_id summary: DELETE /wp/v2/jetpack-forms/(?P[\d]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/jetpack-forms/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-forms/status-counts: get: operationId: get_wp_v2_jetpack_forms_status_counts summary: GET /wp/v2/jetpack-forms/status-counts description: '`GET` on the WordPress REST route `/wp/v2/jetpack-forms/status-counts` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-search-overlay: get: operationId: get_wp_v2_jetpack_search_overlay summary: GET /wp/v2/jetpack-search-overlay description: '`GET` on the WordPress REST route `/wp/v2/jetpack-search-overlay` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any description: Limit result set to posts assigned one or more statuses. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jetpack_search_overlay summary: POST /wp/v2/jetpack-search-overlay description: '`POST` on the WordPress REST route `/wp/v2/jetpack-search-overlay` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-search-overlay/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_search_overlay_by_id summary: GET /wp/v2/jetpack-search-overlay/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: password in: query required: false schema: type: string description: The password for the post if it is password protected. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jetpack_search_overlay_by_id summary: POST /wp/v2/jetpack-search-overlay/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. meta: type: object properties: byline: type: object default: &id012 [] properties: profiles: type: array items: type: object footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_jetpack_search_overlay_by_id summary: PUT /wp/v2/jetpack-search-overlay/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. meta: type: object properties: byline: type: object default: *id012 properties: profiles: type: array items: type: object footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_jetpack_search_overlay_by_id summary: PATCH /wp/v2/jetpack-search-overlay/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. meta: type: object properties: byline: type: object default: *id012 properties: profiles: type: array items: type: object footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_jetpack_search_overlay_by_id summary: DELETE /wp/v2/jetpack-search-overlay/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-search-overlay/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_search_overlay_by_id_autosaves summary: GET /wp/v2/jetpack-search-overlay/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jetpack_search_overlay_by_id_autosaves summary: POST /wp/v2/jetpack-search-overlay/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-search-overlay/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_search_overlay_by_parent_autosaves_by_id summary: GET /wp/v2/jetpack-search-overlay/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-search-overlay/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_search_overlay_by_parent_revisions summary: GET /wp/v2/jetpack-search-overlay/(?P[\d]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jetpack-search-overlay/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jetpack_search_overlay_by_parent_revisions_by_id summary: GET /wp/v2/jetpack-search-overlay/(?P[\d]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_jetpack_search_overlay_by_parent_revisions_by_id summary: DELETE /wp/v2/jetpack-search-overlay/(?P[\d]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/jetpack-search-overlay/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jp_pay_order: get: operationId: get_wp_v2_jp_pay_order summary: GET /wp/v2/jp_pay_order description: '`GET` on the WordPress REST route `/wp/v2/jp_pay_order` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any description: Limit result set to posts assigned one or more statuses. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jp_pay_order summary: POST /wp/v2/jp_pay_order description: '`POST` on the WordPress REST route `/wp/v2/jp_pay_order` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jp_pay_order/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jp_pay_order_by_id summary: GET /wp/v2/jp_pay_order/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/jp_pay_order/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jp_pay_order_by_id summary: POST /wp/v2/jp_pay_order/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/jp_pay_order/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_disabled description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. meta: type: object properties: byline: type: object default: &id014 [] properties: profiles: type: array items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_jp_pay_order_by_id summary: PUT /wp/v2/jp_pay_order/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/jp_pay_order/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. meta: type: object properties: byline: type: object default: *id014 properties: profiles: type: array items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_jp_pay_order_by_id summary: PATCH /wp/v2/jp_pay_order/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/jp_pay_order/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. meta: type: object properties: byline: type: object default: *id014 properties: profiles: type: array items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_jp_pay_order_by_id summary: DELETE /wp/v2/jp_pay_order/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/jp_pay_order/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jp_pay_product: get: operationId: get_wp_v2_jp_pay_product summary: GET /wp/v2/jp_pay_product description: '`GET` on the WordPress REST route `/wp/v2/jp_pay_product` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: 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 format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any description: Limit result set to posts assigned one or more statuses. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jp_pay_product summary: POST /wp/v2/jp_pay_product description: '`POST` on the WordPress REST route `/wp/v2/jp_pay_product` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content 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. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object spay_price: type: number default: 0 spay_currency: type: string default: '' spay_cta: type: string default: '' spay_multiple: type: boolean default: false spay_email: type: string default: '' spay_status: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jp_pay_product/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jp_pay_product_by_id summary: GET /wp/v2/jp_pay_product/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/jp_pay_product/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: password in: query required: false schema: type: string description: The password for the post if it is password protected. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jp_pay_product_by_id summary: POST /wp/v2/jp_pay_product/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/jp_pay_product/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content 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. meta: type: object properties: byline: type: object default: &id016 [] properties: profiles: type: array items: type: object spay_price: type: number default: 0 spay_currency: type: string default: '' spay_cta: type: string default: '' spay_multiple: type: boolean default: false spay_email: type: string default: '' spay_status: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_jp_pay_product_by_id summary: PUT /wp/v2/jp_pay_product/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/jp_pay_product/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content 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. meta: type: object properties: byline: type: object default: *id016 properties: profiles: type: array items: type: object spay_price: type: number default: 0 spay_currency: type: string default: '' spay_cta: type: string default: '' spay_multiple: type: boolean default: false spay_email: type: string default: '' spay_status: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_jp_pay_product_by_id summary: PATCH /wp/v2/jp_pay_product/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/jp_pay_product/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content 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. meta: type: object properties: byline: type: object default: *id016 properties: profiles: type: array items: type: object spay_price: type: number default: 0 spay_currency: type: string default: '' spay_cta: type: string default: '' spay_multiple: type: boolean default: false spay_email: type: string default: '' spay_status: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_jp_pay_product_by_id summary: DELETE /wp/v2/jp_pay_product/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/jp_pay_product/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jp_pay_product/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jp_pay_product_by_id_autosaves summary: GET /wp/v2/jp_pay_product/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/jp_pay_product/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_jp_pay_product_by_id_autosaves summary: POST /wp/v2/jp_pay_product/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/jp_pay_product/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content 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. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object spay_price: type: number default: 0 spay_currency: type: string default: '' spay_cta: type: string default: '' spay_multiple: type: boolean default: false spay_email: type: string default: '' spay_status: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/jp_pay_product/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_jp_pay_product_by_parent_autosaves_by_id summary: GET /wp/v2/jp_pay_product/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/jp_pay_product/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/media: get: operationId: get_wp_v2_media summary: GET /wp/v2/media description: '`GET` on the WordPress REST route `/wp/v2/media` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: 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 format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - inherit - private - trash 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: byline in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the byline taxonomy. - name: byline_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the byline taxonomy. - name: media_type in: query required: false schema: type: array default: null items: type: string enum: - image - video - audio - application description: Limit result set to attachments of a particular media type or media types. - name: mime_type in: query required: false schema: type: array default: null items: type: string description: Limit result set to attachments of a particular MIME type or MIME types. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_media summary: POST /wp/v2/media description: '`POST` on the WordPress REST route `/wp/v2/media` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_disabled description: A named status for the post. title: type: object properties: raw: type: string rendered: type: string 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 properties: byline: type: object default: [] properties: profiles: type: array items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? alt_text: type: string description: Alternative text to display when attachment is not displayed. caption: type: object properties: raw: type: string rendered: type: string description: The attachment caption. description: type: object properties: raw: type: string rendered: type: string description: The attachment description. post: type: integer description: The ID for the associated post of the attachment. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/media/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_media_by_id summary: GET /wp/v2/media/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/media/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_media_by_id summary: POST /wp/v2/media/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/media/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_disabled description: A named status for the post. title: type: object properties: raw: type: string rendered: type: string 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: &id018 - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: &id019 - open - closed description: Whether or not the post can be pinged. meta: type: object properties: byline: type: object default: &id020 [] properties: profiles: type: array items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? alt_text: type: string description: Alternative text to display when attachment is not displayed. caption: type: object properties: raw: type: string rendered: type: string description: The attachment caption. description: type: object properties: raw: type: string rendered: type: string description: The attachment description. post: type: integer description: The ID for the associated post of the attachment. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_media_by_id summary: PUT /wp/v2/media/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/media/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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. title: type: object properties: raw: type: string rendered: type: string 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: *id018 description: Whether or not comments are open on the post. ping_status: type: string enum: *id019 description: Whether or not the post can be pinged. meta: type: object properties: byline: type: object default: *id020 properties: profiles: type: array items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? alt_text: type: string description: Alternative text to display when attachment is not displayed. caption: type: object properties: raw: type: string rendered: type: string description: The attachment caption. description: type: object properties: raw: type: string rendered: type: string description: The attachment description. post: type: integer description: The ID for the associated post of the attachment. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_media_by_id summary: PATCH /wp/v2/media/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/media/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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. title: type: object properties: raw: type: string rendered: type: string 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: *id018 description: Whether or not comments are open on the post. ping_status: type: string enum: *id019 description: Whether or not the post can be pinged. meta: type: object properties: byline: type: object default: *id020 properties: profiles: type: array items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? alt_text: type: string description: Alternative text to display when attachment is not displayed. caption: type: object properties: raw: type: string rendered: type: string description: The attachment caption. description: type: object properties: raw: type: string rendered: type: string description: The attachment description. post: type: integer description: The ID for the associated post of the attachment. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_media_by_id summary: DELETE /wp/v2/media/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/media/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/media/{id}/edit: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' post: operationId: post_wp_v2_media_by_id_edit summary: POST /wp/v2/media/(?P[\d]+)/edit description: '`POST` on the WordPress REST route `/wp/v2/media/(?P[\d]+)/edit` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: src: type: string format: uri description: URL to the edited image file. modifiers: type: array items: type: object description: Array of image edits. rotation: type: integer minimum: 0 maximum: 360 description: 'The amount to rotate the image clockwise in degrees. DEPRECATED: Use `modifiers` instead.' x: type: number minimum: 0 maximum: 100 description: 'As a percentage of the image, the x position to start the crop from. DEPRECATED: Use `modifiers` instead.' y: type: number minimum: 0 maximum: 100 description: 'As a percentage of the image, the y position to start the crop from. DEPRECATED: Use `modifiers` instead.' width: type: number minimum: 0 maximum: 100 description: 'As a percentage of the image, the width to crop the image to. DEPRECATED: Use `modifiers` instead.' height: type: number minimum: 0 maximum: 100 description: 'As a percentage of the image, the height to crop the image to. DEPRECATED: Use `modifiers` instead.' caption: type: object properties: raw: type: string rendered: type: string description: The attachment caption. description: type: object properties: raw: type: string rendered: type: string description: The attachment description. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. post: type: integer description: The ID for the associated post of the attachment. alt_text: type: string description: Alternative text to display when attachment is not displayed. required: - src responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/media/{id}/post-process: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' post: operationId: post_wp_v2_media_by_id_post_process summary: POST /wp/v2/media/(?P[\d]+)/post-process description: '`POST` on the WordPress REST route `/wp/v2/media/(?P[\d]+)/post-process` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: action: type: string enum: - create-image-subsizes required: - action responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-items: get: operationId: get_wp_v2_menu_items summary: GET /wp/v2/menu-items description: '`GET` on the WordPress REST route `/wp/v2/menu-items` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 100 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any 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: type: - object - array description: Limit result set to items with specific terms assigned in the menus taxonomy. - name: menus_exclude in: query required: false schema: type: - object - array 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_menu_items summary: POST /wp/v2/menu-items description: '`POST` on the WordPress REST route `/wp/v2/menu-items` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: title: type: - string - object properties: raw: type: string rendered: type: string description: The title for the object. type: type: string enum: - taxonomy - post_type - post_type_archive - custom default: custom description: The family of objects originally represented, such as "post_type" or "taxonomy". status: type: string enum: - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_disabled default: publish description: A named status for the object. parent: type: integer default: 0 minimum: 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 minimum: 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 minimum: 0 description: The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. target: type: string enum: - _blank - '' description: The target attribute of the link element for this menu item. url: type: string format: uri description: The URL to which this menu item points. xfn: type: array items: type: string description: The XFN relationship expressed in the link of this menu item. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-items/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_menu_items_by_id summary: GET /wp/v2/menu-items/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_menu_items_by_id summary: POST /wp/v2/menu-items/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: title: type: - string - object properties: raw: type: string rendered: type: string description: The title for the object. type: type: string enum: &id021 - taxonomy - post_type - post_type_archive - custom description: The family of objects originally represented, such as "post_type" or "taxonomy". status: type: string enum: &id022 - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_disabled description: A named status for the object. parent: type: integer minimum: 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 minimum: 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 minimum: 0 description: The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. target: type: string enum: &id023 - _blank - '' description: The target attribute of the link element for this menu item. url: type: string format: uri description: The URL to which this menu item points. xfn: type: array items: type: string description: The XFN relationship expressed in the link of this menu item. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object properties: byline: type: object default: &id024 [] properties: profiles: type: array items: type: object description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_menu_items_by_id summary: PUT /wp/v2/menu-items/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: title: type: - string - object properties: raw: type: string rendered: type: string description: The title for the object. type: type: string enum: *id021 description: The family of objects originally represented, such as "post_type" or "taxonomy". status: type: string enum: *id022 description: A named status for the object. parent: type: integer minimum: 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 minimum: 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 minimum: 0 description: The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. target: type: string enum: *id023 description: The target attribute of the link element for this menu item. url: type: string format: uri description: The URL to which this menu item points. xfn: type: array items: type: string description: The XFN relationship expressed in the link of this menu item. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object properties: byline: type: object default: *id024 properties: profiles: type: array items: type: object description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_menu_items_by_id summary: PATCH /wp/v2/menu-items/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: title: type: - string - object properties: raw: type: string rendered: type: string description: The title for the object. type: type: string enum: *id021 description: The family of objects originally represented, such as "post_type" or "taxonomy". status: type: string enum: *id022 description: A named status for the object. parent: type: integer minimum: 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 minimum: 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 minimum: 0 description: The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. target: type: string enum: *id023 description: The target attribute of the link element for this menu item. url: type: string format: uri description: The URL to which this menu item points. xfn: type: array items: type: string description: The XFN relationship expressed in the link of this menu item. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object properties: byline: type: object default: *id024 properties: profiles: type: array items: type: object description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_menu_items_by_id summary: DELETE /wp/v2/menu-items/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-items/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_menu_items_by_id_autosaves summary: GET /wp/v2/menu-items/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_menu_items_by_id_autosaves summary: POST /wp/v2/menu-items/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer minimum: 0 description: The ID for the parent of the object. title: type: - string - object properties: raw: type: string rendered: type: string description: The title for the object. type: type: string enum: - taxonomy - post_type - post_type_archive - custom description: The family of objects originally represented, such as "post_type" or "taxonomy". status: type: string enum: - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_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 minimum: 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 minimum: 0 description: The database ID of the original object this menu item represents, for example the ID for posts or the term_id for categories. target: type: string enum: - _blank - '' description: The target attribute of the link element for this menu item. url: type: string format: uri description: The URL to which this menu item points. xfn: type: array items: type: string description: The XFN relationship expressed in the link of this menu item. menus: type: integer description: The terms assigned to the object in the nav_menu taxonomy. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-items/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_menu_items_by_parent_autosaves_by_id summary: GET /wp/v2/menu-items/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-locations: get: operationId: get_wp_v2_menu_locations summary: GET /wp/v2/menu-locations description: '`GET` on the WordPress REST route `/wp/v2/menu-locations` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menu-locations/{location}: parameters: - name: location in: path required: true description: Path segment matched by the WordPress route pattern `[\w-]+`. schema: type: string pattern: '[\w-]+' get: operationId: get_wp_v2_menu_locations_by_location summary: GET /wp/v2/menu-locations/(?P[\w-]+) description: '`GET` on the WordPress REST route `/wp/v2/menu-locations/(?P[\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menus: get: operationId: get_wp_v2_menus summary: GET /wp/v2/menus description: '`GET` on the WordPress REST route `/wp/v2/menus` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - 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 default: null 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_menus summary: POST /wp/v2/menus description: '`POST` on the WordPress REST route `/wp/v2/menus` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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. required: - name responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/menus/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_menus_by_id summary: GET /wp/v2/menus/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/menus/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_menus_by_id summary: POST /wp/v2/menus/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/menus/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_menus_by_id summary: PUT /wp/v2/menus/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/menus/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_menus_by_id summary: PATCH /wp/v2/menus/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/menus/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_menus_by_id summary: DELETE /wp/v2/menus/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/menus/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation: get: operationId: get_wp_v2_navigation summary: GET /wp/v2/navigation description: '`GET` on the WordPress REST route `/wp/v2/navigation` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any description: Limit result set to posts assigned one or more statuses. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_navigation summary: POST /wp/v2/navigation description: '`POST` on the WordPress REST route `/wp/v2/navigation` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_navigation_by_id summary: GET /wp/v2/navigation/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: password in: query required: false schema: type: string description: The password for the post if it is password protected. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_navigation_by_id summary: POST /wp/v2/navigation/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_navigation_by_id summary: PUT /wp/v2/navigation/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_navigation_by_id summary: PATCH /wp/v2/navigation/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_navigation_by_id summary: DELETE /wp/v2/navigation/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_navigation_by_id_autosaves summary: GET /wp/v2/navigation/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_navigation_by_id_autosaves summary: POST /wp/v2/navigation/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_navigation_by_parent_autosaves_by_id summary: GET /wp/v2/navigation/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_navigation_by_parent_revisions summary: GET /wp/v2/navigation/(?P[\d]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/navigation/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_navigation_by_parent_revisions_by_id summary: GET /wp/v2/navigation/(?P[\d]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_navigation_by_parent_revisions_by_id summary: DELETE /wp/v2/navigation/(?P[\d]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages: get: operationId: get_wp_v2_pages summary: GET /wp/v2/pages description: '`GET` on the WordPress REST route `/wp/v2/pages` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: 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 format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any 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: platform-languages in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the platform-languages taxonomy. - name: platform-languages_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the platform-languages taxonomy. - name: byline in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the byline taxonomy. - name: byline_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the byline taxonomy. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_pages summary: POST /wp/v2/pages description: '`POST` on the WordPress REST route `/wp/v2/pages` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean 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 properties: byline: type: object default: [] properties: profiles: type: array items: type: object wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false savage_platform_featured_image_caption: type: string default: '' footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_pages_by_id summary: GET /wp/v2/pages/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_pages_by_id summary: POST /wp/v2/pages/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean 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 properties: byline: type: object default: &id029 [] properties: profiles: type: array items: type: object wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false savage_platform_featured_image_caption: type: string default: '' footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_pages_by_id summary: PUT /wp/v2/pages/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean 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 properties: byline: type: object default: *id029 properties: profiles: type: array items: type: object wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false savage_platform_featured_image_caption: type: string default: '' footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_pages_by_id summary: PATCH /wp/v2/pages/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean 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 properties: byline: type: object default: *id029 properties: profiles: type: array items: type: object wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false savage_platform_featured_image_caption: type: string default: '' footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_pages_by_id summary: DELETE /wp/v2/pages/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_pages_by_id_autosaves summary: GET /wp/v2/pages/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_pages_by_id_autosaves summary: POST /wp/v2/pages/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the post. date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean 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 properties: byline: type: object default: [] properties: profiles: type: array items: type: object wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false savage_platform_featured_image_caption: type: string default: '' footnotes: type: string default: '' description: Meta fields. template: type: string description: The theme file to use to display the post. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_pages_by_parent_autosaves_by_id summary: GET /wp/v2/pages/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_pages_by_parent_revisions summary: GET /wp/v2/pages/(?P[\d]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pages/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_pages_by_parent_revisions_by_id summary: GET /wp/v2/pages/(?P[\d]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_pages_by_parent_revisions_by_id summary: DELETE /wp/v2/pages/(?P[\d]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/pages/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/pattern-directory/patterns: get: operationId: get_wp_v2_pattern_directory_patterns summary: GET /wp/v2/pattern-directory/patterns description: '`GET` on the WordPress REST route `/wp/v2/pattern-directory/patterns` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 100 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: category in: query required: false schema: type: integer minimum: 1 description: Limit results to those matching a category ID. - name: keyword in: query required: false schema: type: integer minimum: 1 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/platform-languages: get: operationId: get_wp_v2_platform_languages summary: GET /wp/v2/platform-languages description: '`GET` on the WordPress REST route `/wp/v2/platform-languages` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - 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 default: null 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_platform_languages summary: POST /wp/v2/platform-languages description: '`POST` on the WordPress REST route `/wp/v2/platform-languages` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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. required: - name responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/platform-languages/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_platform_languages_by_id summary: GET /wp/v2/platform-languages/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/platform-languages/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_platform_languages_by_id summary: POST /wp/v2/platform-languages/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/platform-languages/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_platform_languages_by_id summary: PUT /wp/v2/platform-languages/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/platform-languages/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_platform_languages_by_id summary: PATCH /wp/v2/platform-languages/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/platform-languages/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_platform_languages_by_id summary: DELETE /wp/v2/platform-languages/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/platform-languages/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/plugins: get: operationId: get_wp_v2_plugins summary: GET /wp/v2/plugins description: '`GET` on the WordPress REST route `/wp/v2/plugins` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: status in: query required: false schema: type: array items: type: string enum: - inactive - active - network-active description: Limits results to plugins with the given status. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_plugins summary: POST /wp/v2/plugins description: '`POST` on the WordPress REST route `/wp/v2/plugins` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: slug: type: string description: WordPress.org plugin directory slug. status: type: string enum: - inactive - active - network-active default: inactive description: The plugin activation status. required: - slug responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/plugins/{plugin}: parameters: - name: plugin in: path required: true description: Path segment matched by the WordPress route pattern `[^.\/]+(?:\/[^.\/]+)?`. schema: type: string pattern: '[^.\/]+(?:\/[^.\/]+)?' get: operationId: get_wp_v2_plugins_by_plugin summary: GET /wp/v2/plugins/(?P[^.\/]+(?:\/[^.\/]+)?) description: '`GET` on the WordPress REST route `/wp/v2/plugins/(?P[^.\/]+(?:\/[^.\/]+)?)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_plugins_by_plugin summary: POST /wp/v2/plugins/(?P[^.\/]+(?:\/[^.\/]+)?) description: '`POST` on the WordPress REST route `/wp/v2/plugins/(?P[^.\/]+(?:\/[^.\/]+)?)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: context: type: string enum: &id030 - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. status: type: string enum: &id031 - inactive - active - network-active description: The plugin activation status. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_plugins_by_plugin summary: PUT /wp/v2/plugins/(?P[^.\/]+(?:\/[^.\/]+)?) description: '`PUT` on the WordPress REST route `/wp/v2/plugins/(?P[^.\/]+(?:\/[^.\/]+)?)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: context: type: string enum: *id030 default: view description: Scope under which the request is made; determines fields present in response. status: type: string enum: *id031 description: The plugin activation status. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_plugins_by_plugin summary: PATCH /wp/v2/plugins/(?P[^.\/]+(?:\/[^.\/]+)?) description: '`PATCH` on the WordPress REST route `/wp/v2/plugins/(?P[^.\/]+(?:\/[^.\/]+)?)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: context: type: string enum: *id030 default: view description: Scope under which the request is made; determines fields present in response. status: type: string enum: *id031 description: The plugin activation status. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_plugins_by_plugin summary: DELETE /wp/v2/plugins/(?P[^.\/]+(?:\/[^.\/]+)?) description: '`DELETE` on the WordPress REST route `/wp/v2/plugins/(?P[^.\/]+(?:\/[^.\/]+)?)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts: get: operationId: get_wp_v2_posts summary: GET /wp/v2/posts description: '`GET` on the WordPress REST route `/wp/v2/posts` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: 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 format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any 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: type: - object - array description: Limit result set to items with specific terms assigned in the categories taxonomy. - name: categories_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the categories taxonomy. - name: tags in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the tags taxonomy. - name: tags_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the tags taxonomy. - name: platform-languages in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the platform-languages taxonomy. - name: platform-languages_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the platform-languages taxonomy. - name: byline in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the byline taxonomy. - name: byline_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the byline 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 enum: - standard - aside - chat - gallery - link - image - quote - status - video - audio description: Limit result set to items assigned one or more given formats. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_posts summary: POST /wp/v2/posts description: '`POST` on the WordPress REST route `/wp/v2/posts` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean 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 properties: byline: type: object default: [] properties: profiles: type: array items: type: object savage_platform_role_ideator: type: array items: type: integer savage_platform_role_editor: type: array items: type: integer savage_platform_role_senior_editor: type: array items: type: integer savage_platform_role_photographer: type: array items: type: integer savage_platform_role_illustrator: type: array items: type: integer savage_platform_role_translator: type: array items: type: integer savage_platform_role_as-told-to: type: array items: type: integer savage_platform_role_reviewed-by: type: array items: type: integer savage_platform_disable_recirculation: type: boolean default: false savage_platform_article_type: type: string default: news savage_platform_vice_article_type: type: string default: article savage_platform_article_intent: type: string default: '' savage_platform_show_affiliate_disclaimer: type: boolean default: false apple_news_api_created_at: type: string default: '' apple_news_api_id: type: string default: '' apple_news_api_modified_at: type: string default: '' apple_news_api_revision: type: string default: '' apple_news_api_share_url: type: string default: '' apple_news_cover_media_provider: type: string default: image apple_news_coverimage: type: integer default: 0 apple_news_coverimage_caption: type: string default: '' apple_news_cover_video_id: type: integer default: 0 apple_news_cover_video_url: type: string default: '' apple_news_cover_embedwebvideo_url: type: string default: '' apple_news_is_hidden: type: string default: '' apple_news_is_paid: type: string default: '' apple_news_is_preview: type: string default: '' apple_news_is_sponsored: type: string default: '' apple_news_maturity_rating: type: string default: '' apple_news_metadata: type: string default: '' apple_news_pullquote: type: string default: '' apple_news_pullquote_position: type: string default: '' apple_news_slug: type: string default: '' apple_news_sections: type: array default: [] items: type: string apple_news_suppress_video_url: type: boolean default: false apple_news_use_image_component: type: boolean default: false _jetpack_newsletter_access: type: string default: '' _jetpack_dont_email_post_to_subs: type: boolean default: false _jetpack_newsletter_tier_id: type: integer default: 0 _jetpack_memberships_contains_paywalled_content: type: boolean default: false wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false savage_platform_featured_image_caption: type: string default: '' _jetpack_feature_clip_id: type: integer default: 0 _jetpack_memberships_contains_paid_content: type: boolean default: false footnotes: type: string default: '' jetpack_post_was_ever_published: type: boolean default: false savage_platform_subheadline: type: string default: '' 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. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. savage_platform_primary_term: type: string description: The primary term for the post. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{id}/related: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[0-9]+`. schema: type: string pattern: '[0-9]+' get: operationId: get_wp_v2_posts_by_id_related summary: GET /wp/v2/posts/(?P[0-9]+)/related description: '`GET` on the WordPress REST route `/wp/v2/posts/(?P[0-9]+)/related` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: number in: query required: false schema: type: string default: 5 description: Number of posts responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_posts_by_id summary: GET /wp/v2/posts/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_posts_by_id summary: POST /wp/v2/posts/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: &id032 - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean 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: &id033 - open - closed description: Whether or not comments are open on the post. ping_status: type: string enum: &id034 - open - closed description: Whether or not the post can be pinged. format: type: string enum: &id035 - standard - aside - chat - gallery - link - image - quote - status - video - audio description: The format for the post. meta: type: object properties: byline: type: object default: &id036 [] properties: profiles: type: array items: type: object savage_platform_role_ideator: type: array items: type: integer savage_platform_role_editor: type: array items: type: integer savage_platform_role_senior_editor: type: array items: type: integer savage_platform_role_photographer: type: array items: type: integer savage_platform_role_illustrator: type: array items: type: integer savage_platform_role_translator: type: array items: type: integer savage_platform_role_as-told-to: type: array items: type: integer savage_platform_role_reviewed-by: type: array items: type: integer savage_platform_disable_recirculation: type: boolean default: false savage_platform_article_type: type: string default: news savage_platform_vice_article_type: type: string default: article savage_platform_article_intent: type: string default: '' savage_platform_show_affiliate_disclaimer: type: boolean default: false apple_news_api_created_at: type: string default: '' apple_news_api_id: type: string default: '' apple_news_api_modified_at: type: string default: '' apple_news_api_revision: type: string default: '' apple_news_api_share_url: type: string default: '' apple_news_cover_media_provider: type: string default: image apple_news_coverimage: type: integer default: 0 apple_news_coverimage_caption: type: string default: '' apple_news_cover_video_id: type: integer default: 0 apple_news_cover_video_url: type: string default: '' apple_news_cover_embedwebvideo_url: type: string default: '' apple_news_is_hidden: type: string default: '' apple_news_is_paid: type: string default: '' apple_news_is_preview: type: string default: '' apple_news_is_sponsored: type: string default: '' apple_news_maturity_rating: type: string default: '' apple_news_metadata: type: string default: '' apple_news_pullquote: type: string default: '' apple_news_pullquote_position: type: string default: '' apple_news_slug: type: string default: '' apple_news_sections: type: array default: &id037 [] items: type: string apple_news_suppress_video_url: type: boolean default: false apple_news_use_image_component: type: boolean default: false _jetpack_newsletter_access: type: string default: '' _jetpack_dont_email_post_to_subs: type: boolean default: false _jetpack_newsletter_tier_id: type: integer default: 0 _jetpack_memberships_contains_paywalled_content: type: boolean default: false wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false savage_platform_featured_image_caption: type: string default: '' _jetpack_feature_clip_id: type: integer default: 0 _jetpack_memberships_contains_paid_content: type: boolean default: false footnotes: type: string default: '' jetpack_post_was_ever_published: type: boolean default: false savage_platform_subheadline: type: string default: '' 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. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. savage_platform_primary_term: type: string description: The primary term for the post. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_posts_by_id summary: PUT /wp/v2/posts/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id032 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean 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: *id033 description: Whether or not comments are open on the post. ping_status: type: string enum: *id034 description: Whether or not the post can be pinged. format: type: string enum: *id035 description: The format for the post. meta: type: object properties: byline: type: object default: *id036 properties: profiles: type: array items: type: object savage_platform_role_ideator: type: array items: type: integer savage_platform_role_editor: type: array items: type: integer savage_platform_role_senior_editor: type: array items: type: integer savage_platform_role_photographer: type: array items: type: integer savage_platform_role_illustrator: type: array items: type: integer savage_platform_role_translator: type: array items: type: integer savage_platform_role_as-told-to: type: array items: type: integer savage_platform_role_reviewed-by: type: array items: type: integer savage_platform_disable_recirculation: type: boolean default: false savage_platform_article_type: type: string default: news savage_platform_vice_article_type: type: string default: article savage_platform_article_intent: type: string default: '' savage_platform_show_affiliate_disclaimer: type: boolean default: false apple_news_api_created_at: type: string default: '' apple_news_api_id: type: string default: '' apple_news_api_modified_at: type: string default: '' apple_news_api_revision: type: string default: '' apple_news_api_share_url: type: string default: '' apple_news_cover_media_provider: type: string default: image apple_news_coverimage: type: integer default: 0 apple_news_coverimage_caption: type: string default: '' apple_news_cover_video_id: type: integer default: 0 apple_news_cover_video_url: type: string default: '' apple_news_cover_embedwebvideo_url: type: string default: '' apple_news_is_hidden: type: string default: '' apple_news_is_paid: type: string default: '' apple_news_is_preview: type: string default: '' apple_news_is_sponsored: type: string default: '' apple_news_maturity_rating: type: string default: '' apple_news_metadata: type: string default: '' apple_news_pullquote: type: string default: '' apple_news_pullquote_position: type: string default: '' apple_news_slug: type: string default: '' apple_news_sections: type: array default: *id037 items: type: string apple_news_suppress_video_url: type: boolean default: false apple_news_use_image_component: type: boolean default: false _jetpack_newsletter_access: type: string default: '' _jetpack_dont_email_post_to_subs: type: boolean default: false _jetpack_newsletter_tier_id: type: integer default: 0 _jetpack_memberships_contains_paywalled_content: type: boolean default: false wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false savage_platform_featured_image_caption: type: string default: '' _jetpack_feature_clip_id: type: integer default: 0 _jetpack_memberships_contains_paid_content: type: boolean default: false footnotes: type: string default: '' jetpack_post_was_ever_published: type: boolean default: false savage_platform_subheadline: type: string default: '' 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. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. savage_platform_primary_term: type: string description: The primary term for the post. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_posts_by_id summary: PATCH /wp/v2/posts/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id032 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean 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: *id033 description: Whether or not comments are open on the post. ping_status: type: string enum: *id034 description: Whether or not the post can be pinged. format: type: string enum: *id035 description: The format for the post. meta: type: object properties: byline: type: object default: *id036 properties: profiles: type: array items: type: object savage_platform_role_ideator: type: array items: type: integer savage_platform_role_editor: type: array items: type: integer savage_platform_role_senior_editor: type: array items: type: integer savage_platform_role_photographer: type: array items: type: integer savage_platform_role_illustrator: type: array items: type: integer savage_platform_role_translator: type: array items: type: integer savage_platform_role_as-told-to: type: array items: type: integer savage_platform_role_reviewed-by: type: array items: type: integer savage_platform_disable_recirculation: type: boolean default: false savage_platform_article_type: type: string default: news savage_platform_vice_article_type: type: string default: article savage_platform_article_intent: type: string default: '' savage_platform_show_affiliate_disclaimer: type: boolean default: false apple_news_api_created_at: type: string default: '' apple_news_api_id: type: string default: '' apple_news_api_modified_at: type: string default: '' apple_news_api_revision: type: string default: '' apple_news_api_share_url: type: string default: '' apple_news_cover_media_provider: type: string default: image apple_news_coverimage: type: integer default: 0 apple_news_coverimage_caption: type: string default: '' apple_news_cover_video_id: type: integer default: 0 apple_news_cover_video_url: type: string default: '' apple_news_cover_embedwebvideo_url: type: string default: '' apple_news_is_hidden: type: string default: '' apple_news_is_paid: type: string default: '' apple_news_is_preview: type: string default: '' apple_news_is_sponsored: type: string default: '' apple_news_maturity_rating: type: string default: '' apple_news_metadata: type: string default: '' apple_news_pullquote: type: string default: '' apple_news_pullquote_position: type: string default: '' apple_news_slug: type: string default: '' apple_news_sections: type: array default: *id037 items: type: string apple_news_suppress_video_url: type: boolean default: false apple_news_use_image_component: type: boolean default: false _jetpack_newsletter_access: type: string default: '' _jetpack_dont_email_post_to_subs: type: boolean default: false _jetpack_newsletter_tier_id: type: integer default: 0 _jetpack_memberships_contains_paywalled_content: type: boolean default: false wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false savage_platform_featured_image_caption: type: string default: '' _jetpack_feature_clip_id: type: integer default: 0 _jetpack_memberships_contains_paid_content: type: boolean default: false footnotes: type: string default: '' jetpack_post_was_ever_published: type: boolean default: false savage_platform_subheadline: type: string default: '' 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. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. savage_platform_primary_term: type: string description: The primary term for the post. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_posts_by_id summary: DELETE /wp/v2/posts/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_posts_by_id_autosaves summary: GET /wp/v2/posts/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_posts_by_id_autosaves summary: POST /wp/v2/posts/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. author: type: integer description: The ID for the author of the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean 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 properties: byline: type: object default: [] properties: profiles: type: array items: type: object savage_platform_role_ideator: type: array items: type: integer savage_platform_role_editor: type: array items: type: integer savage_platform_role_senior_editor: type: array items: type: integer savage_platform_role_photographer: type: array items: type: integer savage_platform_role_illustrator: type: array items: type: integer savage_platform_role_translator: type: array items: type: integer savage_platform_role_as-told-to: type: array items: type: integer savage_platform_role_reviewed-by: type: array items: type: integer savage_platform_disable_recirculation: type: boolean default: false savage_platform_article_type: type: string default: news savage_platform_vice_article_type: type: string default: article savage_platform_article_intent: type: string default: '' savage_platform_show_affiliate_disclaimer: type: boolean default: false apple_news_api_created_at: type: string default: '' apple_news_api_id: type: string default: '' apple_news_api_modified_at: type: string default: '' apple_news_api_revision: type: string default: '' apple_news_api_share_url: type: string default: '' apple_news_cover_media_provider: type: string default: image apple_news_coverimage: type: integer default: 0 apple_news_coverimage_caption: type: string default: '' apple_news_cover_video_id: type: integer default: 0 apple_news_cover_video_url: type: string default: '' apple_news_cover_embedwebvideo_url: type: string default: '' apple_news_is_hidden: type: string default: '' apple_news_is_paid: type: string default: '' apple_news_is_preview: type: string default: '' apple_news_is_sponsored: type: string default: '' apple_news_maturity_rating: type: string default: '' apple_news_metadata: type: string default: '' apple_news_pullquote: type: string default: '' apple_news_pullquote_position: type: string default: '' apple_news_slug: type: string default: '' apple_news_sections: type: array default: [] items: type: string apple_news_suppress_video_url: type: boolean default: false apple_news_use_image_component: type: boolean default: false _jetpack_newsletter_access: type: string default: '' _jetpack_dont_email_post_to_subs: type: boolean default: false _jetpack_newsletter_tier_id: type: integer default: 0 _jetpack_memberships_contains_paywalled_content: type: boolean default: false wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false savage_platform_featured_image_caption: type: string default: '' _jetpack_feature_clip_id: type: integer default: 0 _jetpack_memberships_contains_paid_content: type: boolean default: false footnotes: type: string default: '' jetpack_post_was_ever_published: type: boolean default: false savage_platform_subheadline: type: string default: '' 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. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. byline: type: array items: type: integer description: The terms assigned to the post in the byline taxonomy. savage_platform_primary_term: type: string description: The primary term for the post. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_posts_by_parent_autosaves_by_id summary: GET /wp/v2/posts/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_posts_by_parent_revisions summary: GET /wp/v2/posts/(?P[\d]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/posts/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_posts_by_parent_revisions_by_id summary: GET /wp/v2/posts/(?P[\d]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_posts_by_parent_revisions_by_id summary: DELETE /wp/v2/posts/(?P[\d]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/posts/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/profile: get: operationId: get_wp_v2_profile summary: GET /wp/v2/profile description: '`GET` on the WordPress REST route `/wp/v2/profile` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any description: Limit result set to posts assigned one or more statuses. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_profile summary: POST /wp/v2/profile description: '`POST` on the WordPress REST route `/wp/v2/profile` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object savage_platform_profile_job_title: type: string default: '' savage_platform_profile_facebook_url: type: string default: '' savage_platform_profile_x_url: type: string default: '' savage_platform_profile_instagram_url: type: string default: '' savage_platform_profile_linkedin_url: type: string default: '' savage_platform_profile_muck_rack_url: type: string default: '' savage_platform_profile_threads_url: type: string default: '' savage_platform_profile_bluesky_url: type: string default: '' footnotes: type: string default: '' savage_platform_subheadline: type: string default: '' wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false description: Meta fields. template: type: string description: The theme file to use to display the post. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/profile/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_profile_by_id summary: GET /wp/v2/profile/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: password in: query required: false schema: type: string description: The password for the post if it is password protected. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_profile_by_id summary: POST /wp/v2/profile/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: &id038 - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: &id039 [] properties: profiles: type: array items: type: object savage_platform_profile_job_title: type: string default: '' savage_platform_profile_facebook_url: type: string default: '' savage_platform_profile_x_url: type: string default: '' savage_platform_profile_instagram_url: type: string default: '' savage_platform_profile_linkedin_url: type: string default: '' savage_platform_profile_muck_rack_url: type: string default: '' savage_platform_profile_threads_url: type: string default: '' savage_platform_profile_bluesky_url: type: string default: '' footnotes: type: string default: '' savage_platform_subheadline: type: string default: '' wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false description: Meta fields. template: type: string description: The theme file to use to display the post. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_profile_by_id summary: PUT /wp/v2/profile/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id038 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: *id039 properties: profiles: type: array items: type: object savage_platform_profile_job_title: type: string default: '' savage_platform_profile_facebook_url: type: string default: '' savage_platform_profile_x_url: type: string default: '' savage_platform_profile_instagram_url: type: string default: '' savage_platform_profile_linkedin_url: type: string default: '' savage_platform_profile_muck_rack_url: type: string default: '' savage_platform_profile_threads_url: type: string default: '' savage_platform_profile_bluesky_url: type: string default: '' footnotes: type: string default: '' savage_platform_subheadline: type: string default: '' wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false description: Meta fields. template: type: string description: The theme file to use to display the post. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_profile_by_id summary: PATCH /wp/v2/profile/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id038 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: *id039 properties: profiles: type: array items: type: object savage_platform_profile_job_title: type: string default: '' savage_platform_profile_facebook_url: type: string default: '' savage_platform_profile_x_url: type: string default: '' savage_platform_profile_instagram_url: type: string default: '' savage_platform_profile_linkedin_url: type: string default: '' savage_platform_profile_muck_rack_url: type: string default: '' savage_platform_profile_threads_url: type: string default: '' savage_platform_profile_bluesky_url: type: string default: '' footnotes: type: string default: '' savage_platform_subheadline: type: string default: '' wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false description: Meta fields. template: type: string description: The theme file to use to display the post. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_profile_by_id summary: DELETE /wp/v2/profile/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/profile/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_profile_by_id_autosaves summary: GET /wp/v2/profile/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_profile_by_id_autosaves summary: POST /wp/v2/profile/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object savage_platform_profile_job_title: type: string default: '' savage_platform_profile_facebook_url: type: string default: '' savage_platform_profile_x_url: type: string default: '' savage_platform_profile_instagram_url: type: string default: '' savage_platform_profile_linkedin_url: type: string default: '' savage_platform_profile_muck_rack_url: type: string default: '' savage_platform_profile_threads_url: type: string default: '' savage_platform_profile_bluesky_url: type: string default: '' footnotes: type: string default: '' savage_platform_subheadline: type: string default: '' wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false description: Meta fields. template: type: string description: The theme file to use to display the post. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/profile/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_profile_by_parent_autosaves_by_id summary: GET /wp/v2/profile/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/profile/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_profile_by_parent_revisions summary: GET /wp/v2/profile/(?P[\d]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/profile/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_profile_by_parent_revisions_by_id summary: GET /wp/v2/profile/(?P[\d]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_profile_by_parent_revisions_by_id summary: DELETE /wp/v2/profile/(?P[\d]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/profile/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/search: get: operationId: get_wp_v2_search summary: GET /wp/v2/search description: '`GET` on the WordPress REST route `/wp/v2/search` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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 enum: - post - page - profile - sp_product - vice_section - category - post_tag - sp_language - any 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/settings: get: operationId: get_wp_v2_settings summary: GET /wp/v2/settings description: '`GET` on the WordPress REST route `/wp/v2/settings` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_settings summary: POST /wp/v2/settings description: '`POST` on the WordPress REST route `/wp/v2/settings` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: apple_news_automation: type: array items: type: object description: Automation settings for Publish to Apple News. jetpack_ai_agents_enabled: type: boolean description: Whether AI Agent Access is enabled on this site. wordpress_api_key: type: string description: API key for the Akismet Anti-spam connector. title: type: string description: Site title. description: type: string description: Site tagline. 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: &id040 - open - closed description: Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. default_comment_status: type: string enum: &id041 - 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. jetpack_search_ai_behavior_instructions: type: string block_visibility_settings: type: object properties: visibility_controls: type: object properties: browser_device: type: object properties: enable: type: boolean cookie: type: object properties: enable: type: boolean date_time: type: object properties: enable: type: boolean enable_day_of_week: type: boolean enable_time_of_day: type: boolean enable_scheduling: type: boolean hide_block: type: object properties: enable: type: boolean location: type: object properties: enable: type: boolean metadata: type: object properties: enable: type: boolean query_string: type: object properties: enable: type: boolean referral_source: type: object properties: enable: type: boolean screen_size: type: object properties: enable: type: boolean breakpoints: type: object properties: extra_large: type: string large: type: string medium: type: string small: type: string controls: type: object properties: extra_large: type: boolean large: type: boolean medium: type: boolean small: type: boolean extra_small: type: boolean enable_advanced_controls: type: boolean enable_frontend_css: type: boolean url_path: type: object properties: enable: type: boolean visibility_by_role: type: object properties: enable: type: boolean enable_user_roles: type: boolean enable_users: type: boolean enable_user_rule_sets: type: boolean visibility_presets: type: object properties: enable: type: boolean acf: type: object properties: enable: type: boolean edd: type: object properties: enable: type: boolean enable_variable_pricing: type: boolean woocommerce: type: object properties: enable: type: boolean enable_variable_pricing: type: boolean wp_fusion: type: object properties: enable: type: boolean disabled_blocks: type: array items: type: string plugin_settings: type: object properties: default_controls: type: array items: type: string enable_contextual_indicators: type: boolean contextual_indicator_color: type: string enable_block_opacity: type: boolean block_opacity: type: number enable_toolbar_controls: type: boolean enable_editor_notices: type: boolean enable_user_role_restrictions: type: boolean enabled_user_roles: type: array items: type: string enable_full_control_mode: type: boolean remove_on_uninstall: type: boolean enable_control_set_utilities: type: boolean description: Settings for the Block Visibility plugin. cookie_consent_template: type: string Blogroll Recommendations: type: array items: type: object description: Site Recommendations responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_settings summary: PUT /wp/v2/settings description: '`PUT` on the WordPress REST route `/wp/v2/settings` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: apple_news_automation: type: array items: type: object description: Automation settings for Publish to Apple News. jetpack_ai_agents_enabled: type: boolean description: Whether AI Agent Access is enabled on this site. wordpress_api_key: type: string description: API key for the Akismet Anti-spam connector. title: type: string description: Site title. description: type: string description: Site tagline. 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: *id040 description: Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. default_comment_status: type: string enum: *id041 description: Allow people to submit comments on new posts. site_logo: type: integer description: Site logo. site_icon: type: integer description: Site icon. jetpack_search_ai_behavior_instructions: type: string block_visibility_settings: type: object properties: visibility_controls: type: object properties: browser_device: type: object properties: enable: type: boolean cookie: type: object properties: enable: type: boolean date_time: type: object properties: enable: type: boolean enable_day_of_week: type: boolean enable_time_of_day: type: boolean enable_scheduling: type: boolean hide_block: type: object properties: enable: type: boolean location: type: object properties: enable: type: boolean metadata: type: object properties: enable: type: boolean query_string: type: object properties: enable: type: boolean referral_source: type: object properties: enable: type: boolean screen_size: type: object properties: enable: type: boolean breakpoints: type: object properties: extra_large: type: string large: type: string medium: type: string small: type: string controls: type: object properties: extra_large: type: boolean large: type: boolean medium: type: boolean small: type: boolean extra_small: type: boolean enable_advanced_controls: type: boolean enable_frontend_css: type: boolean url_path: type: object properties: enable: type: boolean visibility_by_role: type: object properties: enable: type: boolean enable_user_roles: type: boolean enable_users: type: boolean enable_user_rule_sets: type: boolean visibility_presets: type: object properties: enable: type: boolean acf: type: object properties: enable: type: boolean edd: type: object properties: enable: type: boolean enable_variable_pricing: type: boolean woocommerce: type: object properties: enable: type: boolean enable_variable_pricing: type: boolean wp_fusion: type: object properties: enable: type: boolean disabled_blocks: type: array items: type: string plugin_settings: type: object properties: default_controls: type: array items: type: string enable_contextual_indicators: type: boolean contextual_indicator_color: type: string enable_block_opacity: type: boolean block_opacity: type: number enable_toolbar_controls: type: boolean enable_editor_notices: type: boolean enable_user_role_restrictions: type: boolean enabled_user_roles: type: array items: type: string enable_full_control_mode: type: boolean remove_on_uninstall: type: boolean enable_control_set_utilities: type: boolean description: Settings for the Block Visibility plugin. cookie_consent_template: type: string Blogroll Recommendations: type: array items: type: object description: Site Recommendations responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_settings summary: PATCH /wp/v2/settings description: '`PATCH` on the WordPress REST route `/wp/v2/settings` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: apple_news_automation: type: array items: type: object description: Automation settings for Publish to Apple News. jetpack_ai_agents_enabled: type: boolean description: Whether AI Agent Access is enabled on this site. wordpress_api_key: type: string description: API key for the Akismet Anti-spam connector. title: type: string description: Site title. description: type: string description: Site tagline. 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: *id040 description: Allow link notifications from other blogs (pingbacks and trackbacks) on new articles. default_comment_status: type: string enum: *id041 description: Allow people to submit comments on new posts. site_logo: type: integer description: Site logo. site_icon: type: integer description: Site icon. jetpack_search_ai_behavior_instructions: type: string block_visibility_settings: type: object properties: visibility_controls: type: object properties: browser_device: type: object properties: enable: type: boolean cookie: type: object properties: enable: type: boolean date_time: type: object properties: enable: type: boolean enable_day_of_week: type: boolean enable_time_of_day: type: boolean enable_scheduling: type: boolean hide_block: type: object properties: enable: type: boolean location: type: object properties: enable: type: boolean metadata: type: object properties: enable: type: boolean query_string: type: object properties: enable: type: boolean referral_source: type: object properties: enable: type: boolean screen_size: type: object properties: enable: type: boolean breakpoints: type: object properties: extra_large: type: string large: type: string medium: type: string small: type: string controls: type: object properties: extra_large: type: boolean large: type: boolean medium: type: boolean small: type: boolean extra_small: type: boolean enable_advanced_controls: type: boolean enable_frontend_css: type: boolean url_path: type: object properties: enable: type: boolean visibility_by_role: type: object properties: enable: type: boolean enable_user_roles: type: boolean enable_users: type: boolean enable_user_rule_sets: type: boolean visibility_presets: type: object properties: enable: type: boolean acf: type: object properties: enable: type: boolean edd: type: object properties: enable: type: boolean enable_variable_pricing: type: boolean woocommerce: type: object properties: enable: type: boolean enable_variable_pricing: type: boolean wp_fusion: type: object properties: enable: type: boolean disabled_blocks: type: array items: type: string plugin_settings: type: object properties: default_controls: type: array items: type: string enable_contextual_indicators: type: boolean contextual_indicator_color: type: string enable_block_opacity: type: boolean block_opacity: type: number enable_toolbar_controls: type: boolean enable_editor_notices: type: boolean enable_user_role_restrictions: type: boolean enabled_user_roles: type: array items: type: string enable_full_control_mode: type: boolean remove_on_uninstall: type: boolean enable_control_set_utilities: type: boolean description: Settings for the Block Visibility plugin. cookie_consent_template: type: string Blogroll Recommendations: type: array items: type: object description: Site Recommendations responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sidebars: get: operationId: get_wp_v2_sidebars summary: GET /wp/v2/sidebars description: '`GET` on the WordPress REST route `/wp/v2/sidebars` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sidebars/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\w-]+`. schema: type: string pattern: '[\w-]+' get: operationId: get_wp_v2_sidebars_by_id summary: GET /wp/v2/sidebars/(?P[\w-]+) description: '`GET` on the WordPress REST route `/wp/v2/sidebars/(?P[\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_sidebars_by_id summary: POST /wp/v2/sidebars/(?P[\w-]+) description: '`POST` on the WordPress REST route `/wp/v2/sidebars/(?P[\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: widgets: type: array items: type: &id042 - object - string description: Nested widgets. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_sidebars_by_id summary: PUT /wp/v2/sidebars/(?P[\w-]+) description: '`PUT` on the WordPress REST route `/wp/v2/sidebars/(?P[\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: widgets: type: array items: type: *id042 description: Nested widgets. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_sidebars_by_id summary: PATCH /wp/v2/sidebars/(?P[\w-]+) description: '`PATCH` on the WordPress REST route `/wp/v2/sidebars/(?P[\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: widgets: type: array items: type: *id042 description: Nested widgets. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sp_product: get: operationId: get_wp_v2_sp_product summary: GET /wp/v2/sp_product description: '`GET` on the WordPress REST route `/wp/v2/sp_product` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any 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: tags in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the tags taxonomy. - name: tags_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the tags taxonomy. - name: brands in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the brands taxonomy. - name: brands_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the brands taxonomy. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_sp_product summary: POST /wp/v2/sp_product description: '`POST` on the WordPress REST route `/wp/v2/sp_product` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object savage_platform_currency_code: type: string default: '' savage_platform_currency_name: type: string default: '' savage_platform_retailers: type: array default: [] items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. brands: type: array items: type: integer description: The terms assigned to the post in the sp_brand taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sp_product/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_sp_product_by_id summary: GET /wp/v2/sp_product/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/sp_product/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_sp_product_by_id summary: POST /wp/v2/sp_product/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/sp_product/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: &id044 [] properties: profiles: type: array items: type: object savage_platform_currency_code: type: string default: '' savage_platform_currency_name: type: string default: '' savage_platform_retailers: type: array default: &id045 [] items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. brands: type: array items: type: integer description: The terms assigned to the post in the sp_brand taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_sp_product_by_id summary: PUT /wp/v2/sp_product/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/sp_product/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 properties: raw: type: string rendered: type: string description: The title for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: *id044 properties: profiles: type: array items: type: object savage_platform_currency_code: type: string default: '' savage_platform_currency_name: type: string default: '' savage_platform_retailers: type: array default: *id045 items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. brands: type: array items: type: integer description: The terms assigned to the post in the sp_brand taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_sp_product_by_id summary: PATCH /wp/v2/sp_product/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/sp_product/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 properties: raw: type: string rendered: type: string description: The title for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: *id044 properties: profiles: type: array items: type: object savage_platform_currency_code: type: string default: '' savage_platform_currency_name: type: string default: '' savage_platform_retailers: type: array default: *id045 items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. tags: type: array items: type: integer description: The terms assigned to the post in the post_tag taxonomy. brands: type: array items: type: integer description: The terms assigned to the post in the sp_brand taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_sp_product_by_id summary: DELETE /wp/v2/sp_product/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/sp_product/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sp_product/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_sp_product_by_parent_revisions summary: GET /wp/v2/sp_product/(?P[\d]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/sp_product/(?P[\d]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/sp_product/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_sp_product_by_parent_revisions_by_id summary: GET /wp/v2/sp_product/(?P[\d]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/sp_product/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_sp_product_by_parent_revisions_by_id summary: DELETE /wp/v2/sp_product/(?P[\d]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/sp_product/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/statuses: get: operationId: get_wp_v2_statuses summary: GET /wp/v2/statuses description: '`GET` on the WordPress REST route `/wp/v2/statuses` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/statuses/{status}: parameters: - name: status in: path required: true description: Path segment matched by the WordPress route pattern `[\w-]+`. schema: type: string pattern: '[\w-]+' get: operationId: get_wp_v2_statuses_by_status summary: GET /wp/v2/statuses/(?P[\w-]+) description: '`GET` on the WordPress REST route `/wp/v2/statuses/(?P[\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/tags: get: operationId: get_wp_v2_tags summary: GET /wp/v2/tags description: '`GET` on the WordPress REST route `/wp/v2/tags` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - 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 default: null 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_tags summary: POST /wp/v2/tags description: '`POST` on the WordPress REST route `/wp/v2/tags` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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. required: - name responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/tags/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_tags_by_id summary: GET /wp/v2/tags/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/tags/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_tags_by_id summary: POST /wp/v2/tags/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/tags/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_tags_by_id summary: PUT /wp/v2/tags/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/tags/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_tags_by_id summary: PATCH /wp/v2/tags/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/tags/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_tags_by_id summary: DELETE /wp/v2/tags/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/tags/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/taxonomies: get: operationId: get_wp_v2_taxonomies summary: GET /wp/v2/taxonomies description: '`GET` on the WordPress REST route `/wp/v2/taxonomies` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/taxonomies/{taxonomy}: parameters: - name: taxonomy in: path required: true description: Path segment matched by the WordPress route pattern `[\w-]+`. schema: type: string pattern: '[\w-]+' get: operationId: get_wp_v2_taxonomies_by_taxonomy summary: GET /wp/v2/taxonomies/(?P[\w-]+) description: '`GET` on the WordPress REST route `/wp/v2/taxonomies/(?P[\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts: get: operationId: get_wp_v2_template_parts summary: GET /wp/v2/template-parts description: '`GET` on the WordPress REST route `/wp/v2/template-parts` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_template_parts summary: POST /wp/v2/template-parts description: '`POST` on the WordPress REST route `/wp/v2/template-parts` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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: type: - object - string default: '' properties: raw: type: string block_version: type: integer description: Content of template. title: type: - object - string default: '' properties: raw: type: string rendered: type: string description: Title of template. description: type: string default: '' description: Description of template. status: type: string enum: - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_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.) required: - slug responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+`. schema: type: string pattern: ([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+ get: operationId: get_wp_v2_template_parts_by_id summary: GET /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+) description: '`GET` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_template_parts_by_id summary: POST /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+) description: '`POST` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: type: - object - string properties: raw: type: string block_version: type: integer description: Content of template. title: type: - object - string properties: raw: type: string rendered: type: string description: Title of template. description: type: string description: Description of template. status: type: string enum: &id046 - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_template_parts_by_id summary: PUT /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+) description: '`PUT` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: type: - object - string properties: raw: type: string block_version: type: integer description: Content of template. title: type: - object - string properties: raw: type: string rendered: type: string 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. area: type: string description: Where the template part is intended for use (header, footer, etc.) responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_template_parts_by_id summary: PATCH /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+) description: '`PATCH` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: type: - object - string properties: raw: type: string block_version: type: integer description: Content of template. title: type: - object - string properties: raw: type: string rendered: type: string 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. area: type: string description: Where the template part is intended for use (header, footer, etc.) responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_template_parts_by_id summary: DELETE /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+) description: '`DELETE` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+`. schema: type: string pattern: ([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+ get: operationId: get_wp_v2_template_parts_by_id_autosaves summary: GET /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_template_parts_by_id_autosaves summary: POST /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: type: - object - string properties: raw: type: string block_version: type: integer description: Content of template. title: type: - object - string properties: raw: type: string rendered: type: string description: Title of template. description: type: string description: Description of template. status: type: string enum: - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+`. schema: type: string pattern: ([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+ - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_template_parts_by_parent_autosaves_by_id summary: GET /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+`. schema: type: string pattern: ([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+ get: operationId: get_wp_v2_template_parts_by_parent_revisions summary: GET /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+`. schema: type: string pattern: ([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+ - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_template_parts_by_parent_revisions_by_id summary: GET /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_template_parts_by_parent_revisions_by_id summary: DELETE /wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/template-parts/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/template-parts/lookup: get: operationId: get_wp_v2_template_parts_lookup summary: GET /wp/v2/template-parts/lookup description: '`GET` on the WordPress REST route `/wp/v2/template-parts/lookup` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates: get: operationId: get_wp_v2_templates summary: GET /wp/v2/templates description: '`GET` on the WordPress REST route `/wp/v2/templates` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_templates summary: POST /wp/v2/templates description: '`POST` on the WordPress REST route `/wp/v2/templates` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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: type: - object - string default: '' properties: raw: type: string block_version: type: integer description: Content of template. title: type: - object - string default: '' properties: raw: type: string rendered: type: string description: Title of template. description: type: string default: '' description: Description of template. status: type: string enum: - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_disabled default: publish description: Status of template. author: type: integer description: The ID for the author of the template. required: - slug responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+`. schema: type: string pattern: ([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+ get: operationId: get_wp_v2_templates_by_id summary: GET /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+) description: '`GET` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_templates_by_id summary: POST /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+) description: '`POST` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: type: - object - string properties: raw: type: string block_version: type: integer description: Content of template. title: type: - object - string properties: raw: type: string rendered: type: string description: Title of template. description: type: string description: Description of template. status: type: string enum: &id047 - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_disabled description: Status of template. author: type: integer description: The ID for the author of the template. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_templates_by_id summary: PUT /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+) description: '`PUT` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: type: - object - string properties: raw: type: string block_version: type: integer description: Content of template. title: type: - object - string properties: raw: type: string rendered: type: string description: Title of template. description: type: string description: Description of template. status: type: string enum: *id047 description: Status of template. author: type: integer description: The ID for the author of the template. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_templates_by_id summary: PATCH /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+) description: '`PATCH` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: type: - object - string properties: raw: type: string block_version: type: integer description: Content of template. title: type: - object - string properties: raw: type: string rendered: type: string description: Title of template. description: type: string description: Description of template. status: type: string enum: *id047 description: Status of template. author: type: integer description: The ID for the author of the template. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_templates_by_id summary: DELETE /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+) description: '`DELETE` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+`. schema: type: string pattern: ([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+ get: operationId: get_wp_v2_templates_by_id_autosaves summary: GET /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_templates_by_id_autosaves summary: POST /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: type: - object - string properties: raw: type: string block_version: type: integer description: Content of template. title: type: - object - string properties: raw: type: string rendered: type: string description: Title of template. description: type: string description: Description of template. status: type: string enum: - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_disabled description: Status of template. author: type: integer description: The ID for the author of the template. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+`. schema: type: string pattern: ([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+ - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_templates_by_parent_autosaves_by_id summary: GET /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+`. schema: type: string pattern: ([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+ get: operationId: get_wp_v2_templates_by_parent_revisions summary: GET /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+`. schema: type: string pattern: ([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+ - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_templates_by_parent_revisions_by_id summary: GET /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_templates_by_parent_revisions_by_id summary: DELETE /wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/templates/(?P([^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)[\/\w%-]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/templates/lookup: get: operationId: get_wp_v2_templates_lookup summary: GET /wp/v2/templates/lookup description: '`GET` on the WordPress REST route `/wp/v2/templates/lookup` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/themes: get: operationId: get_wp_v2_themes summary: GET /wp/v2/themes description: '`GET` on the WordPress REST route `/wp/v2/themes` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: status in: query required: false schema: type: array items: type: string enum: - active - inactive description: Limit result set to themes assigned one or more statuses. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/themes/{stylesheet}: parameters: - name: stylesheet in: path required: true description: Path segment matched by the WordPress route pattern `[^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?`. schema: type: string pattern: '[^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?' get: operationId: get_wp_v2_themes_by_stylesheet summary: GET /wp/v2/themes/(?P[^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?) description: '`GET` on the WordPress REST route `/wp/v2/themes/(?P[^\/:<>\*\?"\|]+(?:\/[^\/:<>\*\?"\|]+)?)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/types: get: operationId: get_wp_v2_types summary: GET /wp/v2/types description: '`GET` on the WordPress REST route `/wp/v2/types` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/types/{type}: parameters: - name: type in: path required: true description: Path segment matched by the WordPress route pattern `[\w-]+`. schema: type: string pattern: '[\w-]+' get: operationId: get_wp_v2_types_by_type summary: GET /wp/v2/types/(?P[\w-]+) description: '`GET` on the WordPress REST route `/wp/v2/types/(?P[\w-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users: get: operationId: get_wp_v2_users summary: GET /wp/v2/users description: '`GET` on the WordPress REST route `/wp/v2/users` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - 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: type: - boolean - array items: type: string enum: post: post page: page attachment: attachment nav_menu_item: nav_menu_item wp_block: wp_block wp_template: wp_template wp_template_part: wp_template_part wp_global_styles: wp_global_styles wp_navigation: wp_navigation wp_font_family: wp_font_family wp_font_face: wp_font_face jp_search_overlay: jp_search_overlay feedback: feedback jetpack_form: jetpack_form profile: profile sp_product: sp_product jp_act_log_event: jp_act_log_event visibility_preset: visibility_preset vice_section: vice_section jp_pay_order: jp_pay_order jp_pay_product: jp_pay_product description: Limit result set to users who have published posts. - name: search_columns in: query required: false schema: type: array default: [] items: type: string enum: - email - name - id - username - slug description: Array of column names to be searched. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_users summary: POST /wp/v2/users description: '`POST` on the WordPress REST route `/wp/v2/users` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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 format: email description: The email address for the user. url: type: string format: uri description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: - '' - en_US - ar - cs_CZ - da_DK - de_DE - el - es_ES - fr_FR - id_ID - it_IT - ja - ko_KR - nl_NL - pl_PL - pt_PT - ro_RO - ru_RU - sr_RS - sv_SE 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 properties: persisted_preferences: type: object default: [] properties: _modified: type: string format: date-time jetpack_donation_warning_dismissed: type: boolean default: false description: Meta fields. required: - username - email - password responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_users_by_id summary: GET /wp/v2/users/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/users/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_users_by_id summary: POST /wp/v2/users/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/users/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 format: email description: The email address for the user. url: type: string format: uri description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: &id048 - '' - en_US - ar - cs_CZ - da_DK - de_DE - el - es_ES - fr_FR - id_ID - it_IT - ja - ko_KR - nl_NL - pl_PL - pt_PT - ro_RO - ru_RU - sr_RS - sv_SE 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 properties: persisted_preferences: type: object default: &id049 [] properties: _modified: type: string format: date-time jetpack_donation_warning_dismissed: type: boolean default: false description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_users_by_id summary: PUT /wp/v2/users/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/users/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 format: email description: The email address for the user. url: type: string format: uri 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 properties: persisted_preferences: type: object default: *id049 properties: _modified: type: string format: date-time jetpack_donation_warning_dismissed: type: boolean default: false description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_users_by_id summary: PATCH /wp/v2/users/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/users/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 format: email description: The email address for the user. url: type: string format: uri 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 properties: persisted_preferences: type: object default: *id049 properties: _modified: type: string format: date-time jetpack_donation_warning_dismissed: type: boolean default: false description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_users_by_id summary: DELETE /wp/v2/users/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/users/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users/{user_id}/application-passwords: parameters: - name: user_id in: path required: true description: Path segment matched by the WordPress route pattern `(?:[\d]+|me)`. schema: type: string pattern: (?:[\d]+|me) get: operationId: get_wp_v2_users_by_user_id_application_passwords summary: GET /wp/v2/users/(?P(?:[\d]+|me))/application-passwords description: '`GET` on the WordPress REST route `/wp/v2/users/(?P(?:[\d]+|me))/application-passwords` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_users_by_user_id_application_passwords summary: POST /wp/v2/users/(?P(?:[\d]+|me))/application-passwords description: '`POST` on the WordPress REST route `/wp/v2/users/(?P(?:[\d]+|me))/application-passwords` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true content: application/json: schema: type: object properties: app_id: type: string description: A UUID provided by the application to uniquely identify it. It is recommended to use an UUID v5 with the URL or DNS namespace. name: type: string description: The name of the application password. required: - name responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_users_by_user_id_application_passwords summary: DELETE /wp/v2/users/(?P(?:[\d]+|me))/application-passwords description: '`DELETE` on the WordPress REST route `/wp/v2/users/(?P(?:[\d]+|me))/application-passwords` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users/{user_id}/application-passwords/{uuid}: parameters: - name: user_id in: path required: true description: Path segment matched by the WordPress route pattern `(?:[\d]+|me)`. schema: type: string pattern: (?:[\d]+|me) - name: uuid in: path required: true description: Path segment matched by the WordPress route pattern `[\w\-]+`. schema: type: string pattern: '[\w\-]+' get: operationId: get_wp_v2_users_by_user_id_application_passwords_by_uuid summary: GET /wp/v2/users/(?P(?:[\d]+|me))/application-passwords/(?P[\w\-]+) description: '`GET` on the WordPress REST route `/wp/v2/users/(?P(?:[\d]+|me))/application-passwords/(?P[\w\-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_users_by_user_id_application_passwords_by_uuid summary: POST /wp/v2/users/(?P(?:[\d]+|me))/application-passwords/(?P[\w\-]+) description: '`POST` on the WordPress REST route `/wp/v2/users/(?P(?:[\d]+|me))/application-passwords/(?P[\w\-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_users_by_user_id_application_passwords_by_uuid summary: PUT /wp/v2/users/(?P(?:[\d]+|me))/application-passwords/(?P[\w\-]+) description: '`PUT` on the WordPress REST route `/wp/v2/users/(?P(?:[\d]+|me))/application-passwords/(?P[\w\-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_users_by_user_id_application_passwords_by_uuid summary: PATCH /wp/v2/users/(?P(?:[\d]+|me))/application-passwords/(?P[\w\-]+) description: '`PATCH` on the WordPress REST route `/wp/v2/users/(?P(?:[\d]+|me))/application-passwords/(?P[\w\-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_users_by_user_id_application_passwords_by_uuid summary: DELETE /wp/v2/users/(?P(?:[\d]+|me))/application-passwords/(?P[\w\-]+) description: '`DELETE` on the WordPress REST route `/wp/v2/users/(?P(?:[\d]+|me))/application-passwords/(?P[\w\-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users/{user_id}/application-passwords/introspect: parameters: - name: user_id in: path required: true description: Path segment matched by the WordPress route pattern `(?:[\d]+|me)`. schema: type: string pattern: (?:[\d]+|me) get: operationId: get_wp_v2_users_by_user_id_application_passwords_introspect summary: GET /wp/v2/users/(?P(?:[\d]+|me))/application-passwords/introspect description: '`GET` on the WordPress REST route `/wp/v2/users/(?P(?:[\d]+|me))/application-passwords/introspect` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/users/me: get: operationId: get_wp_v2_users_me summary: GET /wp/v2/users/me description: '`GET` on the WordPress REST route `/wp/v2/users/me` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_users_me summary: POST /wp/v2/users/me description: '`POST` on the WordPress REST route `/wp/v2/users/me` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 format: email description: The email address for the user. url: type: string format: uri description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: &id050 - '' - en_US - ar - cs_CZ - da_DK - de_DE - el - es_ES - fr_FR - id_ID - it_IT - ja - ko_KR - nl_NL - pl_PL - pt_PT - ro_RO - ru_RU - sr_RS - sv_SE 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 properties: persisted_preferences: type: object default: &id051 [] properties: _modified: type: string format: date-time jetpack_donation_warning_dismissed: type: boolean default: false description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_users_me summary: PUT /wp/v2/users/me description: '`PUT` on the WordPress REST route `/wp/v2/users/me` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 format: email description: The email address for the user. url: type: string format: uri description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: *id050 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 properties: persisted_preferences: type: object default: *id051 properties: _modified: type: string format: date-time jetpack_donation_warning_dismissed: type: boolean default: false description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_users_me summary: PATCH /wp/v2/users/me description: '`PATCH` on the WordPress REST route `/wp/v2/users/me` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 format: email description: The email address for the user. url: type: string format: uri description: URL of the user. description: type: string description: Description of the user. locale: type: string enum: *id050 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 properties: persisted_preferences: type: object default: *id051 properties: _modified: type: string format: date-time jetpack_donation_warning_dismissed: type: boolean default: false description: Meta fields. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_users_me summary: DELETE /wp/v2/users/me description: '`DELETE` on the WordPress REST route `/wp/v2/users/me` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/vice_section: get: operationId: get_wp_v2_vice_section summary: GET /wp/v2/vice_section description: '`GET` on the WordPress REST route `/wp/v2/vice_section` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any 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: type: - object - array description: Limit result set to items with specific terms assigned in the categories taxonomy. - name: categories_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the categories taxonomy. - name: platform-languages in: query required: false schema: type: - object - array description: Limit result set to items with specific terms assigned in the platform-languages taxonomy. - name: platform-languages_exclude in: query required: false schema: type: - object - array description: Limit result set to items except those with specific terms assigned in the platform-languages taxonomy. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_vice_section summary: POST /wp/v2/vice_section description: '`POST` on the WordPress REST route `/wp/v2/vice_section` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false footnotes: type: string default: '' description: Meta fields. 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. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/vice_section/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_vice_section_by_id summary: GET /wp/v2/vice_section/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_vice_section_by_id summary: POST /wp/v2/vice_section/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: &id052 - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: &id053 [] properties: profiles: type: array items: type: object wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false footnotes: type: string default: '' description: Meta fields. 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. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_vice_section_by_id summary: PUT /wp/v2/vice_section/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id052 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: *id053 properties: profiles: type: array items: type: object wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false footnotes: type: string default: '' description: Meta fields. 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. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_vice_section_by_id summary: PATCH /wp/v2/vice_section/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id052 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: *id053 properties: profiles: type: array items: type: object wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false footnotes: type: string default: '' description: Meta fields. 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. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_vice_section_by_id summary: DELETE /wp/v2/vice_section/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/vice_section/{id}/autosaves: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_vice_section_by_id_autosaves summary: GET /wp/v2/vice_section/(?P[\d]+)/autosaves description: '`GET` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_vice_section_by_id_autosaves summary: POST /wp/v2/vice_section/(?P[\d]+)/autosaves description: '`POST` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)/autosaves` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: parent: type: integer description: The ID for the parent of the autosave. date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. content: type: object properties: raw: type: string rendered: type: string block_version: type: integer protected: type: boolean description: The content for the post. excerpt: type: object properties: raw: type: string rendered: type: string protected: type: boolean description: The excerpt for the post. featured_media: type: integer description: The ID of the featured media for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object wp_curate_deduplication: type: boolean default: false wp_curate_unique_pinned_posts: type: boolean default: false footnotes: type: string default: '' description: Meta fields. 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. platform-languages: type: array items: type: integer description: The terms assigned to the post in the sp_language taxonomy. jetpack_sharing_enabled: type: boolean description: Are sharing buttons enabled? responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/vice_section/{parent}/autosaves/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_vice_section_by_parent_autosaves_by_id summary: GET /wp/v2/vice_section/(?P[\d]+)/autosaves/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)/autosaves/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/vice_section/{parent}/revisions: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_vice_section_by_parent_revisions summary: GET /wp/v2/vice_section/(?P[\d]+)/revisions description: '`GET` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)/revisions` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/vice_section/{parent}/revisions/{id}: parameters: - name: parent in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_vice_section_by_parent_revisions_by_id summary: GET /wp/v2/vice_section/(?P[\d]+)/revisions/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_vice_section_by_parent_revisions_by_id summary: DELETE /wp/v2/vice_section/(?P[\d]+)/revisions/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/vice_section/(?P[\d]+)/revisions/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/visibility_preset: get: operationId: get_wp_v2_visibility_preset summary: GET /wp/v2/visibility_preset description: '`GET` on the WordPress REST route `/wp/v2/visibility_preset` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - name: after in: query required: false schema: type: string format: date-time description: Limit response to posts published after a given ISO8601 compliant date. - name: modified_after in: query required: false schema: type: string format: date-time description: Limit response to posts modified after a given ISO8601 compliant date. - name: before in: query required: false schema: type: string format: date-time description: Limit response to posts published before a given ISO8601 compliant date. - name: modified_before in: query required: false schema: type: string format: date-time description: Limit response to posts modified before a given ISO8601 compliant date. - name: 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 enum: - post_title - post_content - post_excerpt 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 enum: - publish - future - draft - pending - private - trash - auto-draft - inherit - request-pending - request-confirmed - request-failed - request-completed - spam - jp-temp-feedback - dp-rewrite-republish - wp_stream_enabled - wp_stream_disabled - any description: Limit result set to posts assigned one or more statuses. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_visibility_preset summary: POST /wp/v2/visibility_preset description: '`POST` on the WordPress REST route `/wp/v2/visibility_preset` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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 - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. meta: type: object properties: byline: type: object default: [] properties: profiles: type: array items: type: object enable: type: boolean default: true layout: type: string default: columns hide_block: type: boolean default: false control_sets: type: array default: [] items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/visibility_preset/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_visibility_preset_by_id summary: GET /wp/v2/visibility_preset/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/visibility_preset/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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: password in: query required: false schema: type: string description: The password for the post if it is password protected. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_visibility_preset_by_id summary: POST /wp/v2/visibility_preset/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/visibility_preset/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: &id054 - publish - future - draft - pending - private - spam - wp_stream_enabled - wp_stream_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 properties: raw: type: string rendered: type: string description: The title for the post. meta: type: object properties: byline: type: object default: &id055 [] properties: profiles: type: array items: type: object enable: type: boolean default: true layout: type: string default: columns hide_block: type: boolean default: false control_sets: type: array default: &id056 [] items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_visibility_preset_by_id summary: PUT /wp/v2/visibility_preset/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/visibility_preset/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id054 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. meta: type: object properties: byline: type: object default: *id055 properties: profiles: type: array items: type: object enable: type: boolean default: true layout: type: string default: columns hide_block: type: boolean default: false control_sets: type: array default: *id056 items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_visibility_preset_by_id summary: PATCH /wp/v2/visibility_preset/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/visibility_preset/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: date: type: - string - 'null' format: date-time description: The date the post was published, in the site's timezone. date_gmt: type: - string - 'null' format: date-time 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: *id054 description: A named status for the post. password: type: string description: A password to protect access to the content and excerpt. title: type: object properties: raw: type: string rendered: type: string description: The title for the post. meta: type: object properties: byline: type: object default: *id055 properties: profiles: type: array items: type: object enable: type: boolean default: true layout: type: string default: columns hide_block: type: boolean default: false control_sets: type: array default: *id056 items: type: object description: Meta fields. template: type: string description: The theme file to use to display the post. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_visibility_preset_by_id summary: DELETE /wp/v2/visibility_preset/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/visibility_preset/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: force in: query required: false schema: type: boolean default: false description: Whether to bypass Trash and force deletion. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widget-types: get: operationId: get_wp_v2_widget_types summary: GET /wp/v2/widget-types description: '`GET` on the WordPress REST route `/wp/v2/widget-types` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widget-types/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[a-zA-Z0-9_-]+`. schema: type: string pattern: '[a-zA-Z0-9_-]+' get: operationId: get_wp_v2_widget_types_by_id summary: GET /wp/v2/widget-types/(?P[a-zA-Z0-9_-]+) description: '`GET` on the WordPress REST route `/wp/v2/widget-types/(?P[a-zA-Z0-9_-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widget-types/{id}/encode: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[a-zA-Z0-9_-]+`. schema: type: string pattern: '[a-zA-Z0-9_-]+' post: operationId: post_wp_v2_widget_types_by_id_encode summary: POST /wp/v2/widget-types/(?P[a-zA-Z0-9_-]+)/encode description: '`POST` on the WordPress REST route `/wp/v2/widget-types/(?P[a-zA-Z0-9_-]+)/encode` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widget-types/{id}/render: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[a-zA-Z0-9_-]+`. schema: type: string pattern: '[a-zA-Z0-9_-]+' post: operationId: post_wp_v2_widget_types_by_id_render summary: POST /wp/v2/widget-types/(?P[a-zA-Z0-9_-]+)/render description: '`POST` on the WordPress REST route `/wp/v2/widget-types/(?P[a-zA-Z0-9_-]+)/render` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: false content: application/json: schema: type: object properties: instance: type: object description: Current instance settings of the widget. responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widgets: get: operationId: get_wp_v2_widgets summary: GET /wp/v2/widgets description: '`GET` on the WordPress REST route `/wp/v2/widgets` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_widgets summary: POST /wp/v2/widgets description: '`POST` on the WordPress REST route `/wp/v2/widgets` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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 properties: encoded: type: string hash: type: string raw: 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. required: - sidebar responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/widgets/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\w\-]+`. schema: type: string pattern: '[\w\-]+' get: operationId: get_wp_v2_widgets_by_id summary: GET /wp/v2/widgets/(?P[\w\-]+) description: '`GET` on the WordPress REST route `/wp/v2/widgets/(?P[\w\-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_widgets_by_id summary: POST /wp/v2/widgets/(?P[\w\-]+) description: '`POST` on the WordPress REST route `/wp/v2/widgets/(?P[\w\-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 properties: encoded: type: string hash: type: string raw: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_widgets_by_id summary: PUT /wp/v2/widgets/(?P[\w\-]+) description: '`PUT` on the WordPress REST route `/wp/v2/widgets/(?P[\w\-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 properties: encoded: type: string hash: type: string raw: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_widgets_by_id summary: PATCH /wp/v2/widgets/(?P[\w\-]+) description: '`PATCH` on the WordPress REST route `/wp/v2/widgets/(?P[\w\-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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 properties: encoded: type: string hash: type: string raw: 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_widgets_by_id summary: DELETE /wp/v2/widgets/(?P[\w\-]+) description: '`DELETE` on the WordPress REST route `/wp/v2/widgets/(?P[\w\-]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wp_pattern_category: get: operationId: get_wp_v2_wp_pattern_category summary: GET /wp/v2/wp_pattern_category description: '`GET` on the WordPress REST route `/wp/v2/wp_pattern_category` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - name: context in: query required: false schema: type: string enum: - view - embed - edit default: view description: Scope under which the request is made; determines fields present in response. - name: page in: query required: false schema: type: integer default: 1 minimum: 1 description: Current page of the collection. - name: per_page in: query required: false schema: type: integer default: 10 minimum: 1 maximum: 100 description: Maximum number of items to be returned in result set. - name: search in: query required: false schema: type: string description: Limit results to those matching a string. - 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 default: null 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_wp_pattern_category summary: POST /wp/v2/wp_pattern_category description: '`POST` on the WordPress REST route `/wp/v2/wp_pattern_category` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 requestBody: required: true 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. required: - name responses: '200': description: Success. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' /wp/v2/wp_pattern_category/{id}: parameters: - name: id in: path required: true description: Path segment matched by the WordPress route pattern `[\d]+`. schema: type: string pattern: '[\d]+' get: operationId: get_wp_v2_wp_pattern_category_by_id summary: GET /wp/v2/wp_pattern_category/(?P[\d]+) description: '`GET` on the WordPress REST route `/wp/v2/wp_pattern_category/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' post: operationId: post_wp_v2_wp_pattern_category_by_id summary: POST /wp/v2/wp_pattern_category/(?P[\d]+) description: '`POST` on the WordPress REST route `/wp/v2/wp_pattern_category/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' put: operationId: put_wp_v2_wp_pattern_category_by_id summary: PUT /wp/v2/wp_pattern_category/(?P[\d]+) description: '`PUT` on the WordPress REST route `/wp/v2/wp_pattern_category/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' patch: operationId: patch_wp_v2_wp_pattern_category_by_id summary: PATCH /wp/v2/wp_pattern_category/(?P[\d]+) description: '`PATCH` on the WordPress REST route `/wp/v2/wp_pattern_category/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError' delete: operationId: delete_wp_v2_wp_pattern_category_by_id summary: DELETE /wp/v2/wp_pattern_category/(?P[\d]+) description: '`DELETE` on the WordPress REST route `/wp/v2/wp_pattern_category/(?P[\d]+)` in namespace `wp/v2`, as declared by the live route-discovery document at https://www.vice.com/wp-json/.' tags: - wp/v2 parameters: - 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. WordPress returns the requested resource or collection as JSON. content: application/json: schema: {} '401': description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry, you are not allowed to do that.","data":{"status":401}}`. content: application/json: schema: $ref: '#/components/schemas/WPError' '404': description: No route or resource matched. content: application/json: schema: $ref: '#/components/schemas/WPError'