Fix JSON syntax in Friendica API doc

This commit is contained in:
Hypolite Petovan 2019-12-10 07:54:11 -05:00
parent e1ba53fec3
commit 9e41488c40

View File

@ -435,7 +435,7 @@ json:
```json ```json
{ {
"id": "photo id" "id": "photo id",
"created": "date(YYYY-MM-DD HH:MM:SS)", "created": "date(YYYY-MM-DD HH:MM:SS)",
"edited": "date(YYYY-MM-DD HH:MM:SS)", "edited": "date(YYYY-MM-DD HH:MM:SS)",
"title": "photo title", "title": "photo title",
@ -447,7 +447,7 @@ json:
"width": "number", "width": "number",
"profile": "1 if is profile photo", "profile": "1 if is profile photo",
"link": { "link": {
"<scale>": "url to image" "<scale>": "url to image",
... ...
}, },
// if 'scale' is set // if 'scale' is set
@ -489,11 +489,11 @@ json:
```json ```json
[ [
{ {
id: "resource_id", "id": "resource_id",
album: "album name", "album": "album name",
filename: "original file name", "filename": "original file name",
type: "image mime type", "type": "image mime type",
thumb: "url to thumb sized image" "thumb": "url to thumb sized image"
}, },
... ...
] ]