Project statuses API

List project statuses

GET /pr_project_state
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:

  • text
  • id

The following scopes are needed:

  • project_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 138
Content-Type: application/json
[
  {
    "id": 1,
    "name": "lib.model.pr_state.Offen"
  },
  {
    "id": 2,
    "name": "lib.model.pr_state.Aktiv"
  },
  {
    "id": 3,
    "name": "lib.model.pr_state.Abgeschlossen"
  }
]

Search project statuses

POST /pr_project_state/search
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
[
  {
    "field": "text",
    "value": "Aktiv"
  }
]
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
  • text
Name Required Type Description
text optional string

The following scopes are needed:

  • project_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 44
Content-Type: application/json
[
  {
    "id": 2,
    "name": "lib.model.pr_state.Aktiv"
  }
]

Show project status

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

The following scopes are needed:

  • project_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Etag: e5014c1bf62ede75f5d2ce11e5252f12
Content-Length: 42
Content-Type: application/json
{
  "id": 1,
  "name": "lib.model.pr_state.Offen"
}