Get list of child tasks
Get a list of child tasks for a given parent task id.
Request
GET
https://courier.yandex.ru/vrs/api/v1/children
Query parameters
Name |
Description |
apikey* |
Type: string API key. |
parent_task_id* |
Type: string Parent task id. |
Responses
200 OK
Operation succeeded.
Body
application/json
[
{
"added_at": 0,
"task_id": "string"
}
]
object[]
400 Bad Request
Apikey does not match the one specified in the task.
Body
application/json
{
"error": {
"incident_id": "string",
"message": "string"
}
}
Name |
Description |
error* |
Type: error_2_error Error description. |
error_2_error
Error description.
Name |
Description |
message* |
Type: string Human-readable error description. |
incident_id |
Type: string Unique identifier of error incident. In case of API error, this identifier can be provided to support for investigation. |
401 Unauthorized
Missing apikey.
Body
application/json
{
"error": {
"incident_id": "string",
"message": "string"
}
}
Name |
Description |
error* |
Type: error_2_error Error description. |
422 Unprocessable Entity
Parent task with a given id not found.
Body
application/json
{
"error": {
"incident_id": "string",
"message": "string"
}
}
Name |
Description |
error* |
Type: error_2_error Error description. |
No longer supported, please use an alternative and newer version.