Task

post

Create a new task

Body
namestringRequired
tagstringOptional
Responses
200
Success
application/json
Responseall of
post
POST /task HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 28

{
  "name": "text",
  "tag": "text"
}
{
  "name": "text",
  "tag": "text",
  "id": 1
}
get

Return a task based on its ID

Path parameters
idinteger · int64Required

ID of task to get

Responses
200
Success
application/json
Responseall of
get
GET /task/{id} HTTP/1.1
Host: 
Accept: */*
{
  "name": "text",
  "tag": "text",
  "id": 1
}
delete

Delete a task based on ID supplied in path

Path parameters
idinteger · int64Required

ID of task to delete

Responses
204
Task deleted
delete
DELETE /task/{id} HTTP/1.1
Host: 
Accept: */*

No content