curl --request POST \
--url https://api.ctrl-hub.com/v3/dashboards \
--header 'Content-Type: application/vnd.api+json' \
--header 'X-Session-Token: <api-key>' \
--data '
{
"data": {
"type": "<string>",
"attributes": {
"scope": "landing",
"name": "My landing view",
"cards": [
{}
],
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order": 0
}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"scope": "landing",
"name": "My landing view",
"order": 0,
"cards": [
{}
],
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"jsonapi": {
"version": "<string>"
}
}Create a new dashboard owned by the authenticated user.
curl --request POST \
--url https://api.ctrl-hub.com/v3/dashboards \
--header 'Content-Type: application/vnd.api+json' \
--header 'X-Session-Token: <api-key>' \
--data '
{
"data": {
"type": "<string>",
"attributes": {
"scope": "landing",
"name": "My landing view",
"cards": [
{}
],
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order": 0
}
}
}
'{
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"attributes": {
"scope": "landing",
"name": "My landing view",
"order": 0,
"cards": [
{}
],
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
},
"jsonapi": {
"version": "<string>"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.ctrl-hub.com/llms.txt
Use this file to discover all available pages before exploring further.
Session token for authentication.
The dashboard to create. Owner is set automatically from the authenticated user.
Show child attributes
Get a dashboard.
JSON API response object