Browse Source
add curly braces to make json example valid json.
pull/137/head
Paul
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
13 additions and
4 deletions
-
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> |
|
|