diff options
Diffstat (limited to 'Platform.md')
-rw-r--r-- | Platform.md | 44 |
1 files changed, 43 insertions, 1 deletions
diff --git a/Platform.md b/Platform.md index 5932ea5..0adef9a 100644 --- a/Platform.md +++ b/Platform.md @@ -1,6 +1,6 @@ # Group Platform -## Platform Collection [/api/platform{?name}] +## Platform Collection [/api/platform{?name}/] ### List all Platforms [GET] @@ -68,6 +68,48 @@ "name": "win", } +### Patch a Platform [PATCH] + ++ Request (application/json) + + + Headers + + Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ== + + + Body + + { + "name": "ios", + } + ++ Response 200 (application/json) + + { + "id": 1, + "name": "ios", + } + +### Update a Platform [PUT] + ++ Request (application/json) + + + Headers + + Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ== + + + Body + + { + "name": "ios", + } + ++ Response 200 (application/json) + + { + "id": 1, + "name": "ios", + } + ### Remove a Platform [DELETE] + Request |