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:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /dashboard_templatesExample response
Status 200
RESPONSE
Create dashboard templates
Required API key scopes
dashboard_template:writePath parameters
- project_idstring
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_templatesExample response
Status 201
RESPONSE
Retrieve dashboard templates
Required API key scopes
dashboard_template:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /projects /:project_id /dashboard_templates /:idExample response
Status 200
RESPONSE
Update dashboard templates
Required API key scopes
dashboard_template:writePath parameters
- idstring
- project_idstring
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 /:idExample response
Status 200
RESPONSE
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:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /projects /:project_id /dashboard_templates /:idExample response
Status 405 No response body
Retrieve dashboard templates json schema
Path parameters
- project_idstring
Example request
GET /api /projects /:project_id /dashboard_templates /json_schema