Get project asset types

GET /data/user/projects/{project_id}/asset-types

Retrieve asset types related to a specific project for the current user.

Path parameters

  • project_id string(uuid) Required

    Project unique identifier

Responses

  • 200 application/json

    Asset types related to given project

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

      Asset type unique identifier

    • name string

      Asset type name

    • short_name string

      Asset type short name

    • color string

      Asset type color

    • project_id string(uuid)

      Project identifier

    • created_at string(date-time)

      Creation timestamp

    • updated_at string(date-time)

      Last update timestamp

GET /data/user/projects/{project_id}/asset-types
curl \
 --request GET 'http://api.example.com/data/user/projects/a24a6ea4-ce75-4665-a070-57453082c25/asset-types' \
 --header "Authorization: $API_KEY"
Response examples (200)
[
  {
    "id": "b35b7fb5-df86-5776-b181-68564193d36",
    "name": "Character",
    "short_name": "CHAR",
    "color": "#FF0000",
    "project_id": "c46c8gc6-eg97-6887-c292-79675204e47",
    "created_at": "2023-01-01T12:00:00Z",
    "updated_at": "2023-01-01T12:30:00Z"
  }
]