Instantly share code, notes, and snippets.

Embed
What would you like to do?
Blocks in post
// 20170908135703
// http://developwordpress.localhost/wp-json/wp/v2/posts/40018
{
"content": {
"id": 40018,
"date": "2017-09-04T19:21:42",
"date_gmt": "2017-09-04T19:21:42",
"guid": {
"rendered": "http://developwordpress.localhost/?p=40018"
},
"modified": "2017-09-04T19:21:42",
"modified_gmt": "2017-09-04T19:21:42",
"slug": "welcome-to-the-gutenberg-editor",
"status": "publish",
"type": "post",
"link": "http://developwordpress.localhost/2017/09/04/welcome-to-the-gutenberg-editor/",
"title": {
"rendered": "Welcome to the Gutenberg Editor"
},
"content": {
"rendered": "<section style=\"background-image: url(https://cldup.com/GCwahb3aOb.jpg);\" class=\"wp-block-cover-image has-parallax has-background-dim\">\n<h2>Of mountains &amp; printing presses</h2>\n</section>\n<p><!-- noteaser --></p>\n<p>The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of <em>pieces of content</em>—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you&#8217;ll notice the different blocks light up with outlines and arrows. Press the arrows to reposition blocks quickly, without fearing about losing things in the process of copying and pasting.</p>\n<p>What you are reading now is a <strong>text block</strong>, the most basic block of all. The text block has its own controls to be moved freely around the post&#8230;</p>\n<p style=\"text-align: right;\">&#8230; like this one, which is right aligned.</p>\n<p>Headings are separate blocks as well, which helps with the outline and organization of your content.</p>\n<h2>A picture is worth a thousand words, or so the saying goes</h2>\n<p>Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you&#8217;ll find aspects of adding captions or going full-width with your pictures much easier and robust than before.</p>\n<figure class=\"wp-block-image aligncenter\"><img src=\"https://cldup.com/YLYhpou2oq.jpg\" alt=\"Beautiful landscape\" /><figcaption>Give it a try. Press the &quot;really wide&quot; button on the image toolbar.</figcaption></figure>\n<p>Try selecting and removing or editing the caption, now you don&#8217;t have to be careful about selecting the image or other text by mistake and ruining the presentation.</p>\n<h2>The <em>Inserter</em> Tool</h2>\n<p>Imagine everything that WordPress can do is available to you quickly and in the same place on the interface. No need to figure out HTML tags, classes, or remember complicated shortcode syntax. That&#8217;s the spirit behind the inserter—the <code>(+)</code> button you&#8217;ll see around the editor—which allows you to browse all available content blocks and insert them into your post. Plugins and themes are able to register their own, opening up all sort of possibilities for rich editing and publishing.</p>\n<p>Go give it a try, you may discover things WordPress can already insert into your posts that you didn&#8217;t know about. Here&#8217;s a short list of what you can currently find there:</p>\n<ul>\n<li>Text &amp; Headings</li>\n<li>Images &amp; Videos</li>\n<li>Galleries</li>\n<li>Embeds, like YouTube, Tweets, or other WordPress posts.</li>\n<li>Layout blocks, like Buttons, Hero Images, Separators, etc.</li>\n<li>And <em>Lists</em> like this one of course 🙂</li>\n</ul>\n<p>If you want to learn more about how to build additional blocks, or if you are interested in helping with the project, head over to the <a href=\"https://github.com/WordPress/gutenberg\">GitHub repository</a>.</p>\n<div class=\"wp-block-button aligncenter\"><a href=\"https://github.com/WordPress/gutenberg\"><span>Help build Gutenberg</span></a></div>\n<hr class=\"wp-block-separator\" />\n<h2>Visual Editing</h2>\n<p>A huge benefit of blocks is that you can edit them in place and manipulate your content directly. Instead of having fields for editing things like the source of a quote, or the text of a button, you can directly change the content. Try editing the following quote:</p>\n<blockquote class=\"wp-block-quote blocks-quote-style-1\">\n<p>The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.</p>\n<footer>Matt Mullenweg, 2017</footer>\n</blockquote>\n<p>The information corresponding to the source of the quote is a separate text field, similar to captions under images, so the structure of the quote is protected even if you select, modify, or remove the source. It&#8217;s always easy to add it back.</p>\n<p>Blocks can be anything you need. For instance, you may want to insert a subdued quote as part of the composition of your text, or you may prefer to display a giant stylized one. All of these options are available in the inserter.</p>\n<blockquote class=\"wp-block-quote blocks-quote-style-2\">\n<p>There is no greater agony than bearing an untold story inside you.</p>\n<footer>Maya Angelou</footer>\n</blockquote>\n<hr class=\"wp-block-separator\" />\n<h2>Sea id autem nominavi deseruisse</h2>\n<p>Ea veniam homero eam. Ex inimicus molestiae cum, debet scaevola at eos. Vis assum veritus ut, has ea nostrud accusata, offendit appareat comprehensam ea pro. Ad quo quem veritus appellantur, te est quas phaedrum, eum alia habeo ad. Ei est erroribus imperdiet, omnis dicam propriae sed no. His vitae oratio fierent ne, cu duo tota eligendi, electram rationibus in qui.</p>\n<figure class=\"wp-block-image alignwide\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"Accessibility is important don't forget image alt attribute\" /></figure>\n<p>Est quis reque cetero ad. Sea id autem nominavi deseruisse. <strong>Veniam qualisque definitionem pri id</strong>, ea autem feugiat delenit ius, mei at loem affert accumsan. Dicat eruditi cu est, te pro dicant pericula conclusionemque, ei vim detracto euripidis intellegam. Eius postea volumus mei ad.</p>\n<p>Prima ridens denique his te, ferri illum volumus an his. Eu vel dicat homero qualisqu, vitae regione deserunt vis ei. Graeci incorrupte liberavisse no mea, saepe voluptaria usu ex, vis dicant euismod id. At dolor reprimique eos, quo altera detraxit moderatius id. Quo iudico utinam eu, ad alia munere mel.</p>\n<pre class=\"wp-block-code\"><code>export default function MyButton() {\nreturn &lt;Button&gt;Click Me!&lt;/Button&gt;;\n}</code></pre>\n<div class=\"wp-block-gallery alignwide columns-2 is-cropped\">\n<figure class=\"blocks-gallery-image\"><img src=\"https://cldup.com/GCwahb3aOb.jpg\" alt /></figure>\n<figure class=\"blocks-gallery-image\"><img src=\"https://cldup.com/lUUQPv6w9c.jpg\" alt /></figure>\n</div>\n<pre class=\"wp-block-preformatted\">An old silent pond...<br />A frog jumps into the pond,<br />splash! Silence again.</pre>\n<p>Eu integre accusata prodesset est, <em>sed te impetus gubergren conceptam</em>, ex sed wisi nostrum ocurreret. Esse velit omittantur ius te, alii dissentias ei vis. At sed unum veritus fabellas. Te volutpat appellantur duo. Ad natum fuisset intellegebat eam, causae invidunt usu id, et vis impetus appetere.</p>\n<h6>Nominavi deseruisse</h6>\n<ul>\n<li>Est quis reque cetero ad</li>\n<li>Sea id autem nominavi deseruisse</li>\n<li>Veniam qualisque definitionem pri id, ea autem feugiat delenit ius, mei at loem affert accumsan</li>\n<li>Dicat eruditi cu est, te pro dicant pericula conclusionemque</li>\n<li>Eius postea volumus mei ad</li>\n</ul>\n<blockquote class=\"wp-block-pullquote alignnone\">\n<p>Code is Poetry</p>\n<footer>The WordPress community</footer>\n</blockquote>\n<hr class=\"wp-block-separator\" />\n<table class=\"wp-block-table\">\n<thead>\n<tr>\n<th>Version</th>\n<th>Musician</th>\n<th>Date</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<th><a href=\"https://wordpress.org/news/2015/12/clifford/\">4.4</a></th>\n<td>Clifford Brown</td>\n<td>December 8, 2015</td>\n</tr>\n<tr class=\"alt\">\n<th><a href=\"https://wordpress.org/news/2016/04/coleman/\">4.5</a></th>\n<td>Coleman Hawkins</td>\n<td>April 12, 2016</td>\n</tr>\n<tr>\n<th><a href=\"https://wordpress.org/news/2016/08/pepper/\">4.6</a></th>\n<td>Pepper Adams</td>\n<td>August 16, 2016</td>\n</tr>\n<tr class=\"alt\">\n<th><a href=\"https://wordpress.org/news/2016/12/vaughan/\">4.7</a></th>\n<td>Sarah Vaughan</td>\n<td>December 6, 2016</td>\n</tr>\n</tbody>\n</table>\n<h2>All that you can embed!</h2>\n<figure class=\"wp-block-embed\">\n <iframe width=\"660\" height=\"371\" src=\"https://www.youtube.com/embed/Nl6U7UotA-M?feature=oembed\" frameborder=\"0\" allowfullscreen></iframe><figcaption>State of the Word 2016</figcaption></figure>\n<figure class=\"wp-block-embed\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\">\n<p lang=\"en\" dir=\"ltr\">WordPress 14 <a href=\"https://t.co/cy09YpiXdT\">https://t.co/cy09YpiXdT</a> <a href=\"https://t.co/cuMonO6phw\">pic.twitter.com/cuMonO6phw</a></p>\n<p>&mdash; Matt Mullenweg (@photomatt) <a href=\"https://twitter.com/photomatt/status/868657763970404352\">May 28, 2017</a></p></blockquote>\n<p><script async src=\"//platform.twitter.com/widgets.js\" charset=\"utf-8\"></script><br />\n</figure>\n<figure class=\"wp-block-embed\">\n<blockquote data-secret=\"7WaaLdb6HW\" class=\"wp-embedded-content\"><p><a href=\"https://make.wordpress.org/core/2017/01/17/editor-technical-overview/\">Editor Technical Overview</a></p></blockquote>\n<p><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https://make.wordpress.org/core/2017/01/17/editor-technical-overview/embed/#?secret=7WaaLdb6HW\" data-secret=\"7WaaLdb6HW\" width=\"600\" height=\"338\" title=\"&#8220;Editor Technical Overview&#8221; &#8212; Make WordPress Core\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"></iframe><br />\n</figure>\n",
"protected": false
},
"excerpt": {
"rendered": "<p>Of mountains &amp; printing presses</p>\n",
"protected": false
},
"author": 1,
"featured_media": 0,
"comment_status": "open",
"ping_status": "open",
"sticky": false,
"template": "",
"format": "standard",
"meta": [
],
"categories": [
1
],
"tags": [
],
"blocks": [
{
"type": "core/cover-image",
"attributes": {
"url": "https://cldup.com/GCwahb3aOb.jpg",
"align": "full",
"hasParallax": true
},
"content": "\n<section style=\"background-image: url(https://cldup.com/GCwahb3aOb.jpg);\" class=\"wp-block-cover-image has-parallax has-background-dim\">\n <h2>Of mountains &amp; printing presses</h2>\n</section>\n",
"rendered": null
},
{
"type": "core/more",
"attributes": {
"customText": null,
"noTeaser": false
},
"content": "",
"rendered": null
},
{
"type": "core/freeform",
"attributes": null,
"content": "\n<!-- noteaser -->\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>The goal of this new editor is to make adding rich content to WordPress simple and enjoyable. This whole post is composed of <em>pieces of content</em>—somewhat similar to LEGO bricks—that you can move around and interact with. Move your cursor around and you'll notice the different blocks light up with outlines and arrows. Press the arrows to reposition blocks quickly, without fearing about losing things in the process of copying and pasting.</p>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>What you are reading now is a <strong>text block</strong>, the most basic block of all. The text block has its own controls to be moved freely around the post...</p>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": {
"align": "right"
},
"content": "\n<p style=\"text-align: right;\">... like this one, which is right aligned.</p>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>Headings are separate blocks as well, which helps with the outline and organization of your content.</p>\n",
"rendered": null
},
{
"type": "core/heading",
"attributes": null,
"content": "\n<h2>A picture is worth a thousand words, or so the saying goes</h2>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you'll find aspects of adding captions or going full-width with your pictures much easier and robust than before.</p>\n",
"rendered": null
},
{
"type": "core/image",
"attributes": {
"align": "center"
},
"content": "\n<figure class=\"wp-block-image aligncenter\"><img src=\"https://cldup.com/YLYhpou2oq.jpg\" alt=\"Beautiful landscape\" />\n <figcaption>Give it a try. Press the &quot;really wide&quot; button on the image toolbar.</figcaption>\n</figure>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>Try selecting and removing or editing the caption, now you don't have to be careful about selecting the image or other text by mistake and ruining the presentation.</p>\n",
"rendered": null
},
{
"type": "core/heading",
"attributes": null,
"content": "\n<h2>The <em>Inserter</em> Tool</h2>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>Imagine everything that WordPress can do is available to you quickly and in the same place on the interface. No need to figure out HTML tags, classes, or remember complicated shortcode syntax. That's the spirit behind the inserter—the <code>(+)</code> button you'll see around the editor—which allows you to browse all available content blocks and insert them into your post. Plugins and themes are able to register their own, opening up all sort of possibilities for rich editing and publishing.</p>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>Go give it a try, you may discover things WordPress can already insert into your posts that you didn't know about. Here's a short list of what you can currently find there:</p>\n",
"rendered": null
},
{
"type": "core/list",
"attributes": null,
"content": "\n<ul>\n <li>Text &amp; Headings</li>\n <li>Images &amp; Videos</li>\n <li>Galleries</li>\n <li>Embeds, like YouTube, Tweets, or other WordPress posts.</li>\n <li>Layout blocks, like Buttons, Hero Images, Separators, etc.</li>\n <li>And <em>Lists</em> like this one of course :)</li>\n</ul>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>If you want to learn more about how to build additional blocks, or if you are interested in helping with the project, head over to the <a href=\"https://github.com/WordPress/gutenberg\">GitHub repository</a>.</p>\n",
"rendered": null
},
{
"type": "core/button",
"attributes": {
"align": "center"
},
"content": "\n<div class=\"wp-block-button aligncenter\"><a href=\"https://github.com/WordPress/gutenberg\"><span>Help build Gutenberg</span></a></div>\n",
"rendered": null
},
{
"type": "core/separator",
"attributes": null,
"content": "\n<hr class=\"wp-block-separator\" />\n",
"rendered": null
},
{
"type": "core/heading",
"attributes": null,
"content": "\n<h2>Visual Editing</h2>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>A huge benefit of blocks is that you can edit them in place and manipulate your content directly. Instead of having fields for editing things like the source of a quote, or the text of a button, you can directly change the content. Try editing the following quote:</p>\n",
"rendered": null
},
{
"type": "core/quote",
"attributes": null,
"content": "\n<blockquote class=\"wp-block-quote blocks-quote-style-1\">\n <p>The editor will endeavour to create a new page and post building experience that makes writing rich posts effortless, and has “blocks” to make it easy what today might take shortcodes, custom HTML, or “mystery meat” embed discovery.</p>\n <footer>Matt Mullenweg, 2017</footer>\n</blockquote>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>The information corresponding to the source of the quote is a separate text field, similar to captions under images, so the structure of the quote is protected even if you select, modify, or remove the source. It's always easy to add it back.</p>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>Blocks can be anything you need. For instance, you may want to insert a subdued quote as part of the composition of your text, or you may prefer to display a giant stylized one. All of these options are available in the inserter.</p>\n",
"rendered": null
},
{
"type": "core/quote",
"attributes": {
"style": 2
},
"content": "\n<blockquote class=\"wp-block-quote blocks-quote-style-2\">\n <p>There is no greater agony than bearing an untold story inside you.</p>\n <footer>Maya Angelou</footer>\n</blockquote>\n",
"rendered": null
},
{
"type": "core/separator",
"attributes": null,
"content": "\n<hr class=\"wp-block-separator\" />\n",
"rendered": null
},
{
"type": "core/heading",
"attributes": null,
"content": "\n<h2>Sea id autem nominavi deseruisse</h2>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>Ea veniam homero eam. Ex inimicus molestiae cum, debet scaevola at eos. Vis assum veritus ut, has ea nostrud accusata, offendit appareat comprehensam ea pro. Ad quo quem veritus appellantur, te est quas phaedrum, eum alia habeo ad. Ei est erroribus imperdiet, omnis dicam propriae sed no. His vitae oratio fierent ne, cu duo tota eligendi, electram rationibus in qui.</p>\n",
"rendered": null
},
{
"type": "core/image",
"attributes": {
"align": "wide"
},
"content": "\n<figure class=\"wp-block-image alignwide\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"Accessibility is important don't forget image alt attribute\" /></figure>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>Est quis reque cetero ad. Sea id autem nominavi deseruisse. <strong>Veniam qualisque definitionem pri id</strong>, ea autem feugiat delenit ius, mei at loem affert accumsan. Dicat eruditi cu est, te pro dicant pericula conclusionemque, ei vim detracto euripidis intellegam. Eius postea volumus mei ad.</p>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>Prima ridens denique his te, ferri illum volumus an his. Eu vel dicat homero qualisqu, vitae regione deserunt vis ei. Graeci incorrupte liberavisse no mea, saepe voluptaria usu ex, vis dicant euismod id. At dolor reprimique eos, quo altera detraxit moderatius id. Quo iudico utinam eu, ad alia munere mel.</p>\n",
"rendered": null
},
{
"type": "core/code",
"attributes": null,
"content": "\n<pre class=\"wp-block-code\"><code>export default function MyButton() {\nreturn &lt;Button&gt;Click Me!&lt;/Button&gt;;\n}</code></pre>\n",
"rendered": null
},
{
"type": "core/gallery",
"attributes": {
"align": "wide"
},
"content": "\n<div class=\"wp-block-gallery alignwide columns-2 is-cropped\">\n <figure class=\"blocks-gallery-image\"><img src=\"https://cldup.com/GCwahb3aOb.jpg\" alt /></figure>\n <figure class=\"blocks-gallery-image\"><img src=\"https://cldup.com/lUUQPv6w9c.jpg\" alt /></figure>\n</div>\n",
"rendered": null
},
{
"type": "core/preformatted",
"attributes": null,
"content": "\n<pre class=\"wp-block-preformatted\">An old silent pond...<br />A frog jumps into the pond,<br />splash! Silence again.</pre>\n",
"rendered": null
},
{
"type": "core/paragraph",
"attributes": null,
"content": "\n<p>Eu integre accusata prodesset est, <em>sed te impetus gubergren conceptam</em>, ex sed wisi nostrum ocurreret. Esse velit omittantur ius te, alii dissentias ei vis. At sed unum veritus fabellas. Te volutpat appellantur duo. Ad natum fuisset intellegebat eam, causae invidunt usu id, et vis impetus appetere.</p>\n",
"rendered": null
},
{
"type": "core/heading",
"attributes": null,
"content": "\n<h6>Nominavi deseruisse</h6>\n",
"rendered": null
},
{
"type": "core/list",
"attributes": null,
"content": "\n<ul>\n <li>Est quis reque cetero ad</li>\n <li>Sea id autem nominavi deseruisse</li>\n <li>Veniam qualisque definitionem pri id, ea autem feugiat delenit ius, mei at loem affert accumsan</li>\n <li>Dicat eruditi cu est, te pro dicant pericula conclusionemque</li>\n <li>Eius postea volumus mei ad</li>\n</ul>\n",
"rendered": null
},
{
"type": "core/pullquote",
"attributes": null,
"content": "\n<blockquote class=\"wp-block-pullquote alignnone\">\n <p>Code is Poetry</p>\n <footer>The WordPress community</footer>\n</blockquote>\n",
"rendered": null
},
{
"type": "core/separator",
"attributes": null,
"content": "\n<hr class=\"wp-block-separator\" />\n",
"rendered": null
},
{
"type": "core/table",
"attributes": null,
"content": "\n<table class=\"wp-block-table\">\n <thead>\n <tr>\n <th>Version</th>\n <th>Musician</th>\n <th>Date</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th><a href=\"https://wordpress.org/news/2015/12/clifford/\">4.4</a></th>\n <td>Clifford Brown</td>\n <td>December 8, 2015</td>\n </tr>\n <tr class=\"alt\">\n <th><a href=\"https://wordpress.org/news/2016/04/coleman/\">4.5</a></th>\n <td>Coleman Hawkins</td>\n <td>April 12, 2016</td>\n </tr>\n <tr>\n <th><a href=\"https://wordpress.org/news/2016/08/pepper/\">4.6</a></th>\n <td>Pepper Adams</td>\n <td>August 16, 2016</td>\n </tr>\n <tr class=\"alt\">\n <th><a href=\"https://wordpress.org/news/2016/12/vaughan/\">4.7</a></th>\n <td>Sarah Vaughan</td>\n <td>December 6, 2016</td>\n </tr>\n </tbody>\n</table>\n",
"rendered": null
},
{
"type": "core/heading",
"attributes": null,
"content": "\n<h2>All that you can embed!</h2>\n",
"rendered": null
},
{
"type": "core/embed",
"attributes": {
"url": "https://www.youtube.com/watch?v=Nl6U7UotA-M"
},
"content": "\n<figure class=\"wp-block-embed\">\n https://www.youtube.com/watch?v=Nl6U7UotA-M\n <figcaption>State of the Word 2016</figcaption>\n</figure>\n",
"rendered": null
},
{
"type": "core/embed",
"attributes": {
"url": "https://twitter.com/photomatt/status/868657763970404352"
},
"content": "\n<figure class=\"wp-block-embed\">\n https://twitter.com/photomatt/status/868657763970404352\n</figure>\n",
"rendered": null
},
{
"type": "core/embed",
"attributes": {
"url": "https://make.wordpress.org/core/2017/01/17/editor-technical-overview/"
},
"content": "\n<figure class=\"wp-block-embed\">\n https://make.wordpress.org/core/2017/01/17/editor-technical-overview/\n</figure>\n",
"rendered": null
}
]
},
"_links": {
"self": [
{
"href": "http://developwordpress.localhost/wp-json/wp/v2/posts/40018"
}
],
"collection": [
{
"href": "http://developwordpress.localhost/wp-json/wp/v2/posts"
}
],
"about": [
{
"href": "http://developwordpress.localhost/wp-json/wp/v2/types/post"
}
],
"author": [
{
"embeddable": true,
"href": "http://developwordpress.localhost/wp-json/wp/v2/users/1"
}
],
"replies": [
{
"embeddable": true,
"href": "http://developwordpress.localhost/wp-json/wp/v2/comments?post=40018"
}
],
"version-history": [
{
"href": "http://developwordpress.localhost/wp-json/wp/v2/posts/40018/revisions"
}
],
"wp:attachment": [
{
"href": "http://developwordpress.localhost/wp-json/wp/v2/media?parent=40018"
}
],
"wp:term": [
{
"taxonomy": "category",
"embeddable": true,
"href": "http://developwordpress.localhost/wp-json/wp/v2/categories?post=40018"
},
{
"taxonomy": "post_tag",
"embeddable": true,
"href": "http://developwordpress.localhost/wp-json/wp/v2/tags?post=40018"
}
],
"curies": [
{
"name": "wp",
"href": "https://api.w.org/{rel}",
"templated": true
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment