Start with Docker
List all tasks
List all tasks
Code |
Description |
200 |
Successful operation |
Update an existing task
Update an existing task with Id
Code |
Description |
200 |
Successful operation |
400 |
Invalid ID supplied |
404 |
Task not found |
Add a new task
Add a new task
Code |
Description |
200 |
Successful operation |
400 |
Invalid input |
Find task by ID
Returns a single task
Name |
Located in |
Description |
Required |
Schema |
taskId |
path |
ID of task to return |
Yes |
long |
Code |
Description |
200 |
successful operation |
400 |
Invalid ID supplied |
403 |
Unauthorized |
404 |
Task not found |
Deletes a task
delete a task
Name |
Located in |
Description |
Required |
Schema |
taskId |
path |
Task id to delete |
Yes |
long |
Code |
Description |
400 |
Invalid task value |
403 |
Unauthorized |
List all tasks
List all tasks
Code |
Description |
200 |
Successful operation |
401 |
Unauthorized |
Security Schema |
Scopes |
jwtAuth |
|
Update an existing task
Update an existing task by Id
Code |
Description |
200 |
Successful operation |
400 |
Invalid ID supplied |
401 |
Unauthorized |
404 |
Task not found |
Security Schema |
Scopes |
jwtAuth |
|
Add a new task
Add a new task
Code |
Description |
200 |
Successful operation |
400 |
Invalid input |
401 |
Unauthorized |
Security Schema |
Scopes |
jwtAuth |
|
/auth/cookie/task/{taskId}
Find task by ID
Returns a single task
Name |
Located in |
Description |
Required |
Schema |
taskId |
path |
ID of task to return |
Yes |
long |
Code |
Description |
200 |
successful operation |
400 |
Invalid ID supplied |
401 |
Unauthorized |
404 |
Task not found |
Security Schema |
Scopes |
jwtAuth |
|
Deletes a task
delete a task
Name |
Located in |
Description |
Required |
Schema |
taskId |
path |
Task id to delete |
Yes |
long |
Code |
Description |
400 |
Invalid task value |
401 |
Unauthorized |
Security Schema |
Scopes |
jwtAuth |
|
Logs user into the system
Code |
Description |
200 |
successful operation |
400 |
Invalid email/password supplied |
Security Schema |
Scopes |
jwtAuth |
|
Returns the email when logged in
Code |
Description |
200 |
successful operation |
401 |
Unauthorized |
Security Schema |
Scopes |
jwtAuth |
|
Logs out current logged in user session
Name |
Located in |
Description |
Required |
Schema |
Code |
Description |
default |
successful operation |
List all tasks
List all tasks
Code |
Description |
200 |
Successful operation |
401 |
Unauthorized |
Security Schema |
Scopes |
jwtAuth |
|
Update an existing task
Update an existing task by Id
Code |
Description |
200 |
Successful operation |
400 |
Invalid ID supplied |
401 |
Unauthorized |
404 |
Task not found |
Security Schema |
Scopes |
jwtAuth |
|
Add a new task
Add a new task
Code |
Description |
200 |
Successful operation |
400 |
Invalid input |
401 |
Unauthorized |
Security Schema |
Scopes |
jwtAuth |
|
Find task by ID
Returns a single task
Name |
Located in |
Description |
Required |
Schema |
taskId |
path |
ID of task to return |
Yes |
long |
Code |
Description |
200 |
successful operation |
400 |
Invalid ID supplied |
401 |
Unauthorized |
404 |
Task not found |
Security Schema |
Scopes |
jwtAuth |
|
Deletes a task
delete a task
Name |
Located in |
Description |
Required |
Schema |
taskId |
path |
Task id to delete |
Yes |
long |
Code |
Description |
400 |
Invalid task value |
401 |
Unauthorized |
Security Schema |
Scopes |
jwtAuth |
|
Generates jwt token
Code |
Description |
200 |
successful operation |
400 |
Invalid email/password supplied |
Returns the email when token is valid
Code |
Description |
200 |
successful operation |
401 |
Unauthorized |
Name |
Type |
Description |
Required |
id |
integer |
Example: 10 |
No |
completed |
boolean |
Example: false |
No |
title |
string |
Example: "Feed pets" |
No |