Перейти к содержимому
R-Service R-Service
Руководство разработчика RR Tech Service Management

Requests - Tags API

Эта документация пока недоступна на вашем языке, поэтому показана английская версия.

List all tags of a request with a specific ID.

GET /requests/:id/tags

Status: 200 OK
[
{
"id": 1,
"name": "My Tag"
}
]

Add a tag to a request by its name.

POST /requests/:id/tags

Body:

{
"name": "My Tag"
}
Status: 200 OK
{
"id": 1,
"name": "My Tag"
}

Remove the link between a request with a specific ID and a tag with a specific ID.

DELETE /requests/:id/tags/:tag_id

Status: 204 No Content

Remove all links between a request with a specific ID and its tags.

DELETE /requests/:id/tags

Status: 204 No Content