Skip to main content
POST
/
api
/
workspaces
/
{id}
/
tasks
/
reorder
Reorder Tasks
curl --request POST \
  --url http://localhost:8080/api/workspaces/{id}/tasks/reorder \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "idea",
  "task_ids": [
    "<string>"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
status
enum<string>
required
Available options:
idea,
to_do,
in_progress,
pr_submitted,
done,
closed,
trash
task_ids
string[]
required

Response

Successful Response