openapi: 3.1.0
info:
title: VICE Video WordPress REST API
version: wp/v2
summary: The live WordPress REST API served by VICE Video (video.vice.com) at https://video.vice.com/wp-json/.
description: |-
Derived mechanically and verbatim from the route-discovery document the VICE Video (video.vice.com) web server publishes at https://video.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://video.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`, `block-visibility/v1`, `byline-manager/v1`, `cron-control/v1`, `duplicate-post/v1`, `elasticpress/v1`, `jetpack-boost/v1`, `jetpack/v4`, `jetpack/v4/blaze`, `jetpack/v4/blaze-app`, `jetpack/v4/explat`, `jetpack/v4/import`, `jetpack/v4/stats-app`, `my-jetpack/v1`, `post-smtp/v1`, `post-smtp/v2`, `psd/v1`, `savage-platform/v1`, `savage-platform/v1/blocks`, `two-factor/1.0`, `vip/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://video.vice.com/wp-json/
x-derived-on: '2026-09-04'
x-apievangelist-method: derived
servers:
- url: https://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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
- 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://video.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
- 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://video.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://video.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
- 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://video.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://video.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://video.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://video.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://video.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
- 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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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
- 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://video.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
- 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://video.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://video.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
- 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://video.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://video.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://video.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://video.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://video.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
- 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://video.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://video.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://video.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://video.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/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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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/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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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://video.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:
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://video.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
- 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://video.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
- 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://video.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://video.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
- 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: &id009 []
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://video.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.
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: *id009
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://video.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.
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: *id009
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://video.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://video.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://video.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
- 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://video.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://video.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://video.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://video.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://video.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
- 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://video.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
- 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://video.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://video.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: &id010
- publish
- future
- draft
- pending
- private
- 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: &id011 []
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://video.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: *id010
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: *id011
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://video.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: *id010
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: *id011
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://video.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://video.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
- 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://video.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
- 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://video.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://video.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: &id012
- publish
- future
- draft
- pending
- private
- 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: &id013 []
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://video.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: *id012
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: *id013
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://video.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: *id012
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: *id013
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://video.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://video.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://video.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
- wp_stream_enabled
- wp_stream_disabled
description: A named status for the post.
password:
type: string
description: A password to protect access to the content and excerpt.
title:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The title for the post.
content:
type: object
properties:
raw:
type: string
rendered:
type: string
block_version:
type: integer
protected:
type: boolean
description: The content for the post.
author:
type: integer
description: The ID for the author of the post.
featured_media:
type: integer
description: The ID of the featured media for the post.
meta:
type: object
properties:
byline:
type: object
default: []
properties:
profiles:
type: array
items:
type: object
spay_price:
type: number
default: 0
spay_currency:
type: string
default: ''
spay_cta:
type: string
default: ''
spay_multiple:
type: boolean
default: false
spay_email:
type: string
default: ''
spay_status:
type: string
default: ''
description: Meta fields.
template:
type: string
description: The theme file to use to display the post.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/jp_pay_product/{parent}/autosaves/{id}:
parameters:
- name: parent
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
- name: id
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
get:
operationId: get_wp_v2_jp_pay_product_by_parent_autosaves_by_id
summary: GET /wp/v2/jp_pay_product/(?P[\d]+)/autosaves/(?P[\d]+)
description: '`GET` on the WordPress REST route `/wp/v2/jp_pay_product/(?P[\d]+)/autosaves/(?P[\d]+)`
in namespace `wp/v2`, as declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/media:
get:
operationId: get_wp_v2_media
summary: GET /wp/v2/media
description: '`GET` on the WordPress REST route `/wp/v2/media` in namespace `wp/v2`, as declared by the live
route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
- name: page
in: query
required: false
schema:
type: integer
default: 1
minimum: 1
description: Current page of the collection.
- name: per_page
in: query
required: false
schema:
type: integer
default: 10
minimum: 1
maximum: 100
description: Maximum number of items to be returned in result set.
- name: search
in: query
required: false
schema:
type: string
description: Limit results to those matching a string.
- name: after
in: query
required: false
schema:
type: string
format: date-time
description: Limit response to posts published after a given ISO8601 compliant date.
- name: modified_after
in: query
required: false
schema:
type: string
format: date-time
description: Limit response to posts modified after a given ISO8601 compliant date.
- name: author
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Limit result set to posts assigned to specific authors.
- name: author_exclude
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Ensure result set excludes posts assigned to specific authors.
- name: before
in: query
required: false
schema:
type: string
format: date-time
description: Limit response to posts published before a given ISO8601 compliant date.
- name: modified_before
in: query
required: false
schema:
type: string
format: date-time
description: Limit response to posts modified before a given ISO8601 compliant date.
- name: exclude
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Ensure result set excludes specific IDs.
- name: include
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Limit result set to specific IDs.
- name: search_semantics
in: query
required: false
schema:
type: string
enum:
- exact
description: How to interpret the search input.
- name: offset
in: query
required: false
schema:
type: integer
description: Offset the result set by a specific number of items.
- name: order
in: query
required: false
schema:
type: string
enum:
- asc
- desc
default: desc
description: Order sort attribute ascending or descending.
- name: orderby
in: query
required: false
schema:
type: string
enum:
- author
- date
- id
- include
- modified
- parent
- relevance
- slug
- include_slugs
- title
default: date
description: Sort collection by post attribute.
- name: parent
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Limit result set to items with particular parent IDs.
- name: parent_exclude
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Limit result set to all items except those of a particular parent ID.
- name: search_columns
in: query
required: false
schema:
type: array
default: []
items:
type: string
enum:
- post_title
- post_content
- post_excerpt
description: Array of column names to be searched.
- name: slug
in: query
required: false
schema:
type: array
items:
type: string
description: Limit result set to posts with one or more specific slugs.
- name: status
in: query
required: false
schema:
type: array
default: inherit
items:
type: string
enum:
- inherit
- private
- trash
description: Limit result set to posts assigned one or more statuses.
- name: tax_relation
in: query
required: false
schema:
type: string
enum:
- AND
- OR
description: Limit result set based on relationship between multiple taxonomies.
- name: byline
in: query
required: false
schema:
type:
- object
- array
description: Limit result set to items with specific terms assigned in the byline taxonomy.
- name: byline_exclude
in: query
required: false
schema:
type:
- object
- array
description: Limit result set to items except those with specific terms assigned in the byline taxonomy.
- name: media_type
in: query
required: false
schema:
type: array
default: null
items:
type: string
enum:
- image
- video
- audio
- application
description: Limit result set to attachments of a particular media type or media types.
- name: mime_type
in: query
required: false
schema:
type: array
default: null
items:
type: string
description: Limit result set to attachments of a particular MIME type or MIME types.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: post_wp_v2_media
summary: POST /wp/v2/media
description: '`POST` on the WordPress REST route `/wp/v2/media` in namespace `wp/v2`, as declared by the live
route-discovery document at https://video.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
- wp_stream_enabled
- wp_stream_disabled
description: A named status for the post.
title:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The title for the post.
author:
type: integer
description: The ID for the author of the post.
featured_media:
type: integer
description: The ID of the featured media for the post.
comment_status:
type: string
enum:
- open
- closed
description: Whether or not comments are open on the post.
ping_status:
type: string
enum:
- open
- closed
description: Whether or not the post can be pinged.
meta:
type: object
properties:
byline:
type: object
default: []
properties:
profiles:
type: array
items:
type: object
description: Meta fields.
template:
type: string
description: The theme file to use to display the post.
byline:
type: array
items:
type: integer
description: The terms assigned to the post in the byline taxonomy.
jetpack_sharing_enabled:
type: boolean
description: Are sharing buttons enabled?
alt_text:
type: string
description: Alternative text to display when attachment is not displayed.
caption:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The attachment caption.
description:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The attachment description.
post:
type: integer
description: The ID for the associated post of the attachment.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/media/{id}:
parameters:
- name: id
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
get:
operationId: get_wp_v2_media_by_id
summary: GET /wp/v2/media/(?P[\d]+)
description: '`GET` on the WordPress REST route `/wp/v2/media/(?P[\d]+)` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: post_wp_v2_media_by_id
summary: POST /wp/v2/media/(?P[\d]+)
description: '`POST` on the WordPress REST route `/wp/v2/media/(?P[\d]+)` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.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: &id014
- publish
- future
- draft
- pending
- private
- wp_stream_enabled
- wp_stream_disabled
description: A named status for the post.
title:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The title for the post.
author:
type: integer
description: The ID for the author of the post.
featured_media:
type: integer
description: The ID of the featured media for the post.
comment_status:
type: string
enum: &id015
- open
- closed
description: Whether or not comments are open on the post.
ping_status:
type: string
enum: &id016
- open
- closed
description: Whether or not the post can be pinged.
meta:
type: object
properties:
byline:
type: object
default: &id017 []
properties:
profiles:
type: array
items:
type: object
description: Meta fields.
template:
type: string
description: The theme file to use to display the post.
byline:
type: array
items:
type: integer
description: The terms assigned to the post in the byline taxonomy.
jetpack_sharing_enabled:
type: boolean
description: Are sharing buttons enabled?
alt_text:
type: string
description: Alternative text to display when attachment is not displayed.
caption:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The attachment caption.
description:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The attachment description.
post:
type: integer
description: The ID for the associated post of the attachment.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
put:
operationId: put_wp_v2_media_by_id
summary: PUT /wp/v2/media/(?P[\d]+)
description: '`PUT` on the WordPress REST route `/wp/v2/media/(?P[\d]+)` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.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: *id014
description: A named status for the post.
title:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The title for the post.
author:
type: integer
description: The ID for the author of the post.
featured_media:
type: integer
description: The ID of the featured media for the post.
comment_status:
type: string
enum: *id015
description: Whether or not comments are open on the post.
ping_status:
type: string
enum: *id016
description: Whether or not the post can be pinged.
meta:
type: object
properties:
byline:
type: object
default: *id017
properties:
profiles:
type: array
items:
type: object
description: Meta fields.
template:
type: string
description: The theme file to use to display the post.
byline:
type: array
items:
type: integer
description: The terms assigned to the post in the byline taxonomy.
jetpack_sharing_enabled:
type: boolean
description: Are sharing buttons enabled?
alt_text:
type: string
description: Alternative text to display when attachment is not displayed.
caption:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The attachment caption.
description:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The attachment description.
post:
type: integer
description: The ID for the associated post of the attachment.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
patch:
operationId: patch_wp_v2_media_by_id
summary: PATCH /wp/v2/media/(?P[\d]+)
description: '`PATCH` on the WordPress REST route `/wp/v2/media/(?P[\d]+)` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.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: *id014
description: A named status for the post.
title:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The title for the post.
author:
type: integer
description: The ID for the author of the post.
featured_media:
type: integer
description: The ID of the featured media for the post.
comment_status:
type: string
enum: *id015
description: Whether or not comments are open on the post.
ping_status:
type: string
enum: *id016
description: Whether or not the post can be pinged.
meta:
type: object
properties:
byline:
type: object
default: *id017
properties:
profiles:
type: array
items:
type: object
description: Meta fields.
template:
type: string
description: The theme file to use to display the post.
byline:
type: array
items:
type: integer
description: The terms assigned to the post in the byline taxonomy.
jetpack_sharing_enabled:
type: boolean
description: Are sharing buttons enabled?
alt_text:
type: string
description: Alternative text to display when attachment is not displayed.
caption:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The attachment caption.
description:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The attachment description.
post:
type: integer
description: The ID for the associated post of the attachment.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
delete:
operationId: delete_wp_v2_media_by_id
summary: DELETE /wp/v2/media/(?P[\d]+)
description: '`DELETE` on the WordPress REST route `/wp/v2/media/(?P[\d]+)` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: force
in: query
required: false
schema:
type: boolean
default: false
description: Whether to bypass Trash and force deletion.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/media/{id}/edit:
parameters:
- name: id
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
post:
operationId: post_wp_v2_media_by_id_edit
summary: POST /wp/v2/media/(?P[\d]+)/edit
description: '`POST` on the WordPress REST route `/wp/v2/media/(?P[\d]+)/edit` in namespace `wp/v2`, as
declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
src:
type: string
format: uri
description: URL to the edited image file.
modifiers:
type: array
items:
type: object
description: Array of image edits.
rotation:
type: integer
minimum: 0
maximum: 360
description: 'The amount to rotate the image clockwise in degrees. DEPRECATED: Use `modifiers`
instead.'
x:
type: number
minimum: 0
maximum: 100
description: 'As a percentage of the image, the x position to start the crop from. DEPRECATED:
Use `modifiers` instead.'
y:
type: number
minimum: 0
maximum: 100
description: 'As a percentage of the image, the y position to start the crop from. DEPRECATED:
Use `modifiers` instead.'
width:
type: number
minimum: 0
maximum: 100
description: 'As a percentage of the image, the width to crop the image to. DEPRECATED: Use `modifiers`
instead.'
height:
type: number
minimum: 0
maximum: 100
description: 'As a percentage of the image, the height to crop the image to. DEPRECATED: Use `modifiers`
instead.'
caption:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The attachment caption.
description:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The attachment description.
title:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The title for the post.
post:
type: integer
description: The ID for the associated post of the attachment.
alt_text:
type: string
description: Alternative text to display when attachment is not displayed.
required:
- src
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/media/{id}/post-process:
parameters:
- name: id
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
post:
operationId: post_wp_v2_media_by_id_post_process
summary: POST /wp/v2/media/(?P[\d]+)/post-process
description: '`POST` on the WordPress REST route `/wp/v2/media/(?P[\d]+)/post-process` in namespace `wp/v2`,
as declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
action:
type: string
enum:
- create-image-subsizes
required:
- action
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/menu-items:
get:
operationId: get_wp_v2_menu_items
summary: GET /wp/v2/menu-items
description: '`GET` on the WordPress REST route `/wp/v2/menu-items` in namespace `wp/v2`, as declared by the
live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
- name: page
in: query
required: false
schema:
type: integer
default: 1
minimum: 1
description: Current page of the collection.
- name: per_page
in: query
required: false
schema:
type: integer
default: 100
minimum: 1
maximum: 100
description: Maximum number of items to be returned in result set.
- name: search
in: query
required: false
schema:
type: string
description: Limit results to those matching a string.
- name: after
in: query
required: false
schema:
type: string
format: date-time
description: Limit response to posts published after a given ISO8601 compliant date.
- name: modified_after
in: query
required: false
schema:
type: string
format: date-time
description: Limit response to posts modified after a given ISO8601 compliant date.
- name: before
in: query
required: false
schema:
type: string
format: date-time
description: Limit response to posts published before a given ISO8601 compliant date.
- name: modified_before
in: query
required: false
schema:
type: string
format: date-time
description: Limit response to posts modified before a given ISO8601 compliant date.
- name: exclude
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Ensure result set excludes specific IDs.
- name: include
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Limit result set to specific IDs.
- name: search_semantics
in: query
required: false
schema:
type: string
enum:
- exact
description: How to interpret the search input.
- name: offset
in: query
required: false
schema:
type: integer
description: Offset the result set by a specific number of items.
- name: order
in: query
required: false
schema:
type: string
enum:
- asc
- desc
default: asc
description: Order sort attribute ascending or descending.
- name: orderby
in: query
required: false
schema:
type: string
enum:
- author
- date
- id
- include
- modified
- parent
- relevance
- slug
- include_slugs
- title
- menu_order
default: menu_order
description: Sort collection by object attribute.
- name: search_columns
in: query
required: false
schema:
type: array
default: []
items:
type: string
enum:
- post_title
- post_content
- post_excerpt
description: Array of column names to be searched.
- name: slug
in: query
required: false
schema:
type: array
items:
type: string
description: Limit result set to posts with one or more specific slugs.
- name: status
in: query
required: false
schema:
type: array
default: publish
items:
type: string
enum:
- publish
- future
- draft
- pending
- private
- trash
- auto-draft
- inherit
- request-pending
- request-confirmed
- request-failed
- request-completed
- dp-rewrite-republish
- wp_stream_enabled
- wp_stream_disabled
- any
description: Limit result set to posts assigned one or more statuses.
- name: tax_relation
in: query
required: false
schema:
type: string
enum:
- AND
- OR
description: Limit result set based on relationship between multiple taxonomies.
- name: menus
in: query
required: false
schema:
type:
- object
- array
description: Limit result set to items with specific terms assigned in the menus taxonomy.
- name: menus_exclude
in: query
required: false
schema:
type:
- object
- array
description: Limit result set to items except those with specific terms assigned in the menus taxonomy.
- name: menu_order
in: query
required: false
schema:
type: integer
description: Limit result set to posts with a specific menu_order value.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: post_wp_v2_menu_items
summary: POST /wp/v2/menu-items
description: '`POST` on the WordPress REST route `/wp/v2/menu-items` in namespace `wp/v2`, as declared by
the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
title:
type:
- string
- object
properties:
raw:
type: string
rendered:
type: string
description: The title for the object.
type:
type: string
enum:
- taxonomy
- post_type
- post_type_archive
- custom
default: custom
description: The family of objects originally represented, such as "post_type" or "taxonomy".
status:
type: string
enum:
- publish
- future
- draft
- pending
- private
- wp_stream_enabled
- wp_stream_disabled
default: publish
description: A named status for the object.
parent:
type: integer
default: 0
minimum: 0
description: The ID for the parent of the object.
attr_title:
type: string
description: Text for the title attribute of the link element for this menu item.
classes:
type: array
items:
type: string
description: Class names for the link element of this menu item.
description:
type: string
description: The description of this menu item.
menu_order:
type: integer
default: 1
minimum: 1
description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise
0.
object:
type: string
description: The type of object originally represented, such as "category", "post", or "attachment".
object_id:
type: integer
default: 0
minimum: 0
description: The database ID of the original object this menu item represents, for example the
ID for posts or the term_id for categories.
target:
type: string
enum:
- _blank
- ''
description: The target attribute of the link element for this menu item.
url:
type: string
format: uri
description: The URL to which this menu item points.
xfn:
type: array
items:
type: string
description: The XFN relationship expressed in the link of this menu item.
menus:
type: integer
description: The terms assigned to the object in the nav_menu taxonomy.
meta:
type: object
properties:
byline:
type: object
default: []
properties:
profiles:
type: array
items:
type: object
description: Meta fields.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/menu-items/{id}:
parameters:
- name: id
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
get:
operationId: get_wp_v2_menu_items_by_id
summary: GET /wp/v2/menu-items/(?P[\d]+)
description: '`GET` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)` in namespace `wp/v2`, as
declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: post_wp_v2_menu_items_by_id
summary: POST /wp/v2/menu-items/(?P[\d]+)
description: '`POST` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)` in namespace `wp/v2`, as
declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
title:
type:
- string
- object
properties:
raw:
type: string
rendered:
type: string
description: The title for the object.
type:
type: string
enum: &id018
- taxonomy
- post_type
- post_type_archive
- custom
description: The family of objects originally represented, such as "post_type" or "taxonomy".
status:
type: string
enum: &id019
- publish
- future
- draft
- pending
- private
- wp_stream_enabled
- wp_stream_disabled
description: A named status for the object.
parent:
type: integer
minimum: 0
description: The ID for the parent of the object.
attr_title:
type: string
description: Text for the title attribute of the link element for this menu item.
classes:
type: array
items:
type: string
description: Class names for the link element of this menu item.
description:
type: string
description: The description of this menu item.
menu_order:
type: integer
minimum: 1
description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise
0.
object:
type: string
description: The type of object originally represented, such as "category", "post", or "attachment".
object_id:
type: integer
minimum: 0
description: The database ID of the original object this menu item represents, for example the
ID for posts or the term_id for categories.
target:
type: string
enum: &id020
- _blank
- ''
description: The target attribute of the link element for this menu item.
url:
type: string
format: uri
description: The URL to which this menu item points.
xfn:
type: array
items:
type: string
description: The XFN relationship expressed in the link of this menu item.
menus:
type: integer
description: The terms assigned to the object in the nav_menu taxonomy.
meta:
type: object
properties:
byline:
type: object
default: &id021 []
properties:
profiles:
type: array
items:
type: object
description: Meta fields.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
put:
operationId: put_wp_v2_menu_items_by_id
summary: PUT /wp/v2/menu-items/(?P[\d]+)
description: '`PUT` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)` in namespace `wp/v2`, as
declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
title:
type:
- string
- object
properties:
raw:
type: string
rendered:
type: string
description: The title for the object.
type:
type: string
enum: *id018
description: The family of objects originally represented, such as "post_type" or "taxonomy".
status:
type: string
enum: *id019
description: A named status for the object.
parent:
type: integer
minimum: 0
description: The ID for the parent of the object.
attr_title:
type: string
description: Text for the title attribute of the link element for this menu item.
classes:
type: array
items:
type: string
description: Class names for the link element of this menu item.
description:
type: string
description: The description of this menu item.
menu_order:
type: integer
minimum: 1
description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise
0.
object:
type: string
description: The type of object originally represented, such as "category", "post", or "attachment".
object_id:
type: integer
minimum: 0
description: The database ID of the original object this menu item represents, for example the
ID for posts or the term_id for categories.
target:
type: string
enum: *id020
description: The target attribute of the link element for this menu item.
url:
type: string
format: uri
description: The URL to which this menu item points.
xfn:
type: array
items:
type: string
description: The XFN relationship expressed in the link of this menu item.
menus:
type: integer
description: The terms assigned to the object in the nav_menu taxonomy.
meta:
type: object
properties:
byline:
type: object
default: *id021
properties:
profiles:
type: array
items:
type: object
description: Meta fields.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
patch:
operationId: patch_wp_v2_menu_items_by_id
summary: PATCH /wp/v2/menu-items/(?P[\d]+)
description: '`PATCH` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)` in namespace `wp/v2`,
as declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
title:
type:
- string
- object
properties:
raw:
type: string
rendered:
type: string
description: The title for the object.
type:
type: string
enum: *id018
description: The family of objects originally represented, such as "post_type" or "taxonomy".
status:
type: string
enum: *id019
description: A named status for the object.
parent:
type: integer
minimum: 0
description: The ID for the parent of the object.
attr_title:
type: string
description: Text for the title attribute of the link element for this menu item.
classes:
type: array
items:
type: string
description: Class names for the link element of this menu item.
description:
type: string
description: The description of this menu item.
menu_order:
type: integer
minimum: 1
description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise
0.
object:
type: string
description: The type of object originally represented, such as "category", "post", or "attachment".
object_id:
type: integer
minimum: 0
description: The database ID of the original object this menu item represents, for example the
ID for posts or the term_id for categories.
target:
type: string
enum: *id020
description: The target attribute of the link element for this menu item.
url:
type: string
format: uri
description: The URL to which this menu item points.
xfn:
type: array
items:
type: string
description: The XFN relationship expressed in the link of this menu item.
menus:
type: integer
description: The terms assigned to the object in the nav_menu taxonomy.
meta:
type: object
properties:
byline:
type: object
default: *id021
properties:
profiles:
type: array
items:
type: object
description: Meta fields.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
delete:
operationId: delete_wp_v2_menu_items_by_id
summary: DELETE /wp/v2/menu-items/(?P[\d]+)
description: '`DELETE` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)` in namespace `wp/v2`,
as declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: force
in: query
required: false
schema:
type: boolean
default: false
description: Whether to bypass Trash and force deletion.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/menu-items/{id}/autosaves:
parameters:
- name: id
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
get:
operationId: get_wp_v2_menu_items_by_id_autosaves
summary: GET /wp/v2/menu-items/(?P[\d]+)/autosaves
description: '`GET` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)/autosaves` in namespace `wp/v2`,
as declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: parent
in: query
required: false
schema:
type: integer
description: The ID for the parent of the autosave.
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: post_wp_v2_menu_items_by_id_autosaves
summary: POST /wp/v2/menu-items/(?P[\d]+)/autosaves
description: '`POST` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)/autosaves` in namespace
`wp/v2`, as declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
parent:
type: integer
minimum: 0
description: The ID for the parent of the object.
title:
type:
- string
- object
properties:
raw:
type: string
rendered:
type: string
description: The title for the object.
type:
type: string
enum:
- taxonomy
- post_type
- post_type_archive
- custom
description: The family of objects originally represented, such as "post_type" or "taxonomy".
status:
type: string
enum:
- publish
- future
- draft
- pending
- private
- wp_stream_enabled
- wp_stream_disabled
description: A named status for the object.
attr_title:
type: string
description: Text for the title attribute of the link element for this menu item.
classes:
type: array
items:
type: string
description: Class names for the link element of this menu item.
description:
type: string
description: The description of this menu item.
menu_order:
type: integer
minimum: 1
description: The DB ID of the nav_menu_item that is this item's menu parent, if any, otherwise
0.
object:
type: string
description: The type of object originally represented, such as "category", "post", or "attachment".
object_id:
type: integer
minimum: 0
description: The database ID of the original object this menu item represents, for example the
ID for posts or the term_id for categories.
target:
type: string
enum:
- _blank
- ''
description: The target attribute of the link element for this menu item.
url:
type: string
format: uri
description: The URL to which this menu item points.
xfn:
type: array
items:
type: string
description: The XFN relationship expressed in the link of this menu item.
menus:
type: integer
description: The terms assigned to the object in the nav_menu taxonomy.
meta:
type: object
properties:
byline:
type: object
default: []
properties:
profiles:
type: array
items:
type: object
description: Meta fields.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/menu-items/{parent}/autosaves/{id}:
parameters:
- name: parent
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
- name: id
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
get:
operationId: get_wp_v2_menu_items_by_parent_autosaves_by_id
summary: GET /wp/v2/menu-items/(?P[\d]+)/autosaves/(?P[\d]+)
description: '`GET` on the WordPress REST route `/wp/v2/menu-items/(?P[\d]+)/autosaves/(?P[\d]+)`
in namespace `wp/v2`, as declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/menu-locations:
get:
operationId: get_wp_v2_menu_locations
summary: GET /wp/v2/menu-locations
description: '`GET` on the WordPress REST route `/wp/v2/menu-locations` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/menu-locations/{location}:
parameters:
- name: location
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\w-]+`.
schema:
type: string
pattern: '[\w-]+'
get:
operationId: get_wp_v2_menu_locations_by_location
summary: GET /wp/v2/menu-locations/(?P[\w-]+)
description: '`GET` on the WordPress REST route `/wp/v2/menu-locations/(?P[\w-]+)` in namespace
`wp/v2`, as declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/menus:
get:
operationId: get_wp_v2_menus
summary: GET /wp/v2/menus
description: '`GET` on the WordPress REST route `/wp/v2/menus` in namespace `wp/v2`, as declared by the live
route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
- name: page
in: query
required: false
schema:
type: integer
default: 1
minimum: 1
description: Current page of the collection.
- name: per_page
in: query
required: false
schema:
type: integer
default: 10
minimum: 1
maximum: 100
description: Maximum number of items to be returned in result set.
- name: search
in: query
required: false
schema:
type: string
description: Limit results to those matching a string.
- name: exclude
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Ensure result set excludes specific IDs.
- name: include
in: query
required: false
schema:
type: array
default: []
items:
type: integer
description: Limit result set to specific IDs.
- name: offset
in: query
required: false
schema:
type: integer
description: Offset the result set by a specific number of items.
- name: order
in: query
required: false
schema:
type: string
enum:
- asc
- desc
default: asc
description: Order sort attribute ascending or descending.
- name: orderby
in: query
required: false
schema:
type: string
enum:
- id
- include
- name
- slug
- include_slugs
- term_group
- description
- count
default: name
description: Sort collection by term attribute.
- name: hide_empty
in: query
required: false
schema:
type: boolean
default: false
description: Whether to hide terms not assigned to any posts.
- name: post
in: query
required: false
schema:
type: integer
default: null
description: Limit result set to terms assigned to a specific post.
- name: slug
in: query
required: false
schema:
type: array
items:
type: string
description: Limit result set to terms with one or more specific slugs.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: post_wp_v2_menus
summary: POST /wp/v2/menus
description: '`POST` on the WordPress REST route `/wp/v2/menus` in namespace `wp/v2`, as declared by the live
route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
description:
type: string
description: HTML description of the term.
name:
type: string
description: HTML title for the term.
slug:
type: string
description: An alphanumeric identifier for the term unique to its type.
meta:
type: object
description: Meta fields.
locations:
type: array
items:
type: string
description: The locations assigned to the menu.
auto_add:
type: boolean
description: Whether to automatically add top level pages to this menu.
required:
- name
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/menus/{id}:
parameters:
- name: id
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
get:
operationId: get_wp_v2_menus_by_id
summary: GET /wp/v2/menus/(?P[\d]+)
description: '`GET` on the WordPress REST route `/wp/v2/menus/(?P[\d]+)` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: post_wp_v2_menus_by_id
summary: POST /wp/v2/menus/(?P[\d]+)
description: '`POST` on the WordPress REST route `/wp/v2/menus/(?P[\d]+)` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
description:
type: string
description: HTML description of the term.
name:
type: string
description: HTML title for the term.
slug:
type: string
description: An alphanumeric identifier for the term unique to its type.
meta:
type: object
description: Meta fields.
locations:
type: array
items:
type: string
description: The locations assigned to the menu.
auto_add:
type: boolean
description: Whether to automatically add top level pages to this menu.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
put:
operationId: put_wp_v2_menus_by_id
summary: PUT /wp/v2/menus/(?P[\d]+)
description: '`PUT` on the WordPress REST route `/wp/v2/menus/(?P[\d]+)` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
description:
type: string
description: HTML description of the term.
name:
type: string
description: HTML title for the term.
slug:
type: string
description: An alphanumeric identifier for the term unique to its type.
meta:
type: object
description: Meta fields.
locations:
type: array
items:
type: string
description: The locations assigned to the menu.
auto_add:
type: boolean
description: Whether to automatically add top level pages to this menu.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
patch:
operationId: patch_wp_v2_menus_by_id
summary: PATCH /wp/v2/menus/(?P[\d]+)
description: '`PATCH` on the WordPress REST route `/wp/v2/menus/(?P[\d]+)` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
requestBody:
required: false
content:
application/json:
schema:
type: object
properties:
description:
type: string
description: HTML description of the term.
name:
type: string
description: HTML title for the term.
slug:
type: string
description: An alphanumeric identifier for the term unique to its type.
meta:
type: object
description: Meta fields.
locations:
type: array
items:
type: string
description: The locations assigned to the menu.
auto_add:
type: boolean
description: Whether to automatically add top level pages to this menu.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
delete:
operationId: delete_wp_v2_menus_by_id
summary: DELETE /wp/v2/menus/(?P[\d]+)
description: '`DELETE` on the WordPress REST route `/wp/v2/menus/(?P[\d]+)` in namespace `wp/v2`, as declared
by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: force
in: query
required: false
schema:
type: boolean
default: false
description: Required to be true, as terms do not support trashing.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/navigation:
get:
operationId: get_wp_v2_navigation
summary: GET /wp/v2/navigation
description: '`GET` on the WordPress REST route `/wp/v2/navigation` in namespace `wp/v2`, as declared by the
live route-discovery document at https://video.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
- dp-rewrite-republish
- wp_stream_enabled
- wp_stream_disabled
- any
description: Limit result set to posts assigned one or more statuses.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: post_wp_v2_navigation
summary: POST /wp/v2/navigation
description: '`POST` on the WordPress REST route `/wp/v2/navigation` in namespace `wp/v2`, as declared by
the live route-discovery document at https://video.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
- wp_stream_enabled
- wp_stream_disabled
description: A named status for the post.
password:
type: string
description: A password to protect access to the content and excerpt.
title:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The title for the post.
content:
type: object
properties:
raw:
type: string
rendered:
type: string
block_version:
type: integer
protected:
type: boolean
description: The content for the post.
template:
type: string
description: The theme file to use to display the post.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/navigation/{id}:
parameters:
- name: id
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
get:
operationId: get_wp_v2_navigation_by_id
summary: GET /wp/v2/navigation/(?P[\d]+)
description: '`GET` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)` in namespace `wp/v2`, as
declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: context
in: query
required: false
schema:
type: string
enum:
- view
- embed
- edit
default: view
description: Scope under which the request is made; determines fields present in response.
- name: password
in: query
required: false
schema:
type: string
description: The password for the post if it is password protected.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
post:
operationId: post_wp_v2_navigation_by_id
summary: POST /wp/v2/navigation/(?P[\d]+)
description: '`POST` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)` in namespace `wp/v2`, as
declared by the live route-discovery document at https://video.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: &id022
- publish
- future
- draft
- pending
- private
- wp_stream_enabled
- wp_stream_disabled
description: A named status for the post.
password:
type: string
description: A password to protect access to the content and excerpt.
title:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The title for the post.
content:
type: object
properties:
raw:
type: string
rendered:
type: string
block_version:
type: integer
protected:
type: boolean
description: The content for the post.
template:
type: string
description: The theme file to use to display the post.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
put:
operationId: put_wp_v2_navigation_by_id
summary: PUT /wp/v2/navigation/(?P[\d]+)
description: '`PUT` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)` in namespace `wp/v2`, as
declared by the live route-discovery document at https://video.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: *id022
description: A named status for the post.
password:
type: string
description: A password to protect access to the content and excerpt.
title:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The title for the post.
content:
type: object
properties:
raw:
type: string
rendered:
type: string
block_version:
type: integer
protected:
type: boolean
description: The content for the post.
template:
type: string
description: The theme file to use to display the post.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
patch:
operationId: patch_wp_v2_navigation_by_id
summary: PATCH /wp/v2/navigation/(?P[\d]+)
description: '`PATCH` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)` in namespace `wp/v2`,
as declared by the live route-discovery document at https://video.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: *id022
description: A named status for the post.
password:
type: string
description: A password to protect access to the content and excerpt.
title:
type: object
properties:
raw:
type: string
rendered:
type: string
description: The title for the post.
content:
type: object
properties:
raw:
type: string
rendered:
type: string
block_version:
type: integer
protected:
type: boolean
description: The content for the post.
template:
type: string
description: The theme file to use to display the post.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
delete:
operationId: delete_wp_v2_navigation_by_id
summary: DELETE /wp/v2/navigation/(?P[\d]+)
description: '`DELETE` on the WordPress REST route `/wp/v2/navigation/(?P[\d]+)` in namespace `wp/v2`,
as declared by the live route-discovery document at https://video.vice.com/wp-json/.'
tags:
- wp/v2
parameters:
- name: force
in: query
required: false
schema:
type: boolean
default: false
description: Whether to bypass Trash and force deletion.
responses:
'200':
description: Success. WordPress returns the requested resource or collection as JSON.
content:
application/json:
schema: {}
'401':
description: Not authenticated or not permitted. WordPress returns its standard error envelope, e.g. `{"code":"rest_forbidden","message":"Sorry,
you are not allowed to do that.","data":{"status":401}}`.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
'404':
description: No route or resource matched.
content:
application/json:
schema:
$ref: '#/components/schemas/WPError'
/wp/v2/navigation/{id}/autosaves:
parameters:
- name: id
in: path
required: true
description: Path segment matched by the WordPress route pattern `[\d]+`.
schema:
type: string
pattern: '[\d]+'
get:
operationId: get_wp_v2_navigation_by_id_autosaves
summary: GET /wp/v2/navigation/(?P