Projects
GET projects/:id/diggers
The request gets list of diggers for specified projects.
Reference information about the resource:
API Endpoint | https://www.diggernaut.com/api/projects/:id/diggers |
Response Format | JSON |
Access level | User |
Limits | Yes |
curl -v -H "Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b" https://www.diggernaut.com/api/projects/1/diggers
HTTP/1.0 200 OK Date: Fri, 19 Aug 2016 16:22:15 GMT Vary: Accept, Accept-Language, Cookie X-Frame-Options: SAMEORIGIN Content-Type: application/json Content-Language: en Allow: GET, 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 } } ]
Now let's learn about methods designed to work with diggers.