Project types API

List project types

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

  • project_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 94
Content-Type: application/json
[
  {
    "id": 1,
    "name": "Internes Projekt"
  },
  {
    "id": 2,
    "name": "lib.model.pr_project_type.type_external"
  }
]

Search project types

POST /pr_project_type/search
Accept: application/json
Authorization: Bearer 677a1598d208d6c303fa5ca1c774709250e21749
[
  {
    "field": "project_type",
    "value": "type_internal"
  }
]
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
project_type optional string

The following scopes are needed:

  • project_show
Status: 200 OK
X-Authenticated-User: apiextract_1
Content-Length: 36
Content-Type: application/json
[
  {
    "id": 1,
    "name": "Internes Projekt"
  }
]

Show project type

GET /pr_project_type/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: 34
Content-Type: application/json
{
  "id": 1,
  "name": "Internes Projekt"
}