From b7b3154fb900489c48b9f2a0db74b13357bf04a3 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Tue, 18 Sep 2018 12:36:24 +0300 Subject: [PATCH] Updated REST API Boards (markdown) --- REST-API-Boards.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/REST-API-Boards.md b/REST-API-Boards.md index c7ba658..82a93a1 100644 --- a/REST-API-Boards.md +++ b/REST-API-Boards.md @@ -3,7 +3,16 @@ curl -H "Authorization: Bearer a6DM_gOPRwBdynfXaGBaiiEwTiAuigR_Fj_81QmNpnf" \ http://localhost:3000/api/users/XQMZgynx9M79qTtQc/boards ``` - +## Add user to board +TODO: +``` +curl PUT http://localhost:3000/api/users/XQMZgynx9M79qTtQc/boards .... +``` +## Add user to board +TODO: +``` +curl DELETE http://localhost:3000/api/users/XQMZgynx9M79qTtQc/boards .... +``` ## The admin takes the ownership of ALL boards of the user (archived and not archived) where the user is admin on. | URL | Requires Admin Auth | HTTP Method |