1
0

Assignees optimizations (#47)

This commit is contained in:
konrad
2019-01-08 19:13:07 +00:00
committed by Gitea
parent 31c39388f1
commit 364a172876
11 changed files with 921 additions and 108 deletions

View File

@ -130,13 +130,17 @@ GET http://localhost:8080/api/v1/tasks/caldav
###
# Update a task
POST http://localhost:8080/api/v1/tasks/1
POST http://localhost:8080/api/v1/tasks/3565
Authorization: Bearer {{auth_token}}
Content-Type: application/json
{"assignees":[
{"id": 1}
]}
{
"assignees": [
{
"id": 1
}
]
}
###
@ -151,3 +155,21 @@ Content-Type: application/json
}
###
# Get all assignees
GET http://localhost:8080/api/v1/tasks/3565/assignees
Authorization: Bearer {{auth_token}}
###
# Add a bunch of assignees
PUT http://localhost:8080/api/v1/tasks/3565/assignees/bulk
Authorization: Bearer {{auth_token}}
Content-Type: application/json
{
"assignees": [
{"id": 17}
]
}
###