Header name | Description |
---|---|
Content-Type required |
application/json |
X-API-KEY required |
YOUR_API_KEY |
// Successful request POST /api/v2/collections/fgVAOSO3BkzNe_SG78u2/users/15 200 { "ok": "User 15 was added succesfully" }
// User is already added POST /api/v2/collections/bfklNyRN3AooTU-6V65z/users/17 400 { "error": "User is already member of this Collection" }
// If :collection_id is not found POST /api/v2/collections/not-found-id/users/18 404 { "error": "collection not found" }
// If :user_id is not found POST /api/v2/collections/sCFJJLvA4B-xg9vLMWoX/users/not-found-id 404 { "error": "Couldn't find User with 'id'=not-found-id" }
Code | Description |
---|---|
401 | Unauthorized |
404 | Not found |
500 | Internal Server Error |
422 | Missing parameters |