Improve label handling (#48)
This commit is contained in:
@ -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}
|
||||
]
|
||||
}
|
||||
|
||||
###
|
@ -135,10 +135,9 @@ Authorization: Bearer {{auth_token}}
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"assignees": [
|
||||
{
|
||||
"id": 1
|
||||
}
|
||||
"labels": [
|
||||
{"id": 1},
|
||||
{"id": 2}
|
||||
]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user