Sign up
POST /signup
{
"name": "My Super User",
"username": "mysuser",
"password": "password"
}
All the below services need to be authenticated with above created user credentials. Use Basic Authentication and provide username & password in Postman
Test Service
GET /hello => "hello"
Create Todo
POST /todo
{
"description": "Dummy Task",
"priority": "High",
"status": "Pending",
"completionDate": "17-Apr-2020"
}
Update Todo
PUT /todo/{id}
{
"description": "Real Task",
"priority": "High",
"status": "Completed",
"completionDate": "16-Apr-2020"
}
Delete Todo
DELETE /todo/{id}
Query Todo
GET /todo/{id} => Optional<Todo>
GET /todo
Query Params:
priority=[high|medium|low] &
status=[pending|completed] &
date=[DDMMYYYY] &
orderby_key=[priority|status|completionDate]
=> List<Todo>
List all Users
GET /users => List<User>