From 14d90e2ff2e007ede3504e650ae870f4a5021f1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20R=C3=B6hrl?= Date: Mon, 7 Sep 2020 14:11:35 +0200 Subject: [PATCH] format json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakob Röhrl --- docs/API.md | 79 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 70 insertions(+), 9 deletions(-) diff --git a/docs/API.md b/docs/API.md index 02e0c8ed6..8e78d566c 100644 --- a/docs/API.md +++ b/docs/API.md @@ -505,15 +505,76 @@ The board list endpoint supports setting an `If-Modified-Since` header to limit It will return an object of the new stack containing the new cards as well. ```json - {"title":"l1 (copy)", - "boardId":6, - "deletedAt":0, - "lastModified":0, - "cards": - [{"title":"ME","description":"123","stackId":73,"type":"plain","lastModified":1599028559,"lastEditor":null,"createdAt":1599028559,"labels":[],"assignedUsers":[],"attachments":null,"attachmentCount":0,"owner":{"primaryKey":"root","uid":"root","displayname":"root","type":0},"order":0,"archived":false,"duedate":null,"deletedAt":0,"commentsUnread":0,"id":109,"overdue":0}, - {"title":"ka","description":"","stackId":73,"type":"plain","lastModified":1599028559,"lastEditor":null,"createdAt":1599028559,"labels":[],"assignedUsers":[],"attachments":null,"attachmentCount":0,"owner":{"primaryKey":"root","uid":"root","displayname":"root","type":0},"order":1,"archived":false,"duedate":"2020-08-26T22:00:00+00:00","deletedAt":0,"commentsUnread":0,"id":110,"overdue":3}], - "order":999, - "id":73} +{ + "title":"l1 (copy)", + "boardId":6, + "deletedAt":0, + "lastModified":0, + "cards":[ + { + "title":"ME", + "description":"123", + "stackId":73, + "type":"plain", + "lastModified":1599028559, + "lastEditor":null, + "createdAt":1599028559, + "labels":[ + + ], + "assignedUsers":[ + + ], + "attachments":null, + "attachmentCount":0, + "owner":{ + "primaryKey":"root", + "uid":"root", + "displayname":"root", + "type":0 + }, + "order":0, + "archived":false, + "duedate":null, + "deletedAt":0, + "commentsUnread":0, + "id":109, + "overdue":0 + }, + { + "title":"ka", + "description":"", + "stackId":73, + "type":"plain", + "lastModified":1599028559, + "lastEditor":null, + "createdAt":1599028559, + "labels":[ + + ], + "assignedUsers":[ + + ], + "attachments":null, + "attachmentCount":0, + "owner":{ + "primaryKey":"root", + "uid":"root", + "displayname":"root", + "type":0 + }, + "order":1, + "archived":false, + "duedate":"2020-08-26T22:00:00+00:00", + "deletedAt":0, + "commentsUnread":0, + "id":110, + "overdue":3 + } + ], + "order":999, + "id":73 +} ``` ##### 200 Success