<!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>[51026] trunk: REST API: Add support for modifying the term relation when querying posts.</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/51026">51026</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/51026","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>2021-05-26 02:15:51 +0000 (Wed, 26 May 2021)</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: Add support for modifying the term relation when querying posts.
By default, a post most contain any of the requested terms to be included in the response. This commit adds a new `operator` property that can be set to `AND` to require a post to contain all of the requested terms.
For example, `/wp/v2/posts?tags[terms]=1,2,3&tags[operator]=AND` will return posts that have tags with the ids of 1, 2, and 3.
Props dlh, earnjam, Clorith, jnylen0, sebbb.
Fixes <a href="https://core.trac.wordpress.org/ticket/41287">#41287</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpincludesrestapiendpointsclasswprestpostscontrollerphp">trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestpostscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-posts-controller.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="trunksrcwpincludesrestapiendpointsclasswprestpostscontrollerphp"></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/endpoints/class-wp-rest-posts-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 2021-05-26 01:52:26 UTC (rev 51025)
+++ trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php 2021-05-26 02:15:51 UTC (rev 51026)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2941,6 +2941,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $tax_include ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $terms = array();
</span><span class="cx" style="display: block; padding: 0 10px"> $include_children = false;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $operator = 'IN';
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( rest_is_array( $tax_include ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $terms = $tax_include;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2947,6 +2948,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } elseif ( rest_is_object( $tax_include ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $terms = empty( $tax_include['terms'] ) ? array() : $tax_include['terms'];
</span><span class="cx" style="display: block; padding: 0 10px"> $include_children = ! empty( $tax_include['include_children'] );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ if ( isset( $tax_include['operator'] ) && 'AND' === $tax_include['operator'] ) {
+ $operator = 'AND';
+ }
</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"> if ( $terms ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2955,6 +2960,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'field' => 'term_id',
</span><span class="cx" style="display: block; padding: 0 10px"> 'terms' => $terms,
</span><span class="cx" style="display: block; padding: 0 10px"> 'include_children' => $include_children,
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 'operator' => $operator,
</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">@@ -3048,6 +3054,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ),
</span><span class="cx" style="display: block; padding: 0 10px"> $limit_schema
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // 'operator' is supported only for 'include' queries.
+ $include_schema['oneOf'][1]['properties']['operator'] = array(
+ 'description' => __( 'Whether items must be assigned all or any of the specified terms.' ),
+ 'type' => 'string',
+ 'enum' => array( 'AND', 'OR' ),
+ 'default' => 'OR',
+ );
+
</ins><span class="cx" style="display: block; padding: 0 10px"> $exclude_schema = array_merge(
</span><span class="cx" style="display: block; padding: 0 10px"> array(
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s: Taxonomy name. */
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestpostscontrollerphp"></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-posts-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php 2021-05-26 01:52:26 UTC (rev 51025)
+++ trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php 2021-05-26 02:15:51 UTC (rev 51026)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1295,6 +1295,47 @@
</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">+ * @ticket 41287
+ */
+ public function test_get_items_with_all_categories() {
+ $taxonomy = get_taxonomy( 'category' );
+ $categories = static::factory()->term->create_many( 2, array( 'taxonomy' => $taxonomy->name ) );
+
+ $p1 = static::factory()->post->create(
+ array(
+ 'post_status' => 'publish',
+ 'post_category' => array( $categories[0] ),
+ )
+ );
+ $p2 = static::factory()->post->create(
+ array(
+ 'post_status' => 'publish',
+ 'post_category' => array( $categories[1] ),
+ )
+ );
+ $p3 = static::factory()->post->create(
+ array(
+ 'post_status' => 'publish',
+ 'post_category' => $categories,
+ )
+ );
+
+ $request = new WP_REST_Request( 'GET', '/wp/v2/posts' );
+ $request->set_param(
+ $taxonomy->rest_base,
+ array(
+ 'terms' => $categories,
+ 'operator' => 'AND',
+ )
+ );
+ $response = rest_get_server()->dispatch( $request );
+ $data = $response->get_data();
+
+ $this->assertCount( 1, $data );
+ $this->assertSame( $p3, $data[0]['id'] );
+ }
+
+ /**
</ins><span class="cx" style="display: block; padding: 0 10px"> * @ticket 44326
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function test_get_items_relation_with_no_tax_query() {
</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 2021-05-26 01:52:26 UTC (rev 51025)
+++ trunk/tests/qunit/fixtures/wp-api-generated.js 2021-05-26 02:15:51 UTC (rev 51026)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -368,7 +368,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Sort collection by object attribute.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by post attribute.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><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="lines" style="display: block; padding: 0 10px; color: #888">@@ -458,6 +458,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "description": "Whether to include child terms in the terms limiting the result set.",
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "boolean",
</span><span class="cx" style="display: block; padding: 0 10px"> "default": false
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "operator": {
+ "description": "Whether items must be assigned all or any of the specified terms.",
+ "type": "string",
+ "enum": [
+ "AND",
+ "OR"
+ ],
+ "default": "OR"
</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"> "additionalProperties": false
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -531,6 +540,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "type": "integer"
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "default": []
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ },
+ "operator": {
+ "description": "Whether items must be assigned all or any of the specified terms.",
+ "type": "string",
+ "enum": [
+ "AND",
+ "OR"
+ ],
+ "default": "OR"
</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"> "additionalProperties": false
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -585,7 +603,7 @@
</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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -594,7 +612,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -603,12 +621,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -625,11 +643,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -636,7 +654,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML title for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML title for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -649,11 +667,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -660,7 +678,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML content for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML content for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -669,7 +687,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "readonly": true
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "block_version": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Version of the content block format used by the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Version of the content block format used by the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -690,16 +708,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the author of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the author of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The excerpt for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The excerpt for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Excerpt for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Excerpt for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -706,7 +724,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML excerpt for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML excerpt for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -729,12 +747,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID of the featured media for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID of the featured media for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not comments are open on the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -743,7 +761,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object can be pinged.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post can be pinged.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -752,7 +770,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The format for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The format for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "standard",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -775,17 +793,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object should be treated as sticky.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post should be treated as sticky.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "boolean",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The terms assigned to the object in the category taxonomy.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The terms assigned to the post in the category taxonomy.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -793,7 +811,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The terms assigned to the object in the post_tag taxonomy.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The terms assigned to the post in the post_tag taxonomy.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -823,7 +841,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -853,12 +871,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"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -867,7 +885,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -876,12 +894,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -898,11 +916,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -909,7 +927,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML title for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML title for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -922,11 +940,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -933,7 +951,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML content for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML content for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -942,7 +960,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "readonly": true
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "block_version": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Version of the content block format used by the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Version of the content block format used by the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -963,16 +981,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the author of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the author of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The excerpt for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The excerpt for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Excerpt for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Excerpt for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -979,7 +997,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML excerpt for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML excerpt for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1002,12 +1020,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID of the featured media for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID of the featured media for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not comments are open on the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1016,7 +1034,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object can be pinged.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post can be pinged.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1025,7 +1043,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The format for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The format for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "standard",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1048,17 +1066,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object should be treated as sticky.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post should be treated as sticky.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "boolean",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The terms assigned to the object in the category taxonomy.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The terms assigned to the post in the category taxonomy.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1066,7 +1084,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The terms assigned to the object in the post_tag taxonomy.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The terms assigned to the post in the post_tag taxonomy.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1081,7 +1099,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1107,7 +1125,7 @@
</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">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1206,12 +1224,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1234,12 +1252,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1266,7 +1284,7 @@
</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">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1289,12 +1307,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1303,7 +1321,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1312,12 +1330,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1334,11 +1352,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1345,7 +1363,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML title for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML title for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1358,11 +1376,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1369,7 +1387,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML content for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML content for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1378,7 +1396,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "readonly": true
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "block_version": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Version of the content block format used by the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Version of the content block format used by the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1399,16 +1417,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the author of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the author of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The excerpt for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The excerpt for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Excerpt for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Excerpt for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1415,7 +1433,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML excerpt for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML excerpt for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1438,12 +1456,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID of the featured media for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID of the featured media for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not comments are open on the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1452,7 +1470,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object can be pinged.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post can be pinged.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1461,7 +1479,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The format for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The format for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "standard",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1484,17 +1502,17 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object should be treated as sticky.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post should be treated as sticky.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "boolean",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The terms assigned to the object in the category taxonomy.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The terms assigned to the post in the category taxonomy.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1502,7 +1520,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The terms assigned to the object in the post_tag taxonomy.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The terms assigned to the post in the post_tag taxonomy.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1525,12 +1543,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1673,7 +1691,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Sort collection by object attribute.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by post attribute.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><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="lines" style="display: block; padding: 0 10px; color: #888">@@ -1749,7 +1767,7 @@
</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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1758,7 +1776,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1767,12 +1785,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1789,16 +1807,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1805,7 +1823,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML title for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML title for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1818,11 +1836,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1829,7 +1847,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML content for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML content for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1838,7 +1856,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "readonly": true
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "block_version": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Version of the content block format used by the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Version of the content block format used by the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1859,16 +1877,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the author of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the author of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The excerpt for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The excerpt for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Excerpt for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Excerpt for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1875,7 +1893,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML excerpt for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML excerpt for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1898,12 +1916,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID of the featured media for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID of the featured media for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not comments are open on the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1912,7 +1930,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object can be pinged.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post can be pinged.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1921,7 +1939,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The order of the object in relation to other object of its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The order of the post in relation to other posts.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1932,7 +1950,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1959,7 +1977,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1989,12 +2007,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"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2003,7 +2021,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2012,12 +2030,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2034,16 +2052,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2050,7 +2068,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML title for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML title for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2063,11 +2081,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2074,7 +2092,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML content for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML content for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2083,7 +2101,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "readonly": true
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "block_version": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Version of the content block format used by the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Version of the content block format used by the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2104,16 +2122,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the author of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the author of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The excerpt for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The excerpt for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Excerpt for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Excerpt for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2120,7 +2138,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML excerpt for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML excerpt for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2143,12 +2161,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID of the featured media for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID of the featured media for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not comments are open on the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2157,7 +2175,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object can be pinged.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post can be pinged.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2166,7 +2184,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The order of the object in relation to other object of its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The order of the post in relation to other posts.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2177,7 +2195,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2189,7 +2207,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2215,7 +2233,7 @@
</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">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2314,12 +2332,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2342,12 +2360,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2374,7 +2392,7 @@
</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">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2397,12 +2415,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2411,7 +2429,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2420,12 +2438,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2442,11 +2460,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2453,7 +2471,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML title for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML title for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2466,11 +2484,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2477,7 +2495,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML content for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML content for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2486,7 +2504,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "readonly": true
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "block_version": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Version of the content block format used by the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Version of the content block format used by the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2507,16 +2525,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the author of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the author of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The excerpt for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The excerpt for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Excerpt for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Excerpt for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2523,7 +2541,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML excerpt for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML excerpt for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2546,12 +2564,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID of the featured media for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID of the featured media for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not comments are open on the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2560,7 +2578,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object can be pinged.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post can be pinged.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2569,7 +2587,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The order of the object in relation to other object of its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The order of the post in relation to other posts.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2580,7 +2598,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2600,12 +2618,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2743,7 +2761,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Sort collection by object attribute.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by post attribute.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><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="lines" style="display: block; padding: 0 10px; color: #888">@@ -2827,7 +2845,7 @@
</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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2836,7 +2854,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2845,12 +2863,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2862,11 +2880,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2873,7 +2891,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML title for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML title for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2886,12 +2904,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the author of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the author of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not comments are open on the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2900,7 +2918,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object can be pinged.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post can be pinged.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2915,7 +2933,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2953,7 +2971,7 @@
</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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Description for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Description for the attachment, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2960,7 +2978,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML description for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML description for the attachment, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2999,7 +3017,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3024,12 +3042,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"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3038,7 +3056,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3047,12 +3065,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3064,11 +3082,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3075,7 +3093,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML title for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML title for the post, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3088,12 +3106,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the author of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the author of the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not comments are open on the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not comments are open on the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3102,7 +3120,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Whether or not the object can be pinged.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Whether or not the post can be pinged.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "open",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3117,7 +3135,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3155,7 +3173,7 @@
</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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Description for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Description for the attachment, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3162,7 +3180,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML description for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML description for the attachment, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3186,7 +3204,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3212,7 +3230,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the attachment.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3467,7 +3485,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Sort collection by object attribute.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by post attribute.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><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="lines" style="display: block; padding: 0 10px; color: #888">@@ -3524,7 +3542,7 @@
</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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3533,7 +3551,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3542,12 +3560,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3564,11 +3582,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3579,11 +3597,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3591,7 +3609,7 @@
</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"> "block_version": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Version of the content block format used by the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Version of the content block format used by the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3612,7 +3630,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3639,7 +3657,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3669,12 +3687,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"> "id": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3683,7 +3701,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3692,12 +3710,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3714,11 +3732,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3729,11 +3747,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3741,7 +3759,7 @@
</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"> "block_version": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Version of the content block format used by the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Version of the content block format used by the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3762,7 +3780,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3774,7 +3792,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3800,7 +3818,7 @@
</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">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3899,12 +3917,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3927,12 +3945,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the revision.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3959,7 +3977,7 @@
</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">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3982,12 +4000,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, in the site's timezone.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3996,7 +4014,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the post was published, as GMT.",
</ins><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><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4005,12 +4023,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "An alphanumeric identifier for the object unique to its type.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "An alphanumeric identifier for the post unique to its type.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "A named status for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "A named status for the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "enum": [
</span><span class="cx" style="display: block; padding: 0 10px"> "publish",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4027,11 +4045,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The title for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The title for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Title for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Title for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4042,11 +4060,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the post.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the post, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4054,7 +4072,7 @@
</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"> "block_version": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Version of the content block format used by the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Version of the content block format used by the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4075,7 +4093,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The theme file to use to display the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The theme file to use to display the post.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4095,12 +4113,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"> "parent": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the autosave.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4119,6 +4137,453 @@
</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">+ "/wp/v2/templates": {
+ "namespace": "wp/v2",
+ "methods": [
+ "GET",
+ "POST"
+ ],
+ "endpoints": [
+ {
+ "methods": [
+ "GET"
+ ],
+ "args": {
+ "context": {
+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
+ "enum": [
+ "view",
+ "embed",
+ "edit"
+ ],
+ "required": false
+ },
+ "wp_id": {
+ "description": "Limit to the specified post id.",
+ "type": "integer",
+ "required": false
+ }
+ }
+ },
+ {
+ "methods": [
+ "POST"
+ ],
+ "args": {
+ "slug": {
+ "description": "Unique slug identifying the template.",
+ "type": "string",
+ "minLength": 1,
+ "pattern": "[a-zA-Z_\\-]+",
+ "required": true
+ },
+ "theme": {
+ "description": "Theme identifier for the template.",
+ "type": "string",
+ "required": false
+ },
+ "content": {
+ "default": "",
+ "description": "Content of template.",
+ "type": [
+ "object",
+ "string"
+ ],
+ "required": false
+ },
+ "title": {
+ "default": "",
+ "description": "Title of template.",
+ "type": [
+ "object",
+ "string"
+ ],
+ "required": false
+ },
+ "description": {
+ "default": "",
+ "description": "Description of template.",
+ "type": "string",
+ "required": false
+ },
+ "status": {
+ "default": "publish",
+ "description": "Status of template.",
+ "type": "string",
+ "required": false
+ }
+ }
+ }
+ ],
+ "_links": {
+ "self": [
+ {
+ "href": "http://example.org/index.php?rest_route=/wp/v2/templates"
+ }
+ ]
+ }
+ },
+ "/wp/v2/templates/(?P<id>[\\/\\w-]+)": {
+ "namespace": "wp/v2",
+ "methods": [
+ "GET",
+ "POST",
+ "PUT",
+ "PATCH",
+ "DELETE"
+ ],
+ "endpoints": [
+ {
+ "methods": [
+ "GET"
+ ],
+ "args": {
+ "id": {
+ "description": "The id of a template",
+ "type": "string",
+ "required": false
+ }
+ }
+ },
+ {
+ "methods": [
+ "POST",
+ "PUT",
+ "PATCH"
+ ],
+ "args": {
+ "slug": {
+ "description": "Unique slug identifying the template.",
+ "type": "string",
+ "minLength": 1,
+ "pattern": "[a-zA-Z_\\-]+",
+ "required": false
+ },
+ "theme": {
+ "description": "Theme identifier for the template.",
+ "type": "string",
+ "required": false
+ },
+ "content": {
+ "description": "Content of template.",
+ "type": [
+ "object",
+ "string"
+ ],
+ "required": false
+ },
+ "title": {
+ "description": "Title of template.",
+ "type": [
+ "object",
+ "string"
+ ],
+ "required": false
+ },
+ "description": {
+ "description": "Description of template.",
+ "type": "string",
+ "required": false
+ },
+ "status": {
+ "description": "Status of template.",
+ "type": "string",
+ "required": false
+ }
+ }
+ },
+ {
+ "methods": [
+ "DELETE"
+ ],
+ "args": {
+ "force": {
+ "type": "boolean",
+ "default": false,
+ "description": "Whether to bypass Trash and force deletion.",
+ "required": false
+ }
+ }
+ }
+ ]
+ },
+ "/wp/v2/templates/(?P<parent>[\\d]+)/revisions": {
+ "namespace": "wp/v2",
+ "methods": [
+ "GET"
+ ],
+ "endpoints": [
+ {
+ "methods": [
+ "GET"
+ ],
+ "args": {
+ "parent": {
+ "description": "The ID for the parent of the revision.",
+ "type": "integer",
+ "required": false
+ },
+ "context": {
+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
+ "enum": [
+ "view",
+ "embed",
+ "edit"
+ ],
+ "default": "view",
+ "required": false
+ },
+ "page": {
+ "description": "Current page of the collection.",
+ "type": "integer",
+ "default": 1,
+ "minimum": 1,
+ "required": false
+ },
+ "per_page": {
+ "description": "Maximum number of items to be returned in result set.",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 100,
+ "required": false
+ },
+ "search": {
+ "description": "Limit results to those matching a string.",
+ "type": "string",
+ "required": false
+ },
+ "exclude": {
+ "description": "Ensure result set excludes specific IDs.",
+ "type": "array",
+ "items": {
+ "type": "integer"
+ },
+ "default": [],
+ "required": false
+ },
+ "include": {
+ "description": "Limit result set to specific IDs.",
+ "type": "array",
+ "items": {
+ "type": "integer"
+ },
+ "default": [],
+ "required": false
+ },
+ "offset": {
+ "description": "Offset the result set by a specific number of items.",
+ "type": "integer",
+ "required": false
+ },
+ "order": {
+ "description": "Order sort attribute ascending or descending.",
+ "type": "string",
+ "default": "desc",
+ "enum": [
+ "asc",
+ "desc"
+ ],
+ "required": false
+ },
+ "orderby": {
+ "description": "Sort collection by object attribute.",
+ "type": "string",
+ "default": "date",
+ "enum": [
+ "date",
+ "id",
+ "include",
+ "relevance",
+ "slug",
+ "include_slugs",
+ "title"
+ ],
+ "required": false
+ }
+ }
+ }
+ ]
+ },
+ "/wp/v2/templates/(?P<parent>[\\d]+)/revisions/(?P<id>[\\d]+)": {
+ "namespace": "wp/v2",
+ "methods": [
+ "GET",
+ "DELETE"
+ ],
+ "endpoints": [
+ {
+ "methods": [
+ "GET"
+ ],
+ "args": {
+ "parent": {
+ "description": "The ID for the parent of the revision.",
+ "type": "integer",
+ "required": false
+ },
+ "id": {
+ "description": "Unique identifier for the revision.",
+ "type": "integer",
+ "required": false
+ },
+ "context": {
+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
+ "enum": [
+ "view",
+ "embed",
+ "edit"
+ ],
+ "default": "view",
+ "required": false
+ }
+ }
+ },
+ {
+ "methods": [
+ "DELETE"
+ ],
+ "args": {
+ "parent": {
+ "description": "The ID for the parent of the revision.",
+ "type": "integer",
+ "required": false
+ },
+ "id": {
+ "description": "Unique identifier for the revision.",
+ "type": "integer",
+ "required": false
+ },
+ "force": {
+ "type": "boolean",
+ "default": false,
+ "description": "Required to be true, as revisions do not support trashing.",
+ "required": false
+ }
+ }
+ }
+ ]
+ },
+ "/wp/v2/templates/(?P<id>[\\d]+)/autosaves": {
+ "namespace": "wp/v2",
+ "methods": [
+ "GET",
+ "POST"
+ ],
+ "endpoints": [
+ {
+ "methods": [
+ "GET"
+ ],
+ "args": {
+ "parent": {
+ "description": "The ID for the parent of the autosave.",
+ "type": "integer",
+ "required": false
+ },
+ "context": {
+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
+ "enum": [
+ "view",
+ "embed",
+ "edit"
+ ],
+ "default": "view",
+ "required": false
+ }
+ }
+ },
+ {
+ "methods": [
+ "POST"
+ ],
+ "args": {
+ "parent": {
+ "description": "The ID for the parent of the autosave.",
+ "type": "integer",
+ "required": false
+ },
+ "slug": {
+ "description": "Unique slug identifying the template.",
+ "type": "string",
+ "minLength": 1,
+ "pattern": "[a-zA-Z_\\-]+",
+ "required": false
+ },
+ "theme": {
+ "description": "Theme identifier for the template.",
+ "type": "string",
+ "required": false
+ },
+ "content": {
+ "description": "Content of template.",
+ "type": [
+ "object",
+ "string"
+ ],
+ "required": false
+ },
+ "title": {
+ "description": "Title of template.",
+ "type": [
+ "object",
+ "string"
+ ],
+ "required": false
+ },
+ "description": {
+ "description": "Description of template.",
+ "type": "string",
+ "required": false
+ },
+ "status": {
+ "description": "Status of template.",
+ "type": "string",
+ "required": false
+ }
+ }
+ }
+ ]
+ },
+ "/wp/v2/templates/(?P<parent>[\\d]+)/autosaves/(?P<id>[\\d]+)": {
+ "namespace": "wp/v2",
+ "methods": [
+ "GET"
+ ],
+ "endpoints": [
+ {
+ "methods": [
+ "GET"
+ ],
+ "args": {
+ "parent": {
+ "description": "The ID for the parent of the autosave.",
+ "type": "integer",
+ "required": false
+ },
+ "id": {
+ "description": "The ID for the autosave.",
+ "type": "integer",
+ "required": false
+ },
+ "context": {
+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
+ "enum": [
+ "view",
+ "embed",
+ "edit"
+ ],
+ "default": "view",
+ "required": false
+ }
+ }
+ }
+ ]
+ },
</ins><span class="cx" style="display: block; padding: 0 10px"> "/wp/v2/types": {
</span><span class="cx" style="display: block; padding: 0 10px"> "namespace": "wp/v2",
</span><span class="cx" style="display: block; padding: 0 10px"> "methods": [
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4862,7 +5327,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "orderby": {
</span><span class="cx" style="display: block; padding: 0 10px"> "default": "name",
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Sort collection by object attribute.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by user 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">@@ -5533,7 +5998,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Sort collection by object attribute.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Sort collection by comment attribute.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><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="lines" style="display: block; padding: 0 10px; color: #888">@@ -5604,39 +6069,39 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Email address for the object author.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Email address for the comment author.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "format": "email",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "IP address for the object author.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "IP address for the comment author.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "format": "ip",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Display name for the object author.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Display name for the comment author.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "URL for the object author.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "URL for the comment author.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "format": "uri",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "User agent for the object author.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "User agent for the comment author.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the comment.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the comment, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5643,7 +6108,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML content for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML content for the comment, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5656,13 +6121,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the comment was published, in the site's timezone.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "format": "date-time",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the comment was published, as GMT.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "format": "date-time",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5669,7 +6134,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="cx" style="display: block; padding: 0 10px"> "parent": {
</span><span class="cx" style="display: block; padding: 0 10px"> "default": 0,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the comment.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5680,7 +6145,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "State of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "State of the comment.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5713,7 +6178,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the comment.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5743,7 +6208,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the comment.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5753,39 +6218,39 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Email address for the object author.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Email address for the comment author.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "format": "email",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "IP address for the object author.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "IP address for the comment author.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "format": "ip",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "Display name for the object author.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Display name for the comment author.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "URL for the object author.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "URL for the comment author.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "format": "uri",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "User agent for the object author.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "User agent for the comment author.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The content for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The content for the comment.",
</ins><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="cx" style="display: block; padding: 0 10px"> "raw": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "Content for the object, as it exists in the database.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Content for the comment, as it exists in the database.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "edit"
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5792,7 +6257,7 @@
</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"> "rendered": {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- "description": "HTML content for the object, transformed for display.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "HTML content for the comment, transformed for display.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "context": [
</span><span class="cx" style="display: block; padding: 0 10px"> "view",
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5805,19 +6270,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, in the site's timezone.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the comment was published, in the site's timezone.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "format": "date-time",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The date the object was published, as GMT.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The date the comment was published, as GMT.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "format": "date-time",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "The ID for the parent of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "The ID for the parent of the comment.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5827,7 +6292,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><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">- "description": "State of the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "State of the comment.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "string",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5845,7 +6310,7 @@
</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">- "description": "Unique identifier for the object.",
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ "description": "Unique identifier for the comment.",
</ins><span class="cx" style="display: block; padding: 0 10px"> "type": "integer",
</span><span class="cx" style="display: block; padding: 0 10px"> "required": false
</span><span class="cx" style="display: block; padding: 0 10px"> },
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6855,6 +7320,56 @@
</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">+ "/wp/v2/pattern-directory/patterns": {
+ "namespace": "wp/v2",
+ "methods": [
+ "GET"
+ ],
+ "endpoints": [
+ {
+ "methods": [
+ "GET"
+ ],
+ "args": {
+ "context": {
+ "description": "Scope under which the request is made; determines fields present in response.",
+ "type": "string",
+ "enum": [
+ "view",
+ "embed"
+ ],
+ "default": "view",
+ "required": false
+ },
+ "search": {
+ "description": "Limit results to those matching a string.",
+ "type": "string",
+ "minLength": 1,
+ "required": false
+ },
+ "category": {
+ "description": "Limit results to those matching a category ID.",
+ "type": "integer",
+ "minimum": 1,
+ "required": false
+ },
+ "keyword": {
+ "description": "Limit results to those matching a keyword ID.",
+ "type": "integer",
+ "minimum": 1,
+ "required": false
+ }
+ }
+ }
+ ],
+ "_links": {
+ "self": [
+ {
+ "href": "http://example.org/index.php?rest_route=/wp/v2/pattern-directory/patterns"
+ }
+ ]
+ }
+ },
</ins><span class="cx" style="display: block; padding: 0 10px"> "/wp-site-health/v1": {
</span><span class="cx" style="display: block; padding: 0 10px"> "namespace": "wp-site-health/v1",
</span><span class="cx" style="display: block; padding: 0 10px"> "methods": [
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7907,6 +8422,33 @@
</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">+ },
+ "wp_template": {
+ "description": "Templates to include in your theme.",
+ "hierarchical": false,
+ "name": "Templates",
+ "slug": "wp_template",
+ "taxonomies": [],
+ "rest_base": "templates",
+ "_links": {
+ "collection": [
+ {
+ "href": "http://example.org/index.php?rest_route=/wp/v2/types"
+ }
+ ],
+ "wp:items": [
+ {
+ "href": "http://example.org/index.php?rest_route=/wp/v2/templates"
+ }
+ ],
+ "curies": [
+ {
+ "name": "wp",
+ "href": "https://api.w.org/{rel}",
+ "templated": 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></pre>
</div>
</div>
</body>
</html>