CRUD
StatusPresets

Retrieve or search status-presets

Returns all status-presets or searches status-presets by query. Always returns only status-presets which are accessible by the current user.<br/>Requirements:<br/>- auth-client scopes: "team:read"

post/api/status-presets/search

Request

  • Base URL: https://app.airfocus.com
  • URL: https://app.airfocus.com/api/status-presets/search
  • Auth: HTTP bearer

Query parameters

actAsAdminboolean

Enable sudo-mode for admins for a single request, which gives full permission to all workspaces in the team.

offsetinteger

How many elements to skip.

limitinteger

How many elements to return.

frominteger

From which element the page should start.

tointeger

At which element the page should end (excluding it).

Request body

StatusPresetSearchQuery required

Response

totalItemsinteger required

Example response

{
  "items": [
    {
      "_embedded": {
        "statuses": [
          {
            "category": "active",
            "color": "blue",
            "default": true,
            "id": "7e5a6ca1-93e2-3b2b-8c07-c911b370ff40",
            "name": "In Progress",
            "order": 1,
            "presetId": "aabe8348-a1b8-371c-be47-4c43039dcc6e",
            "workspaceId": "668953d2-25f2-34fd-bd72-1e8cf024a277"
          }
        ]
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.