tasks

Sort tasks on KanBan

Changed on

Sorts tasks after drag and drop on the KanBan.

post/api/v1/tasks/sort

Request

Query parameters

includestring
Example:first_load

Includes child relationships in the response, format is comma separated. Check each model for the list of associated includes

Headers

X-API-TOKENstring required
Example:TOKEN

The API token to be used for authentication

X-Requested-Withstring required
Example:XMLHttpRequest

Used to send the XMLHttpRequest header

Request body

task_idsstring[] required

Array of task IDs to be sorted

status_idinteger

Status ID to assign to sorted tasks

sort_orderstring[]

Array of task IDs in the desired sort order

Example request

{
  "task_ids": [
    "D2J234DFA"
  ],
  "status_id": 1,
  "sort_order": [
    "D2J234DFA"
  ]
}

Response

Returns an Ok, 200 HTTP status

Changes

    • breaking

      added required request body

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status