Сессии
GET sessions/:id
Запрос возвращает параметры заданной сессии.
Справочная информация о ресурсе:
Точка вызова | https://www.diggernaut.com/api/sessions/:id |
Формат ответа | JSON |
Уровень доступа | Пользователь |
Лимиты | Да |
curl -v -H "Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b" https://www.diggernaut.com/api/sessions/1
HTTP/1.0 200 OK Date: Sat, 20 Aug 2016 20:43:34 GMT Vary: Accept, Accept-Language, Cookie X-Frame-Options: SAMEORIGIN Content-Type: application/json Content-Language: en Allow: GET, HEAD, OPTIONS
{ "id": 1, "digger": 1, "started_at": "2016-07-02T12:52:45.547439Z", "finished_at": "2016-07-02T12:52:49.180299Z", "state": "failure", "runtime": 34, "bandwidth": 1778451.0, "requests": 16, "errors": 1, "items": null, "data_size": 0.0 }