1
0

Improve label handling (#48)

This commit is contained in:
konrad
2019-01-09 23:08:12 +00:00
committed by Gitea
parent 364a172876
commit 318920fe29
16 changed files with 515 additions and 90 deletions

View File

@ -53,4 +53,18 @@ Content-Type: application/json
DELETE http://localhost:8080/api/v1/tasks/3565/labels/1
Authorization: Bearer {{auth_token}}
###
# Add a new label to a task
POST http://localhost:8080/api/v1/tasks/3565/labels/bulk
Authorization: Bearer {{auth_token}}
Content-Type: application/json
{
"labels": [
{"id": 1},
{"id": 2},
{"id": 3}
]
}
###

View File

@ -135,10 +135,9 @@ Authorization: Bearer {{auth_token}}
Content-Type: application/json
{
"assignees": [
{
"id": 1
}
"labels": [
{"id": 1},
{"id": 2}
]
}