Projects
PATCH projects/:id
The request updates only the passed fields for the specified project.
Reference information about the resource:
| API Endpoint | https://www.diggernaut.com/api/projects/:id |
| Request Format | JSON |
| Response Format | JSON |
| Access level | User |
| Limits | Yes |
curl -v -X PATCH -H "Content-Type: application/json" -H "Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b" https://www.diggernaut.com/api/projects/1 -d '{"name":"US Airlanes"}'
HTTP/1.0 200 OK
Date: Fri, 19 Aug 2016 16:00:17 GMT
Vary: Accept, Accept-Language, Cookie
X-Frame-Options: SAMEORIGIN
Content-Type: application/json
Content-Language: en
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
{
"id": 1,
"name": "US Airlines",
"description": "Airlines chart data"
}