Requests - Tags API
List all tags of a request
Section titled “List all tags of a request”List all tags of a request with a specific ID.
GET /requests/:id/tags
Response
Section titled “Response”Status: 200 OK[ { "id": 1, "name": "My Tag" }]Add a tag to a request
Section titled “Add a tag to a request”Add a tag to a request by its name.
POST /requests/:id/tags
Body:
{ "name": "My Tag"}Response
Section titled “Response”Status: 200 OK{ "id": 1, "name": "My Tag"}Remove a tag from a request
Section titled “Remove a tag from a request”Remove the link between a request with a specific ID and a tag with a specific ID.
DELETE /requests/:id/tags/:tag_id
Response
Section titled “Response”Status: 204 No ContentRemove all tags from a request
Section titled “Remove all tags from a request”Remove all links between a request with a specific ID and its tags.
DELETE /requests/:id/tags
Response
Section titled “Response”Status: 204 No Content