Dashboard templates
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET |
List all dashboard templates
Required API key scopes
dashboard_template:read
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
Response
Example request
GET
/api /projects /:project_id /dashboard_templates
Example response
Status 200
Create dashboard templates
Required API key scopes
dashboard_template:write
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- template_namestring
- dashboard_descriptionstring
- dashboard_filters
- tagsarray
- tiles
- variables
- deletedboolean
- created_byinteger
- image_urlstring
- scope
- availability_contextsarray
Response
Example request
POST
/api /projects /:project_id /dashboard_templates
Example response
Status 201
Retrieve dashboard templates
Required API key scopes
dashboard_template:read
Path parameters
- idstring
A UUID string identifying this dashboard template.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Example request
GET
/api /projects /:project_id /dashboard_templates /:id
Example response
Status 200
Update dashboard templates
Required API key scopes
dashboard_template:write
Path parameters
- idstring
A UUID string identifying this dashboard template.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- template_namestring
- dashboard_descriptionstring
- dashboard_filters
- tagsarray
- tiles
- variables
- deletedboolean
- created_byinteger
- image_urlstring
- scope
- availability_contextsarray
Response
Example request
PATCH
/api /projects /:project_id /dashboard_templates /:id
Example response
Status 200
Delete dashboard templates
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
dashboard_template:write
Path parameters
- idstring
A UUID string identifying this dashboard template.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
DELETE
/api /projects /:project_id /dashboard_templates /:id
Example response
Status 405 No response body
Retrieve dashboard templates json schema
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
GET
/api /projects /:project_id /dashboard_templates /json_schema