Get asset task types

GET /data/user/assets/{asset_id}/task-types

Retrieve task types related to a specific asset for the current user. Returns all task types available for the given asset.

Path parameters

  • asset_id string(uuid) Required

    Asset unique identifier

Responses

  • 200 application/json

    Task types related to given asset for current user

    Hide response attributes Show response attributes object
    • id string(uuid)

      Task type unique identifier

    • name string

      Task type name

    • short_name string

      Task type short name

    • color string

      Task type color

    • priority integer

      Task type priority

    • for_entity string

      Entity type this task type applies to

    • created_at string(date-time)

      Creation timestamp

    • updated_at string(date-time)

      Last update timestamp

GET /data/user/assets/{asset_id}/task-types
curl \
 --request GET 'http://api.example.com/data/user/assets/a24a6ea4-ce75-4665-a070-57453082c25/task-types' \
 --header "Authorization: $API_KEY"
Response examples (200)
[
  {
    "id": "b35b7fb5-df86-5776-b181-68564193d36",
    "name": "Modeling",
    "short_name": "MOD",
    "color": "#FF0000",
    "priority": 1,
    "for_entity": "Asset",
    "created_at": "2023-01-01T12:00:00Z",
    "updated_at": "2023-01-01T12:30:00Z"
  }
]