From 9e41488c40737d0615908c49f82157d851d5d22d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 10 Dec 2019 07:54:11 -0500 Subject: [PATCH] Fix JSON syntax in Friendica API doc --- doc/API-Friendica.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/API-Friendica.md b/doc/API-Friendica.md index 2e33a887d..76440600c 100644 --- a/doc/API-Friendica.md +++ b/doc/API-Friendica.md @@ -435,7 +435,7 @@ json: ```json { - "id": "photo id" + "id": "photo id", "created": "date(YYYY-MM-DD HH:MM:SS)", "edited": "date(YYYY-MM-DD HH:MM:SS)", "title": "photo title", @@ -447,7 +447,7 @@ json: "width": "number", "profile": "1 if is profile photo", "link": { - "": "url to image" + "": "url to image", ... }, // if 'scale' is set @@ -489,11 +489,11 @@ json: ```json [ { - id: "resource_id", - album: "album name", - filename: "original file name", - type: "image mime type", - thumb: "url to thumb sized image" + "id": "resource_id", + "album": "album name", + "filename": "original file name", + "type": "image mime type", + "thumb": "url to thumb sized image" }, ... ]