Diggers

PUT/PATCH diggers/:id/config

The request replaces the configuration of the digger with the one sent in the parameter.

Reference information about the resource:

API Endpoint https://www.diggernaut.com/api/diggers/:id/config
Request Format JSON
Response Format JSON
Access Level User
Limits Yes

Request parameters:

config Digger configuration [string].
                    curl -v -X PUT -H "Content-type: application/json" -H "Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b" https://www.diggernaut.com/api/diggers/1/config -d '{"config":"---\ndo:\n- walk:\n to: https://www.air4.zone\n do:\n - find:\n path: div.content\n do:\n - parse\n"}'
                    
                    HTTP/1.0 200 OK
Date: Fri, 19 Aug 2016 18:24:49 GMT
Vary: Accept, Accept-Language, Cookie
X-Frame-Options: SAMEORIGIN
Content-Type: application/json
Content-Language: en
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
                    {
    "config": "---\ndo:\n- walk:\n to: https://www.air4.zone\n do:\n - find:\n path: div.content\n do:\n - parse\n",
}