Browse Source

add curly braces to make json example valid json.

pull/137/head
Paul 5 months ago
committed by GitHub
parent
commit
e0ac1dd815
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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",
"properties": {
"name": ["Post Title"],
"name": [
"Post Title"
],
"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>

Loading…
Cancel
Save