curl --request GET \
--url http://localhost/api/component-groups \
--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>"
}
]
}
}
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"from": 123,
"path": "<string>",
"per_page": 123,
"to": 123
},
"included": [
{
"id": "<string>",
"type": "components",
"attributes": {
"id": 123,
"name": "<string>",
"description": "<string>",
"link": "<string>",
"order": 123,
"status": {
"human": "<string>",
"value": "<string>"
},
"enabled": true,
"meta": [
"<unknown>"
],
"created": {
"human": "<string>",
"string": "<string>"
},
"updated": {
"human": "<string>",
"string": "<string>"
},
"pivot": {
"component_status": {
"human": "<string>",
"value": "<string>"
}
}
},
"relationships": {
"group": {
"data": {
"type": "componentGroups",
"id": "<string>"
}
},
"incidents": {
"data": [
{
"type": "incidents",
"id": "<string>"
}
]
}
}
}
]
}curl --request GET \
--url http://localhost/api/component-groups \
--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>"
}
]
}
}
}
],
"links": {
"first": "<string>",
"last": "<string>",
"prev": "<string>",
"next": "<string>"
},
"meta": {
"current_page": 123,
"from": 123,
"path": "<string>",
"per_page": 123,
"to": 123
},
"included": [
{
"id": "<string>",
"type": "components",
"attributes": {
"id": 123,
"name": "<string>",
"description": "<string>",
"link": "<string>",
"order": 123,
"status": {
"human": "<string>",
"value": "<string>"
},
"enabled": true,
"meta": [
"<unknown>"
],
"created": {
"human": "<string>",
"string": "<string>"
},
"updated": {
"human": "<string>",
"string": "<string>"
},
"pivot": {
"component_status": {
"human": "<string>",
"value": "<string>"
}
}
},
"relationships": {
"group": {
"data": {
"type": "componentGroups",
"id": "<string>"
}
},
"incidents": {
"data": [
{
"type": "incidents",
"id": "<string>"
}
]
}
}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Available sorts are name, id. You can sort by multiple options by separating them with a comma. To sort in descending order, use - sign in front of the sort, for example: -name.
Available includes are components, componentsCount, componentsExists. You can include multiple options by separating them with a comma.
How many items to show per page.
Which page to show.
Paginated set of ComponentGroup
Show child attributes
componentGroups Show child attributes
0, 1, 2 Show child attributes
Show child attributes
components Show child attributes
Show child attributes