Task API
Task API provides basic means for task management.
Version: 0.0.1
BasePath:/v1
MIT license
https://opensource.org/licenses/MIT
Access
- HTTP Basic Authentication
- HTTP Basic Authentication
[ Jump to Models ]
Table of Contents
Creates task (createTask)
Consumes
This API call consumes the following media types via the request header:
Request body
Return type
Example data
Content-Type: application/json
{
"title" : "Build the spaceship",
"creator" : "John",
"assignee" : "Jane"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
201
Created
Task
Returns a task. (getTask)
Path parameters
taskId (required)
Path Parameter — task identifier default: null
Return type
Example data
Content-Type: application/json
{
"title" : "Build the spaceship",
"creator" : "John",
"assignee" : "Jane"
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
task
Task
Returns a list of tasks. (getTasks)
Query parameters
filter (optional)
Query Parameter — default: null
Return type
Example data
Content-Type: application/json
{
"items" : [ {
"title" : "Build the spaceship",
"creator" : "John",
"assignee" : "Jane"
}, {
"title" : "Colonize Mars",
"creator" : "Jane",
"assignee" : "John"
} ]
}
Produces
This API call produces the following media types according to the request header;
the media type will be conveyed by the response header.
Responses
200
list of tasks
Tasks
[ Jump to Methods ]
Table of Contents
Task
-
Tasks
-
id (optional)
title (optional)
creator (optional)
assignee (optional)