To-dos

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" }
 

Get User

Get a user by ID

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

get

Response

application/json

OK

userIdnumberrequiredread-only

ID of the user

firstNamestringrequired

>= 1 characters

lastNamestringrequired

>= 1 characters

phoneNumberstringrequired

Official Phone Number

>= 1 characters

emailAddressstringrequired

Work Email Address

>= 1 characters

get/users
 
application/json