<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[49257] trunk: REST API: Make sure all supported JSON Schema keywords are output in the index.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/49257">49257</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/49257","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>TimothyBlynJacobs</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2020-10-20 20:17:20 +0000 (Tue, 20 Oct 2020)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>REST API: Make sure all supported JSON Schema keywords are output in the index.
Previously, only a small subset of keywords were exposed which limited the utility of `OPTIONS` requests.
Props raubvogel, TimothyBlynJacobs.
Fixes <a href="https://core.trac.wordpress.org/ticket/51020">#51020</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpincludesrestapiclasswprestserverphp">trunk/src/wp-includes/rest-api/class-wp-rest-server.php</a></li>
<li><a href="#trunksrcwpincludesrestapiphp">trunk/src/wp-includes/rest-api.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestserverphp">trunk/tests/phpunit/tests/rest-api/rest-server.php</a></li>
<li><a href="#trunktestsqunitfixtureswpapigeneratedjs">trunk/tests/qunit/fixtures/wp-api-generated.js</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpincludesrestapiclasswprestserverphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/rest-api/class-wp-rest-server.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rest-api/class-wp-rest-server.php 2020-10-20 20:09:39 UTC (rev 49256)
+++ trunk/src/wp-includes/rest-api/class-wp-rest-server.php 2020-10-20 20:17:20 UTC (rev 49257)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1380,6 +1380,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $allowed_schema_keywords = array_flip( rest_get_allowed_schema_keywords() );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> $route = preg_replace( '#\(\?P<(\w+?)>.*?\)#', '{$1}', $route );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $callbacks as $callback ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1397,24 +1399,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $endpoint_data['args'] = array();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $callback['args'] as $key => $opts ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $arg_data = array(
- 'required' => ! empty( $opts['required'] ),
- );
- if ( isset( $opts['default'] ) ) {
- $arg_data['default'] = $opts['default'];
- }
- if ( isset( $opts['enum'] ) ) {
- $arg_data['enum'] = $opts['enum'];
- }
- if ( isset( $opts['description'] ) ) {
- $arg_data['description'] = $opts['description'];
- }
- if ( isset( $opts['type'] ) ) {
- $arg_data['type'] = $opts['type'];
- }
- if ( isset( $opts['items'] ) ) {
- $arg_data['items'] = $opts['items'];
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $arg_data = array_intersect_key( $opts, $allowed_schema_keywords );
+ $arg_data['required'] = ! empty( $opts['required'] );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> $endpoint_data['args'][ $key ] = $arg_data;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpincludesrestapiphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/rest-api.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rest-api.php 2020-10-20 20:09:39 UTC (rev 49256)
+++ trunk/src/wp-includes/rest-api.php 2020-10-20 20:17:20 UTC (rev 49257)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1875,6 +1875,43 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Get all valid JSON schema properties.
+ *
+ * @since 5.6.0
+ *
+ * @return string[] All valid JSON schema properties.
+ */
+function rest_get_allowed_schema_keywords() {
+ return array(
+ 'title',
+ 'description',
+ 'default',
+ 'type',
+ 'format',
+ 'enum',
+ 'items',
+ 'properties',
+ 'additionalProperties',
+ 'patternProperties',
+ 'minProperties',
+ 'maxProperties',
+ 'minimum',
+ 'maximum',
+ 'exclusiveMinimum',
+ 'exclusiveMaximum',
+ 'multipleOf',
+ 'minLength',
+ 'maxLength',
+ 'pattern',
+ 'minItems',
+ 'maxItems',
+ 'uniqueItems',
+ 'anyOf',
+ 'oneOf',
+ );
+}
+
+/**
</ins><span class="cx" style="display: block; padding: 0 10px"> * Validate a value based on a schema.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.7.0
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2765,30 +2802,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $schema_properties = ! empty( $schema['properties'] ) ? $schema['properties'] : array();
</span><span class="cx" style="display: block; padding: 0 10px"> $endpoint_args = array();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $valid_schema_properties = array(
- 'type',
- 'format',
- 'enum',
- 'items',
- 'properties',
- 'additionalProperties',
- 'patternProperties',
- 'minProperties',
- 'maxProperties',
- 'minimum',
- 'maximum',
- 'exclusiveMinimum',
- 'exclusiveMaximum',
- 'multipleOf',
- 'minLength',
- 'maxLength',
- 'pattern',
- 'minItems',
- 'maxItems',
- 'uniqueItems',
- 'anyOf',
- 'oneOf',
- );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $valid_schema_properties = rest_get_allowed_schema_keywords();
+ $valid_schema_properties = array_diff( $valid_schema_properties, array( 'default', 'required' ) );
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $schema_properties as $field_id => $params ) {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2802,10 +2817,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'sanitize_callback' => 'rest_sanitize_request_arg',
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( isset( $params['description'] ) ) {
- $endpoint_args[ $field_id ]['description'] = $params['description'];
- }
-
</del><span class="cx" style="display: block; padding: 0 10px"> if ( WP_REST_Server::CREATABLE === $method && isset( $params['default'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $endpoint_args[ $field_id ]['default'] = $params['default'];
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestserverphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-server.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-server.php 2020-10-20 20:09:39 UTC (rev 49256)
+++ trunk/tests/phpunit/tests/rest-api/rest-server.php 2020-10-20 20:17:20 UTC (rev 49257)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1931,6 +1931,71 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertEquals( 400, $response->get_status() );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ * @ticket 51020
+ */
+ public function test_get_data_for_route_includes_permitted_schema_keywords() {
+ $keywords = array(
+ 'title' => 'Hi',
+ 'description' => 'World',
+ 'type' => 'string',
+ 'default' => 0,
+ 'format' => 'uri',
+ 'enum' => array( 'https://example.org' ),
+ 'items' => array( 'type' => 'string' ),
+ 'properties' => array( 'a' => array( 'type' => 'string' ) ),
+ 'additionalProperties' => false,
+ 'patternProperties' => array( '\d' => array( 'type' => 'string' ) ),
+ 'minProperties' => 1,
+ 'maxProperties' => 5,
+ 'minimum' => 1,
+ 'maximum' => 5,
+ 'exclusiveMinimum' => true,
+ 'exclusiveMaximum' => false,
+ 'multipleOf' => 2,
+ 'minLength' => 1,
+ 'maxLength' => 5,
+ 'pattern' => '\d',
+ 'minItems' => 1,
+ 'maxItems' => 5,
+ 'uniqueItems' => true,
+ 'anyOf' => array(
+ array( 'type' => 'string' ),
+ array( 'type' => 'integer' ),
+ ),
+ 'oneOf' => array(
+ array( 'type' => 'string' ),
+ array( 'type' => 'integer' ),
+ ),
+ );
+
+ $param = $keywords;
+ $param['invalid'] = true;
+
+ $expected = $keywords;
+ $expected['required'] = false;
+
+ register_rest_route(
+ 'test-ns/v1',
+ '/test',
+ array(
+ 'methods' => 'POST',
+ 'callback' => static function () {
+ return new WP_REST_Response( 'test' );
+ },
+ 'permission_callback' => '__return_true',
+ 'args' => array(
+ 'param' => $param,
+ ),
+ )
+ );
+
+ $response = rest_do_request( new WP_REST_Request( 'OPTIONS', '/test-ns/v1/test' ) );
+ $args = $response->get_data()['endpoints'][0]['args'];
+
+ $this->assertSameSetsWithIndex( $expected, $args['param'] );
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> public function _validate_as_integer_123( $value, $request, $key ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! is_int( $value ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return new WP_Error( 'some-error', 'This is not valid!' );
</span></span></pre></div>
<a id="trunktestsqunitfixtureswpapigeneratedjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/qunit/fixtures/wp-api-generated.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/qunit/fixtures/wp-api-generated.js 2020-10-20 20:09:39 UTC (rev 49256)
+++ trunk/tests/qunit/fixtures/wp-api-generated.js 2020-10-20 20:17:20 UTC (rev 49257)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,8 +31,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -53,17 +53,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "validation": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "normal",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "require-all-validate",
</span><span class="cx" style="display: block; padding: 0 10px"> "normal"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "normal",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "requests": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "maxItems": 25,
</ins><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "object",
</span><span class="cx" style="display: block; padding: 0 10px"> "properties": {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -100,7 +100,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -125,12 +126,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "namespace": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "oembed/1.0"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "oembed/1.0",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -151,17 +152,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "url": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The URL of the resource for which to fetch oEmbed data.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "format": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "json"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "json",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "maxwidth": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": 600
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": 600,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -182,36 +184,37 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "url": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The URL of the resource for which to fetch oEmbed data.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "format": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The oEmbed format to use.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "json",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "json",
</span><span class="cx" style="display: block; padding: 0 10px"> "xml"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The oEmbed format to use.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "maxwidth": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The maximum width of the embed frame in pixels.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 600,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The maximum width of the embed frame in pixels.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "maxheight": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The maximum height of the embed frame in pixels.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "discover": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether to perform an oEmbed discovery request for unsanctioned providers.",
+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": true,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether to perform an oEmbed discovery request for unsanctioned providers.",
- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -232,12 +235,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "namespace": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "wp/v2"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "wp/v2",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -259,96 +262,102 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "after": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit response to posts published after a given ISO8601 compliant date.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts assigned to specific authors.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes posts assigned to specific authors.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "before": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit response to posts published before a given ISO8601 compliant date.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "include": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "offset": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Offset the result set by a specific number of items.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Order sort attribute ascending or descending.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "desc",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "desc"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Order sort attribute ascending or descending.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by object attribute.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "date",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "author",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -362,19 +371,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "include_slugs",
</span><span class="cx" style="display: block; padding: 0 10px"> "title"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by object attribute.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts with one or more specific slugs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts assigned one or more statuses.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -395,57 +402,58 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "any"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "tax_relation": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Limit result set based on relationship between multiple taxonomies.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "AND",
</span><span class="cx" style="display: block; padding: 0 10px"> "OR"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Limit result set based on relationship between multiple taxonomies.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "categories": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to all items that have the specified term assigned in the categories taxonomy.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "categories_exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to all items except those that have the specified term assigned in the categories taxonomy.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "tags": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to all items that have the specified term assigned in the tags taxonomy.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "tags_exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to all items except those that have the specified term assigned in the tags taxonomy.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "sticky": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to items that are sticky.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -455,28 +463,31 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -484,59 +495,143 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A password to protect access to the content and excerpt.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML title for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML content for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ],
+ "readonly": true
+ },
+ "block_version": {
+ "description": "Version of the content block format used by the object.",
+ "type": "integer",
+ "context": [
+ "edit"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the content is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the author of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "excerpt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The excerpt for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Excerpt for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML excerpt for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the excerpt is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "featured_media": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID of the featured media for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "comment_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not comments are open on the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "ping_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the object can be pinged.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not the object can be pinged.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "format": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The format for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "standard",
</span><span class="cx" style="display: block; padding: 0 10px"> "aside",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -549,39 +644,39 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "video",
</span><span class="cx" style="display: block; padding: 0 10px"> "audio"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The format for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "sticky": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Whether or not the object should be treated as sticky.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "categories": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The terms assigned to the object in the category taxonomy.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "tags": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The terms assigned to the object in the post_tag taxonomy.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -606,25 +701,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The password for the post if it is password protected.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -636,33 +731,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -670,59 +768,143 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A password to protect access to the content and excerpt.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML title for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML content for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ],
+ "readonly": true
+ },
+ "block_version": {
+ "description": "Version of the content block format used by the object.",
+ "type": "integer",
+ "context": [
+ "edit"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the content is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the author of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "excerpt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The excerpt for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Excerpt for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML excerpt for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the excerpt is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "featured_media": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID of the featured media for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "comment_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not comments are open on the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "ping_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the object can be pinged.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not the object can be pinged.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "format": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The format for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "standard",
</span><span class="cx" style="display: block; padding: 0 10px"> "aside",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -735,39 +917,39 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "video",
</span><span class="cx" style="display: block; padding: 0 10px"> "audio"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The format for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "sticky": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Whether or not the object should be treated as sticky.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "categories": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The terms assigned to the object in the category taxonomy.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "tags": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The terms assigned to the object in the post_tag taxonomy.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -777,15 +959,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Whether to bypass Trash and force deletion.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -803,72 +985,76 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Maximum number of items to be returned in result set.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "include": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "offset": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Offset the result set by a specific number of items.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Order sort attribute ascending or descending.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "desc",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "desc"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Order sort attribute ascending or descending.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by object attribute.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "date",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "date",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -879,8 +1065,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "include_slugs",
</span><span class="cx" style="display: block; padding: 0 10px"> "title"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by object attribute.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -899,25 +1084,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -927,20 +1112,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Required to be true, as revisions do not support trashing.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -959,20 +1144,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -982,33 +1167,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1016,59 +1204,143 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A password to protect access to the content and excerpt.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML title for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML content for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ],
+ "readonly": true
+ },
+ "block_version": {
+ "description": "Version of the content block format used by the object.",
+ "type": "integer",
+ "context": [
+ "edit"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the content is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the author of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "excerpt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The excerpt for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Excerpt for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML excerpt for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the excerpt is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "featured_media": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID of the featured media for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "comment_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not comments are open on the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "ping_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the object can be pinged.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not the object can be pinged.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "format": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The format for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "standard",
</span><span class="cx" style="display: block; padding: 0 10px"> "aside",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1081,39 +1353,39 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "video",
</span><span class="cx" style="display: block; padding: 0 10px"> "audio"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The format for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "sticky": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Whether or not the object should be treated as sticky.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "categories": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The terms assigned to the object in the category taxonomy.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "tags": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The terms assigned to the object in the post_tag taxonomy.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1131,25 +1403,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1168,101 +1440,107 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "after": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit response to posts published after a given ISO8601 compliant date.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts assigned to specific authors.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes posts assigned to specific authors.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "before": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit response to posts published before a given ISO8601 compliant date.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "include": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "menu_order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts with a specific menu_order value.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "offset": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Offset the result set by a specific number of items.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Order sort attribute ascending or descending.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "desc",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "desc"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Order sort attribute ascending or descending.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by object attribute.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "date",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "author",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1277,37 +1555,35 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "title",
</span><span class="cx" style="display: block; padding: 0 10px"> "menu_order"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by object attribute.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to items with particular parent IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent_exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to all items except those of a particular parent ID.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts with one or more specific slugs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts assigned one or more statuses.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1328,7 +1604,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "any"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1338,28 +1615,31 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1367,76 +1647,160 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A password to protect access to the content and excerpt.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML title for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML content for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ],
+ "readonly": true
+ },
+ "block_version": {
+ "description": "Version of the content block format used by the object.",
+ "type": "integer",
+ "context": [
+ "edit"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the content is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the author of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "excerpt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The excerpt for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Excerpt for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML excerpt for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the excerpt is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "featured_media": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID of the featured media for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "comment_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not comments are open on the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "ping_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the object can be pinged.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not the object can be pinged.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "menu_order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The order of the object in relation to other object of its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1461,25 +1825,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The password for the post if it is password protected.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1491,33 +1855,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1525,76 +1892,160 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A password to protect access to the content and excerpt.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML title for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML content for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ],
+ "readonly": true
+ },
+ "block_version": {
+ "description": "Version of the content block format used by the object.",
+ "type": "integer",
+ "context": [
+ "edit"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the content is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the author of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "excerpt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The excerpt for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Excerpt for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML excerpt for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the excerpt is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "featured_media": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID of the featured media for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "comment_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not comments are open on the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "ping_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the object can be pinged.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not the object can be pinged.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "menu_order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The order of the object in relation to other object of its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1604,15 +2055,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Whether to bypass Trash and force deletion.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1630,72 +2081,76 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Maximum number of items to be returned in result set.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "include": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "offset": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Offset the result set by a specific number of items.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Order sort attribute ascending or descending.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "desc",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "desc"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Order sort attribute ascending or descending.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by object attribute.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "date",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "date",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1706,8 +2161,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "include_slugs",
</span><span class="cx" style="display: block; padding: 0 10px"> "title"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by object attribute.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1726,25 +2180,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1754,20 +2208,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Required to be true, as revisions do not support trashing.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1786,20 +2240,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1809,33 +2263,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1843,71 +2300,155 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A password to protect access to the content and excerpt.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML title for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML content for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ],
+ "readonly": true
+ },
+ "block_version": {
+ "description": "Version of the content block format used by the object.",
+ "type": "integer",
+ "context": [
+ "edit"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the content is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the author of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "excerpt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The excerpt for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Excerpt for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML excerpt for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the excerpt is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "featured_media": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID of the featured media for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "comment_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not comments are open on the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "ping_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the object can be pinged.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not the object can be pinged.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "menu_order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The order of the object in relation to other object of its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1925,25 +2466,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1962,96 +2503,102 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "after": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit response to posts published after a given ISO8601 compliant date.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts assigned to specific authors.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes posts assigned to specific authors.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "before": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit response to posts published before a given ISO8601 compliant date.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "include": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "offset": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Offset the result set by a specific number of items.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Order sort attribute ascending or descending.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "desc",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "desc"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Order sort attribute ascending or descending.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by object attribute.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "date",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "author",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2065,37 +2612,35 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "include_slugs",
</span><span class="cx" style="display: block; padding: 0 10px"> "title"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by object attribute.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to items with particular parent IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent_exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to all items except those of a particular parent ID.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts with one or more specific slugs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": "inherit",
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts assigned one or more statuses.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2106,10 +2651,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "trash"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "media_type": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": null,
+ "description": "Limit result set to attachments of a particular media type.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "image",
</span><span class="cx" style="display: block; padding: 0 10px"> "video",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2117,13 +2665,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "application",
</span><span class="cx" style="display: block; padding: 0 10px"> "audio"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Limit result set to attachments of a particular media type.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "mime_type": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": null,
</ins><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to attachments of a particular MIME type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2133,28 +2681,31 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2162,66 +2713,122 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML title for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the author of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "comment_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not comments are open on the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "ping_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the object can be pinged.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not the object can be pinged.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "alt_text": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Alternative text to display when attachment is not displayed.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "caption": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The attachment caption.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Caption for the attachment, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML caption for the attachment, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "description": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The attachment description.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Description for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML description for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "post": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the associated post of the attachment.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2246,20 +2853,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2271,33 +2878,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2305,66 +2915,122 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML title for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the author of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "comment_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not comments are open on the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "ping_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the object can be pinged.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether or not the object can be pinged.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "alt_text": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Alternative text to display when attachment is not displayed.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "caption": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The attachment caption.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Caption for the attachment, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML caption for the attachment, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "description": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The attachment description.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Description for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML description for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "post": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the associated post of the attachment.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2374,15 +3040,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Whether to bypass Trash and force deletion.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2400,16 +3066,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "action": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "create-image-subsizes"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2427,34 +3093,47 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "rotation": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The amount to rotate the image clockwise in degrees.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "minimum": 0,
+ "exclusiveMinimum": true,
+ "maximum": 360,
+ "exclusiveMaximum": true,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "x": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "As a percentage of the image, the x position to start the crop from.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "number"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "number",
+ "minimum": 0,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "y": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "As a percentage of the image, the y position to start the crop from.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "number"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "number",
+ "minimum": 0,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "width": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "As a percentage of the image, the width to crop the image to.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "number"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "number",
+ "minimum": 0,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "height": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "As a percentage of the image, the height to crop the image to.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "number"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "number",
+ "minimum": 0,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "src": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "URL to the edited image file.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2473,78 +3152,84 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "after": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit response to posts published after a given ISO8601 compliant date.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "before": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit response to posts published before a given ISO8601 compliant date.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "include": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "offset": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Offset the result set by a specific number of items.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Order sort attribute ascending or descending.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "desc",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "desc"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Order sort attribute ascending or descending.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by object attribute.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "date",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "author",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2558,19 +3243,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "include_slugs",
</span><span class="cx" style="display: block; padding: 0 10px"> "title"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by object attribute.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts with one or more specific slugs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to posts assigned one or more statuses.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2591,7 +3274,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "any"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2601,28 +3285,31 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2630,28 +3317,65 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A password to protect access to the content and excerpt.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ]
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ]
+ },
+ "block_version": {
+ "description": "Version of the content block format used by the object.",
+ "type": "integer",
+ "context": [
+ "edit"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the content is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2676,25 +3400,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The password for the post if it is password protected.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2706,33 +3430,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2740,28 +3467,65 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A password to protect access to the content and excerpt.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ]
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ]
+ },
+ "block_version": {
+ "description": "Version of the content block format used by the object.",
+ "type": "integer",
+ "context": [
+ "edit"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the content is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2771,15 +3535,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Whether to bypass Trash and force deletion.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2798,20 +3562,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2821,33 +3585,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": [
</span><span class="cx" style="display: block; padding: 0 10px"> "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "null"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- ]
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ],
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the object unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the object.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="cx" style="display: block; padding: 0 10px"> "future",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2855,28 +3622,65 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "pending",
</span><span class="cx" style="display: block; padding: 0 10px"> "private"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "A named status for the object.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A password to protect access to the content and excerpt.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The title for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Title for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ]
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit"
+ ]
+ },
+ "block_version": {
+ "description": "Version of the content block format used by the object.",
+ "type": "integer",
+ "context": [
+ "edit"
+ ],
+ "readonly": true
+ },
+ "protected": {
+ "description": "Whether the content is protected with a password.",
+ "type": "boolean",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "template": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The theme file to use to display the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2894,25 +3698,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2930,15 +3734,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2959,20 +3763,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the post type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2990,15 +3794,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3019,20 +3823,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the status.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3050,20 +3854,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "type": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to taxonomies associated with a specific post type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3084,20 +3888,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "taxonomy": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the taxonomy.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3116,63 +3920,67 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "include": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Order sort attribute ascending or descending.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "desc"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Order sort attribute ascending or descending.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by term attribute.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "name",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "id",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3184,32 +3992,32 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "description",
</span><span class="cx" style="display: block; padding: 0 10px"> "count"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by term attribute.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "hide_empty": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether to hide terms not assigned to any posts.",
+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether to hide terms not assigned to any posts.",
- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to terms assigned to a specific parent.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "post": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to terms assigned to a specific post.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "default": null,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to terms with one or more specific slugs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3219,29 +4027,30 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "description": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "HTML description of the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "HTML title for the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the term unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The parent term ID.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3266,20 +4075,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3291,34 +4100,35 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "description": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "HTML description of the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "HTML title for the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the term unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The parent term ID.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3328,15 +4138,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Required to be true, as terms do not support trashing.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3355,68 +4165,72 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "include": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "offset": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Offset the result set by a specific number of items.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Order sort attribute ascending or descending.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "desc"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Order sort attribute ascending or descending.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by term attribute.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "name",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "id",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3428,27 +4242,27 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "description",
</span><span class="cx" style="display: block; padding: 0 10px"> "count"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by term attribute.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "hide_empty": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether to hide terms not assigned to any posts.",
+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether to hide terms not assigned to any posts.",
- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "post": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to terms assigned to a specific post.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "default": null,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to terms with one or more specific slugs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3458,24 +4272,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "description": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "HTML description of the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "HTML title for the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the term unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3500,20 +4315,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3525,29 +4340,30 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "description": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "HTML description of the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "HTML title for the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the term unique to its type.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3557,15 +4373,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Required to be true, as terms do not support trashing.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3584,69 +4400,72 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "include": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "offset": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Offset the result set by a specific number of items.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": "asc",
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Order sort attribute ascending or descending.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "desc"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Order sort attribute ascending or descending.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": "name",
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by object attribute.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "id",
</span><span class="cx" style="display: block; padding: 0 10px"> "include",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3657,32 +4476,32 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "email",
</span><span class="cx" style="display: block; padding: 0 10px"> "url"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by object attribute.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to users with one or more specific slugs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "roles": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to users matching at least one specific role provided. Accepts csv list or single role.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "who": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Limit result set to users who are considered authors.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "authors"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Limit result set to users who are considered authors.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3692,42 +4511,45 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "username": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Login name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Display name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "first_name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "First name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "last_name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Last name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "email": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The email address for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "email",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "url": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "URL of the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "description": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Description of the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "locale": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Locale for the user.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "",
</span><span class="cx" style="display: block; padding: 0 10px"> "en_US",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3736,36 +4558,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "es_ES",
</span><span class="cx" style="display: block; padding: 0 10px"> "ja_JP"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Locale for the user.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "nickname": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The nickname for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "roles": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Roles assigned to the user.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Password for the user (never included).",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3790,20 +4612,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3815,47 +4637,50 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "username": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Login name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Display name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "first_name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "First name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "last_name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Last name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "email": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The email address for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "email",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "url": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "URL of the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "description": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Description of the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "locale": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Locale for the user.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "",
</span><span class="cx" style="display: block; padding: 0 10px"> "en_US",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3864,36 +4689,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "es_ES",
</span><span class="cx" style="display: block; padding: 0 10px"> "ja_JP"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Locale for the user.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "nickname": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The nickname for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "roles": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Roles assigned to the user.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Password for the user (never included).",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3903,20 +4728,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Required to be true, as users do not support trashing.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "reassign": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "description": "Reassign the deleted user's posts and links to this user ID.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3938,15 +4763,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3958,42 +4783,45 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "username": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Login name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Display name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "first_name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "First name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "last_name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Last name for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "email": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The email address for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "email",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "url": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "URL of the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "description": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Description of the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "locale": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Locale for the user.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "",
</span><span class="cx" style="display: block; padding: 0 10px"> "en_US",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4002,36 +4830,36 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "es_ES",
</span><span class="cx" style="display: block; padding: 0 10px"> "ja_JP"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Locale for the user.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "nickname": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The nickname for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "An alphanumeric identifier for the user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "roles": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Roles assigned to the user.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Password for the user (never included).",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4041,15 +4869,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Required to be true, as users do not support trashing.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "reassign": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "description": "Reassign the deleted user's posts and links to this user ID.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4072,15 +4900,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4090,9 +4918,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The name of the application password.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4120,15 +4948,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4140,9 +4968,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The name of the application password.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4167,99 +4995,107 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "after": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit response to comments published after a given ISO8601 compliant date.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to comments assigned to specific user IDs. Requires authorization.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes comments assigned to specific user IDs. Requires authorization.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_email": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": null,
</ins><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to that from a specific author email. Requires authorization.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "format": "email",
+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "before": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit response to comments published before a given ISO8601 compliant date.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "include": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": [],
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to specific IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "default": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "offset": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Offset the result set by a specific number of items.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "order": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Order sort attribute ascending or descending.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "desc",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "asc",
</span><span class="cx" style="display: block; padding: 0 10px"> "desc"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Order sort attribute ascending or descending.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by object attribute.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "date_gmt",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "date",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4270,52 +5106,51 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "parent",
</span><span class="cx" style="display: block; padding: 0 10px"> "type"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by object attribute.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": [],
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to comments of specific parent IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent_exclude": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": [],
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Ensure result set excludes specific parent IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "post": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": [],
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to comments assigned to specific post IDs.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": "approve",
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to comments assigned a specific status. Requires authorization.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "type": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": "comment",
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to comments assigned a specific type. Requires authorization.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The password for the post if it is password protected.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4325,71 +5160,96 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID of the user object, if author was a user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_email": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Email address for the object author.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "email",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_ip": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "IP address for the object author.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "ip",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Display name for the object author.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_url": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "URL for the object author.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_user_agent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "User agent for the object author.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML content for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": 0,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "post": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": 0,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID of the associated post object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "State of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4414,25 +5274,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The password for the parent post of the comment (if the post is password protected).",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4444,74 +5304,99 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID of the user object, if author was a user.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_email": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Email address for the object author.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "email",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_ip": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "IP address for the object author.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "ip",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Display name for the object author.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_url": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "URL for the object author.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "author_user_agent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "User agent for the object author.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "content": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The content for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": {
+ "raw": {
+ "description": "Content for the object, as it exists in the database.",
+ "type": "string",
+ "context": [
+ "edit"
+ ]
+ },
+ "rendered": {
+ "description": "HTML content for the object, transformed for display.",
+ "type": "string",
+ "context": [
+ "view",
+ "edit",
+ "embed"
+ ],
+ "readonly": true
+ }
+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, in the site's timezone.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_gmt": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The date the object was published, as GMT.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "date-time",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID for the parent of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "post": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The ID of the associated post object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "State of the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "meta": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Meta fields.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "object",
+ "properties": [],
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4521,20 +5406,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique identifier for the object.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "force": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": false,
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Whether to bypass Trash and force deletion.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "password": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The password for the parent post of the comment (if the post is password protected).",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4552,45 +5437,47 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "type": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": "post",
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Limit results to items of an object type.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "post",
</span><span class="cx" style="display: block; padding: 0 10px"> "term",
</span><span class="cx" style="display: block; padding: 0 10px"> "post-format"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Limit results to items of an object type.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "subtype": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "default": "any",
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to items of one or more object subtypes.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4603,7 +5490,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "any"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4626,29 +5514,29 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Unique registered name for the block.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "attributes": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Attributes for the block.",
+ "type": "object",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": [],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Attributes for the block.",
- "type": "object"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "post_id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "ID of the post context.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4666,20 +5554,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "namespace": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Block namespace.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4704,20 +5592,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "namespace": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Block namespace.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4735,25 +5623,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "name": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Block name.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "namespace": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Block namespace.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4782,87 +5670,89 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "title": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Site title.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "description": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Site tagline.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "url": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Site URL.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "email": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "This address is used for admin purposes, like new user notification.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "email",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "timezone": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A city in the same timezone as you.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "date_format": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A date format for all date strings.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "time_format": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A time format for all time strings.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "start_of_week": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "A day number of the week that the week should start on.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "language": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "WordPress locale code.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "use_smilies": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Convert emoticons like :-) and :-P to graphics on display.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "boolean",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "default_category": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Default post category.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "default_post_format": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Default post format.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "posts_per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Blog pages show at most.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "default_ping_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Allow link notifications from other blogs (pingbacks and trackbacks) on new articles.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Allow link notifications from other blogs (pingbacks and trackbacks) on new articles.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "default_comment_status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Allow people to submit comments on new posts.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="cx" style="display: block; padding: 0 10px"> "closed"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Allow people to submit comments on new posts.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4883,29 +5773,31 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Scope under which the request is made; determines fields present in response.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to themes assigned one or more statuses.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4913,7 +5805,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "active"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "string"
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4935,23 +5828,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "search": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit results to those matching a string.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limits results to plugins with the given status.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "array",
</span><span class="cx" style="display: block; padding: 0 10px"> "items": {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4960,7 +5852,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "inactive",
</span><span class="cx" style="display: block; padding: 0 10px"> "active"
</span><span class="cx" style="display: block; padding: 0 10px"> ]
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4970,19 +5863,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "slug": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "description": "WordPress.org plugin directory slug.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "pattern": "[\\w\\-]+",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "inactive",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The plugin activation status.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "inactive",
</span><span class="cx" style="display: block; padding: 0 10px"> "active"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The plugin activation status.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "inactive",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5011,19 +5905,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "plugin": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "pattern": "[^.\\/]+(?:\\/[^.\\/]+)?",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5035,28 +5930,29 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "plugin": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "pattern": "[^.\\/]+(?:\\/[^.\\/]+)?",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "status": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The plugin activation status.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "inactive",
</span><span class="cx" style="display: block; padding: 0 10px"> "active"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The plugin activation status.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5066,19 +5962,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="cx" style="display: block; padding: 0 10px"> "embed",
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "plugin": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "pattern": "[^.\\/]+(?:\\/[^.\\/]+)?",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5096,30 +5993,34 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Scope under which the request is made; determines fields present in response.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Current page of the collection.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 1,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Current page of the collection.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "per_page": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 10,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Maximum number of items to be returned in result set.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "minimum": 1,
+ "maximum": 100,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "term": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "Limit result set to blocks matching the search term.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "minLength": 1,
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5144,12 +6045,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "namespace": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "wp-site-health/v1"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "wp-site-health/v1",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5264,12 +6165,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "namespace": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "oembed/1.0"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "oembed/1.0",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "context": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "view"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "view",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5290,17 +6191,18 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "url": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The URL of the resource for which to fetch oEmbed data.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "format": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": "json"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": "json",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "maxwidth": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
- "default": 600
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "default": 600,
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5321,36 +6223,37 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><span class="cx" style="display: block; padding: 0 10px"> "args": {
</span><span class="cx" style="display: block; padding: 0 10px"> "url": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": true,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The URL of the resource for which to fetch oEmbed data.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "string",
+ "format": "uri",
+ "required": true
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "format": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The oEmbed format to use.",
+ "type": "string",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": "json",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "json",
</span><span class="cx" style="display: block; padding: 0 10px"> "xml"
</span><span class="cx" style="display: block; padding: 0 10px"> ],
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The oEmbed format to use.",
- "type": "string"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "maxwidth": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The maximum width of the embed frame in pixels.",
+ "type": "integer",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": 600,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The maximum width of the embed frame in pixels.",
- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "maxheight": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><span class="cx" style="display: block; padding: 0 10px"> "description": "The maximum height of the embed frame in pixels.",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "type": "integer"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "type": "integer",
+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "discover": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "required": false,
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether to perform an oEmbed discovery request for unsanctioned providers.",
+ "type": "boolean",
</ins><span class="cx" style="display: block; padding: 0 10px"> "default": true,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Whether to perform an oEmbed discovery request for unsanctioned providers.",
- "type": "boolean"
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "required": false
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre>
</div>
</div>
</body>
</html>