List catalog attributes

Returns a list of all Catalog attributes for a Catalog relation.

GET https://incidents.betterstack.com/api/v2/catalog/relations/{relation_id}/attributes

URL parameters

relation_id
required string

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "56",
      "type": "catalog_attribute",
      "attributes": {
        "name": "Team",
        "primary": true,
        "position": 0
      }
    },
    {
      "id": "57",
      "type": "catalog_attribute",
      "attributes": {
        "name": "Team Lead",
        "primary": false,
        "position": 1
      }
    }
  ]
}

Response attributes

id
string
type
string
attributes.name
string
attributes.primary
boolean
attributes.position
integer

Example cURL

Example
curl --request GET \
  --url https://incidents.betterstack.com/api/v2/catalog/relations/37/attributes \
  --header "Authorization: Bearer $TOKEN"