Assignees optimizations (#47)
This commit is contained in:
@ -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}
|
||||
]
|
||||
}
|
||||
|
||||
###
|
||||
|
Reference in New Issue
Block a user