Update
POST
/todo/updateUpdate a todo with a given ID
Request
Body Params application/json
id
number
id
The ID of the todo that needs to be updated
>= 1
title
string
title
The new updated title of the todo
>= 4 characters<= 30 characters
description
string
description
The new description of the todo item
>= 4 characters<= 200 characters
content
string
optional
The new content of the todo application
is_completed
boolean
is_completed
State of the todo (wether completed or not)
Example
{
"id": 1,
"title": "string",
"description": "string",
"content": "string",
"is_completed": true
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: a month ago