Browse Source

add curly braces to make json example valid json.

pull/137/head
Paul 4 years ago
committed by GitHub
parent
commit
e0ac1dd815
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      views/docs/editor.php

15
views/docs/editor.php

@ -43,12 +43,21 @@ Authorization: Bearer XXXXXXXXXXX
{ {
"type": "h-entry", "type": "h-entry",
"properties": { "properties": {
"name": ["Post Title"],
"name": [
"Post Title"
],
"content": [ "content": [
{
"html": "<p>The HTML contents of your post from the editor</p>" "html": "<p>The HTML contents of your post from the editor</p>"
}
],
"mp-slug": [
"slug"
], ],
"mp-slug": ["slug"],
"category": ["foo","bar"]
"category": [
"foo",
"bar"
]
} }
} }
</pre> </pre>

Loading…
Cancel
Save