Browse Source

add curly braces to make json example valid json.

pull/146/merge
Paul 3 years ago
committed by Aaron Parecki
parent
commit
491b7d36a0
1 changed files with 13 additions and 4 deletions
  1. +13
    -4
      views/docs/editor.php

+ 13
- 4
views/docs/editor.php View File

@ -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