Download OpenAPI specification:Download
Api description for TodoApp
| provider required | string Value: "google" The name of the used identity provider |
The login response
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "apiKey": "The apiKey"
}The request was executed, but no data is available
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "code": 100401,
- "message": "There was an error"
}Gets the current user
Single user
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "id": "3fa85f64-2222-4562-b3fc-2c963f66afa6",
- "username": "string",
- "email": "user@example.com",
- "userStatus": 0,
- "apiKeys": [
- {
- "name": "Created during login for frontend",
- "createDate": "2021-06-20T12:54:33Z",
- "key": "The apiKey"
}
]
}write:todos) The new todo object
| title | string |
| description | string |
| url | string |
| status | string Enum: "open" "scheduled" "completed" "deleted" current status |
| dueDate | string <date-time> |
| createDate | string <date-time> |
Single todo
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "title": "Bring carrots",
- "description": "More detailed description and additional notes",
- "status": "open",
- "dueDate": "2021-06-20T12:54:33Z",
- "createDate": "2021-06-20T12:54:33Z"
}{- "id": "3fa85f64-0000-4562-b3fc-2c963f66afa6",
- "title": "Bring carrots",
- "description": "More detailed description and additional notes",
- "status": "open",
- "dueDate": "2021-06-20T12:54:33Z",
- "createDate": "2021-06-20T12:54:33Z"
}| status | Array of strings Items Enum: "open" "scheduled" "completed" "deleted" Status values that need to be considered for filter |
List of todos
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
[- {
- "id": "3fa85f64-0000-4562-b3fc-2c963f66afa6",
- "title": "Bring carrots",
- "description": "More detailed description and additional notes",
- "status": "open",
- "dueDate": "2021-06-20T12:54:33Z",
- "createDate": "2021-06-20T12:54:33Z"
}
]Returns a single todo
| todoId required | string <uuid> Example: 3fa85f64-0000-4562-b3fc-2c963f66afa6 ID of todo |
Single todo
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "id": "3fa85f64-0000-4562-b3fc-2c963f66afa6",
- "title": "Bring carrots",
- "description": "More detailed description and additional notes",
- "status": "open",
- "dueDate": "2021-06-20T12:54:33Z",
- "createDate": "2021-06-20T12:54:33Z"
}| todoId required | string <uuid> Example: 3fa85f64-0000-4562-b3fc-2c963f66afa6 ID of todo |
The request was executed, but no data is available
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "code": 100401,
- "message": "There was an error"
}| todoId required | string <uuid> Example: 3fa85f64-0000-4562-b3fc-2c963f66afa6 ID of todo |
| title | string |
| description | string |
| url | string |
| status | string Enum: "open" "scheduled" "completed" "deleted" current status |
| dueDate | string <date-time> |
| createDate | string <date-time> |
Single todo
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "title": "Bring carrots",
- "description": "More detailed description and additional notes",
- "status": "open",
- "dueDate": "2021-06-20T12:54:33Z",
- "createDate": "2021-06-20T12:54:33Z"
}{- "id": "3fa85f64-0000-4562-b3fc-2c963f66afa6",
- "title": "Bring carrots",
- "description": "More detailed description and additional notes",
- "status": "open",
- "dueDate": "2021-06-20T12:54:33Z",
- "createDate": "2021-06-20T12:54:33Z"
}Returns a single todo
| todoId required | string <uuid> Example: 3fa85f64-0000-4562-b3fc-2c963f66afa6 ID of todo |
If left empty, the tag is moved to the end
| beforeTodo | string <uuid> |
The request was executed, but no data is available
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "beforeTodo": "3fa85f64-0000-4562-b3fc-2c963f66afa6"
}{- "code": 100401,
- "message": "There was an error"
}Operations about tags Tags exist to organize the todos into groups
Get all tags
List of tags
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
[- {
- "id": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "name": "Groceries",
- "priority": 0
}
]Add a new tag
| name | string |
| priority | integer <int64> |
Single tag
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "name": "Groceries",
- "priority": 0
}{- "id": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "name": "Groceries",
- "priority": 0
}Get Tag information
| tagId required | string <uuid> Example: 3fa85f64-1111-4562-b3fc-2c963f66afa6 The tag id |
Single tag
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "id": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "name": "Groceries",
- "priority": 0
}Delete a tag
| tagId required | string <uuid> Example: 3fa85f64-1111-4562-b3fc-2c963f66afa6 The tag id |
The request was executed, but no data is available
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "code": 100401,
- "message": "There was an error"
}| tagId required | string <uuid> Example: 3fa85f64-1111-4562-b3fc-2c963f66afa6 The tag id |
| name | string |
| priority | integer <int64> |
Single tag
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "name": "Groceries",
- "priority": 0
}{- "id": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "name": "Groceries",
- "priority": 0
}Change the position of the tag {tagId}
| tagId required | string <uuid> Example: 3fa85f64-1111-4562-b3fc-2c963f66afa6 The tag id |
If left empty, the tag is moved to the end
| beforeTag | string <uuid> |
The request was executed, but no data is available
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "beforeTag": "3fa85f64-1111-4562-b3fc-2c963f66afa6"
}{- "code": 100401,
- "message": "There was an error"
}Get all links
List of TagTodoLink
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
[- {
- "id": "3fa85f64-3333-4562-b3fc-2c963f66afa6",
- "todoId": "3fa85f64-0000-4562-b3fc-2c963f66afa6",
- "tagId": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "priority": 0
}
]Get all links for a tag
| tagId required | string <uuid> Example: 3fa85f64-1111-4562-b3fc-2c963f66afa6 The tag id |
List of TagTodoLink
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
[- {
- "id": "3fa85f64-3333-4562-b3fc-2c963f66afa6",
- "todoId": "3fa85f64-0000-4562-b3fc-2c963f66afa6",
- "tagId": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "priority": 0
}
]Get the link
| tagId required | string <uuid> Example: 3fa85f64-1111-4562-b3fc-2c963f66afa6 The tag id |
| todoId required | string <uuid> Example: 3fa85f64-0000-4562-b3fc-2c963f66afa6 The todo id |
Single link between a tag and a todo
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "id": "3fa85f64-3333-4562-b3fc-2c963f66afa6",
- "todoId": "3fa85f64-0000-4562-b3fc-2c963f66afa6",
- "tagId": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "priority": 0
}Link a {todoId} within a tag {tagId}
| tagId required | string <uuid> Example: 3fa85f64-1111-4562-b3fc-2c963f66afa6 The tag id |
| todoId required | string <uuid> Example: 3fa85f64-0000-4562-b3fc-2c963f66afa6 The todo id |
If left empty, the todo has the lowest priority
| todoId required | string <uuid> |
| tagId required | string <uuid> |
| priority | integer <int64> Internal field used for positioning |
Single tag
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "todoId": "3fa85f64-0000-4562-b3fc-2c963f66afa6",
- "tagId": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "priority": 0
}{- "id": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "name": "Groceries",
- "priority": 0
}Link a {todoId} within a tag {tagId}
| tagId required | string <uuid> Example: 3fa85f64-1111-4562-b3fc-2c963f66afa6 The tag id |
| todoId required | string <uuid> Example: 3fa85f64-0000-4562-b3fc-2c963f66afa6 The todo id |
Update the link
| todoId required | string <uuid> |
| tagId required | string <uuid> |
| priority | integer <int64> Internal field used for positioning |
Single tag
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "todoId": "3fa85f64-0000-4562-b3fc-2c963f66afa6",
- "tagId": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "priority": 0
}{- "id": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "name": "Groceries",
- "priority": 0
}Remove {todoId} from tag {tagId}
| tagId required | string <uuid> Example: 3fa85f64-1111-4562-b3fc-2c963f66afa6 The tag id |
| todoId required | string <uuid> Example: 3fa85f64-0000-4562-b3fc-2c963f66afa6 The todo id |
The request was executed, but no data is available
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "code": 100401,
- "message": "There was an error"
}Search for todos and tags
| term required | string Search for this search term |
Result with the matched items
No or invalid authorization provided
The entity was not found
The request was not understood or invalid
Main Api Endpoint
{- "term": "Carrots"
}{- "todos": [
- {
- "id": "3fa85f64-0000-4562-b3fc-2c963f66afa6",
- "title": "Bring carrots",
- "description": "More detailed description and additional notes",
- "status": "open",
- "dueDate": "2021-06-20T12:54:34Z",
- "createDate": "2021-06-20T12:54:34Z"
}
], - "tags": [
- {
- "id": "3fa85f64-1111-4562-b3fc-2c963f66afa6",
- "name": "Groceries",
- "priority": 0
}
]
}Create a new todo via mail
| headers required | object Additional email information, like subject, sender, ... |
| plain required | string Description for the todo |
no response
Main Api Endpoint
{- "headers": {
- "date": "Mon, 16 Jan 2012 17:00:01 +0000",
- "from": "Message Sender <sender@example.com>",
- "subject": "Test Subject"
}, - "plain": "Buy carrots"
}