Added methods to give users access to a list

This commit is contained in:
konrad 2018-08-30 08:58:09 +02:00 committed by kolaente
parent d31f16aff1
commit b1c3e92f66
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
10 changed files with 185 additions and 0 deletions

View file

@ -25,3 +25,17 @@ Authorization: Bearer {{auth_token}}
###
# Get all users who have access to that list
GET http://localhost:8080/api/v1/lists/10/users
Authorization: Bearer {{auth_token}}
###
# Give a user access to that list
PUT http://localhost:8080/api/v1/lists/1/users
Authorization: Bearer {{auth_token}}
Content-Type: application/json
{"user_id":2, "right": 5}
###