Projects
POST projects
The request creates a new project for the authorized user account.
Reference information about the resource:
API Endpoint | https://www.diggernaut.com/api/projects/ |
Request Format | JSON |
Response Format | JSON |
Access Level | User |
Limits | Yes |
Request parameters:
name | Project name [string] |
description | Description [string]. Optional. |
curl -v -X POST -H "Content-Type: application/json" -H "Authorization: Token 9944b09199c62bcf9418ad846dd0e4bbdfc6ee4b" https://www.diggernaut.com/api/projects/ -d '{"name":"Robots"}'
HTTP/1.0 201 Created Date: Fri, 19 Aug 2016 15:47:24 GMT Vary: Accept, Accept-Language, Cookie X-Frame-Options: SAMEORIGIN Content-Type: application/json Content-Language: en Allow: GET, POST, HEAD, OPTIONS
{ "id": 2, "name": "Robots", "description": null }