Task priorities API

List task priorities

GET /todo_priority
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
Name Required Type Description
order_by optional string Sorting
limit optional integer Limit
offset optional integer Offset
callback optional string Javascript callback

The following sort parameters may be applied:

  • name
  • id

The following scopes are needed:

  • general
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 148
Content-Type: application/json
[
  {
    "id": 1,
    "name": "lib.model.todo_priority.Keine"
  },
  {
    "id": 2,
    "name": "lib.model.todo_priority.Niedrig"
  },
  {
    "id": 3,
    "name": "lib.model.todo_priority.Normal"
  }
]

Search task priorities

POST /todo_priority/search
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
[
  {
    "field": "name",
    "value": "Niedrig"
  }
]
Name Required Type Description
order_by optional string Sorting
limit optional integer Limit
offset optional integer Offset
callback optional string Javascript callback

The following sort parameters may be applied:

  • id
  • name
Name Required Type Description
name optional string

The following scopes are needed:

  • general
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 51
Content-Type: application/json
[
  {
    "id": 2,
    "name": "lib.model.todo_priority.Niedrig"
  }
]

Show task priority

GET /todo_priority/1
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
Name Required Type Description
callback optional string Javascript callback

The following scopes are needed:

  • general
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 47
Content-Type: application/json
{
  "id": 1,
  "name": "lib.model.todo_priority.Keine"
}