Внешнее APIСправочник методовКампании

Список кампаний

Список кампаний

GET
/api/external/v1/robots/{robot_id}/sessions/

Список кампаний

Authorization

tokenAuth
Authorization<token>

Token-based authentication with required prefix "Token"

In: header

Path Parameters

robot_id*string

Robot ID

Formatuuid

Query Parameters

page?integer

A page number within the paginated result set.

page_size?integer

Number of results to return per page.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/external/v1/robots/497f6eca-6276-4993-bfeb-53cbbbba6f08/sessions/"
{  "count": 123,  "next": "http://api.example.org/accounts/?page=4",  "previous": "http://api.example.org/accounts/?page=2",  "results": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "name": "string",      "status": "CREATED",      "start_time": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "size": -2147483648,      "completed_calls_count": -2147483648,      "stopped_calls_count": -2147483648,      "deleted_calls_count": -2147483648,      "error_text": "string"    }  ]}