Added an endpoint to update a team <-> list relation
This commit is contained in:
parent
5e8597699d
commit
aa40ab8eed
4 changed files with 33 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ Authorization: Bearer {{auth_token}}
|
|||
###
|
||||
|
||||
# Give a team access to that list
|
||||
PUT http://localhost:8080/api/v1/lists/10/teams
|
||||
PUT http://localhost:8080/api/v1/lists/1/teams
|
||||
Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
|
|
@ -49,6 +49,15 @@ Content-Type: application/json
|
|||
|
||||
###
|
||||
|
||||
# Update a teams access to that list
|
||||
POST http://localhost:8080/api/v1/lists/1/teams/2
|
||||
Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{"right": 0}
|
||||
|
||||
###
|
||||
|
||||
# Delete a team from a list
|
||||
DELETE http://localhost:8080/api/v1/lists/10235/teams/1
|
||||
Authorization: Bearer {{auth_token}}
|
||||
|
|
|
|||
Reference in a new issue