Dashboards-2
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE |
Retrieve dashboards stream tiles retrieve
Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.
Path parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Example request
GET /api /projects /:project_id /dashboards /:id /stream_tilesExample response
Status 200 No response body
Create dashboards create from template json create
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false - _create_in_folderstring
Example request
POST /api /projects /:project_id /dashboards /create_from_template_jsonExample response
Status 200 No response body
Create dashboards create unlisted dashboard create
Creates an unlisted dashboard from template by tag. Enforces uniqueness (one per tag per team). Returns 409 if unlisted dashboard with this tag already exists.
Path parameters
- project_idstring
Query parameters
- formatstringOne of:
"json""txt"
Request parameters
- namestring
- descriptionstring
- pinnedboolean
- last_accessed_atstring
- deletedboolean
- breakdown_colors
- data_color_theme_idinteger
- tagsarray
- restriction_level
- last_refreshstring
- use_templatestring
- use_dashboardinteger
- delete_insightsbooleanDefault:
false - _create_in_folderstring
Example request
POST /api /projects /:project_id /dashboards /create_unlisted_dashboardExample response
Status 200 No response body
List all data color themes list
Required API key scopes
project:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /data_color_themesExample response
Status 200
RESPONSE
Create data color themes create
Required API key scopes
project:writePath parameters
- project_idstring
Request parameters
- namestring
- colors
Response
Example request
POST /api /projects /:project_id /data_color_themesExample response
Status 201
RESPONSE
Retrieve data color themes retrieve
Required API key scopes
project:readPath parameters
- idinteger
- project_idstring
Response
Example request
GET /api /projects /:project_id /data_color_themes /:idExample response
Status 200
RESPONSE
Update data color themes update
Required API key scopes
project:writePath parameters
- idinteger
- project_idstring
Request parameters
- namestring
- colors
Response
Example request
PATCH /api /projects /:project_id /data_color_themes /:idExample response
Status 200
RESPONSE
Delete data color themes destroy
Required API key scopes
project:writePath parameters
- idinteger
- project_idstring
Example request
DELETE /api /projects /:project_id /data_color_themes /:id