Diggers
GET diggers/:id/stop
The request sends a command to stop the running digger.
Reference information about the resource:
API Endpoint | https://www.diggernaut.com/api/diggers/:id/stop |
Response Format | JSON |
Access Level | User |
Limits | Yes |
curl -v -H "Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b" https://www.diggernaut.com/api/diggers/1/stop
HTTP/1.0 200 OK Date: Fri, 19 Aug 2016 17:36:48 GMT Server: WSGIServer/0.1 Python/2.7.12 Vary: Accept, Accept-Language, Cookie X-Frame-Options: SAMEORIGIN Content-Type: application/json Content-Language: en Allow: GET, PUT, PATCH, HEAD, OPTIONS
{ "Status": "Digger has been scheduled for stop" }