I'm trying to document the API here. This will change often.
GET /projects/example/active
[
{"id": "123",
"priority": 0 to 3,
"description": "string",
"details": "a longer string",
"status": "[todo,current,done]",
"due": "2015-10-30T23:01:47Z",
"assignee": "[userid? for future use.]"}
]
POST /projects/example/create
[
{"description": "string",
"priority": 2,
"details": "a longer string",
"status": "[todo,current,done]",
"due": "2015-10-30T23:01:47Z",
"assignee": "[userid? for future use.]"}
]
(returns the database - like .../active)
POST /projects/example/123
[
{"description": "string",
"priority": 2,
"details": "a longer string",
"status": "[todo,current,done]",
"due": "2015-10-30T23:01:47Z",
"assignee": "[userid? for future use.]"}
]
(returns the database - like .../active)
Everything above this line is implemented.
GET /projects
["example"]
POST /projects/example{"description": "blah"}
{"status": "[unchanged|created|success|failed]"}
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.