Get priorities

Use this request to get a list of priorities for an issue.

Request format

To get a list of priorities, use an HTTP GET request:

GET /v2/priorities?
localized=<true/false>
Host: https://api.tracker.yandex.net
Authorization: OAuth <OAuth token>
X-Org-Id: <organization ID>
Request parameters
localized
Whether there are translations in the response. Possible values:
  • true — The response contains priority descriptions only in the user's language. Default value.
  • false — The response contains priority descriptions in all languages.

Requesting priorities:

  • Uses the HTTP GET method.

GET /v2/priorities HTTP/1.1
Host: https://api.tracker.yandex.net
Authorization: OAuth <OAuth token>
X-Org-Id: <organization ID>
Cache-Control: no-cache

Response format

[
    {
        "self": "https://api.tracker.yandex.net/v2/priorities/5",
        "id": 5,
        "key": "blocker",
        "version": 1341632717561,
        "name": "Blocker",
        "order": 5
    },
    ...
]
Response parameters
Parameter Description Data type
self

Reference to the object.

String.

id

Priority ID.

Integer.

key

Priority key.

String.

version

Priority version.

Integer.

name

Display name of the priority. When localized=false is passed in the request, this parameter contains duplicates of the names in other languages.

String.

order

The weight of the priority. This parameter affects the order for displaying the priority in the interface.

Integer.

Parameter Description Data type
self

Reference to the object.

String.

id

Priority ID.

Integer.

key

Priority key.

String.

version

Priority version.

Integer.

name

Display name of the priority. When localized=false is passed in the request, this parameter contains duplicates of the names in other languages.

String.

order

The weight of the priority. This parameter affects the order for displaying the priority in the interface.

Integer.

Possible response codes

200
The request was successful.