Диггеры

GET diggers

Запрос позволяет получить список диггеров для авторизованного пользователя.

Справочная информация о ресурсе:

Точка вызова https://www.diggernaut.com/api/diggers/
Формат ответа JSON
Уровень доступа Пользователь
Лимиты Да
                    curl -v -H "Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b" https://www.diggernaut.com/api/diggers/
                    
                    HTTP/1.0 200 OK
Date: Fri, 19 Aug 2016 17:36:48 GMT
Vary: Accept, Accept-Language, Cookie
X-Frame-Options: SAMEORIGIN
Content-Type: application/json
Content-Language: en
Allow: GET, POST, HEAD, OPTIONS
                    [    
    {
        "id": 1,
        "name": "First Digger",
        "project": 1,
        "url": "http://air.zone",
        "status": "active",
        "schedule_from": "2016-05-15T15:12:46.702729Z",
        "schedule_to": "2017-05-15T15:12:46.702729Z",
        "bandwidth": 1470387363.0,
        "calls": 8,
        "requests": 14070,
        "last_session":
            {
                "id": 10,
                "digger": 1,
                "started_at": "2016-05-22T23:51:46.648725Z",
                "finished_at": null,
                "state": "failure",
                "runtime": 268,
                "bandwidth": 42813167.0,
                "requests": 404,
                "errors": 1,
                "items": null,
                "data_size": 0.0
            }
    },
    {
        "id": 2,
        "name": "Second Digger",
        "project": 1,
        "url": "http://air2.zone",
        "status": "active",
        "schedule_from": null,
        "schedule_to": null,
        "bandwidth": 140387363.0,
        "calls": 12,
        "requests": 1470,
        "last_session":
            {
                "id": 14,
                "digger": 2,
                "started_at": "2016-08-10T20:26:44.315361Z",
                "finished_at": "2016-08-10T20:26:54.129991Z",
                "state": "success",
                "runtime": 598
                "bandwidth": 42813167.0,
                "requests": 404,
                "errors": 0,
                "items": 10,
                "data_size": 134877.0
            }
    }
]