Tasks
Update a task
Changed onUpdate an existing task
patch/v1/tasks/{id}
Request
- Base URLhttps://api.slant.app
- URLhttps://api.slant.app/v1/tasks/{id}
- AuthHTTP bearer
Path parameters
idstring required
The task ID
Headers
Idempotency-Keystring
Unique key to ensure idempotent request handling. If a request with the same key was already processed, the original response will be returned.
Request body
Example request
{
"title": "Updated task title"
}Response
task updated
Example response
{
"id": "abc123xyz",
"title": "Follow up with client"
}Changes
- breaking
the
request property's minLength was increased from0to1 - info
the request property
became nullable - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
removed the
invalid_jsonenum value from theresponse property for the response status - info
response property
detaillist-of-types was narrowed by removing typesarrayfrom media typeapplication/jsonof response400
- breaking