To-dos

Create Todo

This creates a Todo object

Markdown is supported in descriptions. Add information here for users to get accustomed to endpoints

post

Body

application/json

Name of the Todo

Todo

I’m a model’s description.

namestringrequired

Name of the task

>= 1 characters<= 100 characters

completedboolean

Boolean indicating if the task has been completed or not

Default:false

Response

multipart/form-data

New Todo Created

Todo

I’m a model’s description.

idnumberrequiredread-only

ID of the task

>= 0<= 9999

namestringrequired

Name of the task

>= 1 characters<= 100 characters

completedboolean

Boolean indicating if the task has been completed or not

Default:false

completed_atstring(date-time)requiredread-only

Time when the task was completed

created_atstring(date-time)requiredread-only

Time when the task was created

updated_atstring(date-time)requiredread-only

Time when the task was updated

post/todos

Body

{ "name": "name" }
 
multipart/form-data

Get Todo

Get a single todo using an ID

Markdown is supported in descriptions. Add information here for users to get accustomed to endpoints

get

Path Parameters

idstringrequired

ID of the Todo

Response

application/json

Returns the Todo for the ID

Todo

I’m a model’s description.

idnumberrequiredread-only

ID of the task

>= 0<= 9999

namestringrequired

Name of the task

>= 1 characters<= 100 characters

completedboolean

Boolean indicating if the task has been completed or not

Default:false

completed_atstring(date-time)requiredread-only

Time when the task was completed

created_atstring(date-time)requiredread-only

Time when the task was created

updated_atstring(date-time)requiredread-only

Time when the task was updated

get/todos/{id}
 
application/json

Replace Todo

Update a single todo using an ID

Markdown is supported in descriptions. Add information here for users to get accustomed to endpoints

put

Path Parameters

idstringrequired

ID of the Todo

Body

application/json

Todo

I’m a model’s description.

namestringrequired

Name of the task

>= 1 characters<= 100 characters

completedboolean

Boolean indicating if the task has been completed or not

Default:false

Response

Todo Updated

put/todos/{id}

Body

{ "name": "name" }
 

Delete Todo

Delete a todo using an ID

Markdown is supported in descriptions. Add information here for users to get accustomed to endpoints

delete

Path Parameters

idstringrequired

ID of the Todo

Response

application/json

Todo Deleted

Todo

I’m a model’s description.

idnumberrequiredread-only

ID of the task

>= 0<= 9999

namestringrequired

Name of the task

>= 1 characters<= 100 characters

completedboolean

Boolean indicating if the task has been completed or not

Default:false

completed_atstring(date-time)requiredread-only

Time when the task was completed

created_atstring(date-time)requiredread-only

Time when the task was created

updated_atstring(date-time)requiredread-only

Time when the task was updated

delete/todos/{id}
 
application/json

Update Todo

DEPRECATED

Don’t use this endpoint. Notice it’s deprecated.

Markdown is supported in descriptions. Add information here for users to get accustomed to endpoints

patch

Path Parameters

idstringrequired

ID of the Todo

Body

application/json

Todo

I’m a model’s description.

namestringrequired

Name of the task

>= 1 characters<= 100 characters

completedboolean

Boolean indicating if the task has been completed or not

Default:false

Response

Todo Updated

patch/todos/{id}

Body

{ "name": "name" }