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