Skip to main content
GET
/
component-groups
/
{componentGroup}
Get Component Group
curl --request GET \
  --url http://localhost/api/component-groups/{componentGroup} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "type": "componentGroups",
    "attributes": {
      "id": 123,
      "name": "<string>",
      "order": 123,
      "visible": 0,
      "created": {
        "human": "<string>",
        "string": "<string>"
      },
      "updated": {
        "human": "<string>",
        "string": "<string>"
      }
    },
    "relationships": {
      "components": {
        "data": [
          {
            "type": "components",
            "id": "<string>"
          }
        ]
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

componentGroup
integer
required

The component group ID

Query Parameters

include
string

Available includes are components, componentsCount, componentsExists. You can include multiple options by separating them with a comma.

Response

ComponentGroup

data
ComponentGroup · object
required