Skip to main content

Statuses API

Content

Statuses collection:

Statuses collection

Statuses index

Request

Index behaviourDefinition
Paginated by defaultNo
Sortingid, model_type, name, created_at, updated_at
Filtersid:int, model_type:int, name:string, created_at:date, updated_at:date
Embedded-
GET /api/v0/statuses HTTP/1.1
Content-Type: application/json

Response

200 OK

GET /api/v0/statuses HTTP/1.1
Content-Type: application/json

{
"items": [
{
"id": 1,
"model_type": 1,
"name": "Review",
"background_color": "#FFFFFF",
"font_color": "#000000",
"is_default": false,
"created_at": "2022-11-23T15:59:53+0100",
"updated_at": "2022-11-23T15:59:53+0100"
},
{
"id": 2,
"model_type": 1,
"name": "New",
"background_color": "#FFFFFF",
"font_color": "#000000",
"is_default": false,
"created_at": "2022-11-23T15:59:53+0100",
"updated_at": "2022-11-23T15:59:53+0100"
}
]
}

Project statuses

Request

Index behaviourDefinition
Paginated by defaultNo
Sortingid, model_type, name, created_at, updated_at
Filtersid:int, model_type:int, name:string, created_at:date, updated_at:date
Embedded-
GET /api/v0/statuses/projects HTTP/1.1
Content-Type: application/json

Response

200 OK

GET /api/v0/statuses/projects HTTP/1.1
Content-Type: application/json

{
"items": [
{
"id": 1,
"model_type": 1,
"name": "Review",
"background_color": "#FFFFFF",
"font_color": "#000000",
"is_default": false,
"created_at": "2022-11-23T15:59:53+0100",
"updated_at": "2022-11-23T15:59:53+0100"
},
{
"id": 2,
"model_type": 1,
"name": "New",
"background_color": "#FFFFFF",
"font_color": "#000000",
"is_default": false,
"created_at": "2022-11-23T15:59:53+0100",
"updated_at": "2022-11-23T15:59:53+0100"
}
]
}

Task statuses

Request

Index behaviourDefinition
Paginated by defaultNo
Sortingid, model_type, name, created_at, updated_at
Filtersid:int, model_type:int, name:string, created_at:date, updated_at:date
Embedded-
GET /api/v0/statuses/tasks HTTP/1.1
Content-Type: application/json

Response

200 OK

GET /api/v0/statuses/tasks HTTP/1.1
Content-Type: application/json

{
"items": [
{
"id": 18,
"model_type": 2,
"name": "Not started",
"background_color": "#FFFFFF",
"font_color": "#000000",
"is_default": false,
"created_at": "2022-11-23T16:06:56+0100",
"updated_at": "2022-11-23T16:06:56+0100"
},
{
"id": 19,
"model_type": 2,
"name": "Review",
"background_color": "#FFFFFF",
"font_color": "#000000",
"is_default": false,
"created_at": "2022-11-23T16:06:59+0100",
"updated_at": "2022-11-23T16:06:59+0100"
}
]
}