EN

Basic Queries

Get list of labels

Query:
GET /api/v1/labels
Answer:
Array of all project labels

Get information about one label

Query:
GET /api/v1/labels/:id
Answer:
Representation of label in JSON format

Create a new label

In the body of the request to create a new label, specify its representation in JSON format. JSON format.
Required fields:
  • name - name of the new label.
Request:
POST /api/v1/labels
{
  "name": "👩 Emma White",
  "value": "381763724",
  "link": "https://vk.com/emma",
  "description": "Card ID 381763724"
}
Answer:
Representation of label in JSON format

Change label

In the body of the request to modify an existing label, specify the fields you want to update. should be updated.
Request:
PATCH /api/v1/labels/:id
{
  "value": "381763725",
  "link": "",
  "description": "Card ID 381763725"
}
Answer:
Representation of label in JSON format with modified fields

Delete label

Request:
DELETE /api/v1/labels/:id
Answer:
JSON representation of a remote label