CRUD
StatusPresets

Retrieve multiple status-presets by their IDs

Returns a list of status-presets resolved for the provided IDs.<br/> Guarantees that the array-size and order of the returned status-presets matches the order of requested IDs.<br/> Does not fail if any of the requested status-presets is not found or not accessible - instead it returns null as an array-element of the corresponding status-preset which could not be accessed.<br/>Requirements:<br/>- auth-client scopes: "team:read"

post/api/status-presets/list

Request

  • Base URL: https://app.airfocus.com
  • URL: https://app.airfocus.com/api/status-presets/list
  • 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.

Request body

string[] required

Response

idstring uuid required
namestring required

Name of this status preset.

teamIdstring uuid required

Example response

[
  {
    "_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.