Getting queue versions
Use this request to get information about queue versions. The queue is selected when the ID or key is specified.
GET
https://api.tracker.yandex.net/v3/queues/<queue_ID>/versions
Query format
Before making a request, get permission to access the API.
To get queue versions, use an HTTP GET
request.
GET /v3/queues/<queue_ID>/versions
Host: api.tracker.yandex.net
Authorization: OAuth <OAuth_token>
X-Org-ID or X-Cloud-Org-ID: <organization_ID>
Headers
-
Host
: Address of the node that provides the API. -
Authorization
: Authorization token about these formats:-
OAuth <OAuth_token>
: For authorization using the OAuth 2.0 protocol. Learn more -
Bearer <IAM_token>
: For authorization using an IAM token, if a Yandex Cloud Organization organization is linked to Tracker. Learn more
-
-
X-Org-ID
orX-Cloud-Org-ID
: Organization ID.-
Use the
X-Org-ID
header if a Tracker organization is linked to Yandex 360 for Business. -
Use the
X-Cloud-Org-ID
header if a Tracker organization is linked to Yandex Cloud Organization.
To get the organization ID, go to Administration → Organizations and copy the value from the ID field.
-
Resource
Parameter | Description | Data type |
---|---|---|
<queue_ID> | Queue ID or key. The queue key is case-sensitive. | String or number |
Example: Get
TEST
queue versions.
- HTTP
GET
method is used.GET https://api.tracker.yandex.net/v3/queues/TEST/versions
Response format
If the request is successful, the API returns a response with code 200 OK
.
[
{
"self": "https://api.tracker.yandex.net/v3/versions/49***",
"id": 49***,
"version": 1,
"queue": {
"self": "https://api.tracker.yandex.net/v3/queues/JUNE",
"id": "1928",
"key": "JUNE",
"display": "june"
},
"name": "version1",
"description": "iohb ±!@#$%^&*()_+=-/\\?<>.,/§:»'|;",
"startDate": "2017-06-09",
"dueDate": "20227-06-09",
"released": false,
"archived": false
},
...
]
Response parameters
Parameter | Description | Data type |
---|---|---|
self | Link to the version object | String |
id | Version ID | Number |
version | Version number | Number |
queue | Object with information about the queue | Map item |
name | Version name | String |
description | Text description of the version | String |
startDate | Start date of the queue | String |
dueDate | End date of the queue | String |
released | Flag of the released version | Boolean |
archived | Flag of the archived version | Boolean |
queue
object fields
Parameter | Description | Data type |
---|---|---|
self | Address of the API resource with information about the queue. | String |
id | Queue ID. | String |
key | Queue key. | String |
display | Queue name displayed. | String |
If the request is processed incorrectly, the API returns a response with an error code:
- 404
- The requested object was not found. You may have specified an invalid object ID or key.