Environments-5
For instructions on how to authenticate to use this endpoint, see API overview.
Stream dashboard metadata and tiles via Server-Sent Events. Sends metadata first, then tiles as they are rendered.
Endpoints
GET | |
POST | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET |
Retrieve environments dashboards stream tiles
Path parameters
- idinteger
A unique integer value identifying this dashboard.
- 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
- formatstringOne of:
"json""txt"
Example request
GET /api /environments /:project_id /dashboards /:id /stream_tilesExample response
Status 200 No response body
Retrieve environments dashboards stream tiles
Path parameters
- idinteger
A unique integer value identifying this dashboard.
- 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
- formatstringOne of:
"json""txt"
Example request
GET /api /environments /:project_id /dashboards /:id /stream_tilesExample response
Status 200 No response body
Create environments dashboards create from template json
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
- 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 /environments /:project_id /dashboards /create_from_template_jsonExample response
Status 200 No response body
Create environments dashboards create from template json
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
- 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 /environments /:project_id /dashboards /create_from_template_jsonExample response
Status 200 No response body
Create environments dashboards create unlisted dashboard
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
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
- 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 /environments /:project_id /dashboards /create_unlisted_dashboardExample response
Status 200 No response body
Create environments dashboards create unlisted dashboard
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
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
- 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 /environments /:project_id /dashboards /create_unlisted_dashboardExample response
Status 200 No response body
List all environments data color themes
Required API key scopes
project:readPath 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 /environments /:project_id /data_color_themesExample response
Status 200
List all environments data color themes
Required API key scopes
project:readPath 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 /environments /:project_id /data_color_themesExample response
Status 200
Create environments data color themes
Required API key scopes
project:writePath 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
- namestring
- colors
Response
Example request
POST /api /environments /:project_id /data_color_themesExample response
Status 201
Create environments data color themes
Required API key scopes
project:writePath 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
- namestring
- colors
Response
Example request
POST /api /environments /:project_id /data_color_themesExample response
Status 201
Retrieve environments data color themes
Required API key scopes
project:readPath parameters
- idinteger
A unique integer value identifying this data color theme.
- 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 /environments /:project_id /data_color_themes /:idExample response
Status 200
Retrieve environments data color themes
Required API key scopes
project:readPath parameters
- idinteger
A unique integer value identifying this data color theme.
- 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 /environments /:project_id /data_color_themes /:idExample response
Status 200
Update environments data color themes
Required API key scopes
project:writePath parameters
- idinteger
A unique integer value identifying this data color theme.
- 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
- namestring
- colors
Response
Example request
PATCH /api /environments /:project_id /data_color_themes /:idExample response
Status 200
Update environments data color themes
Required API key scopes
project:writePath parameters
- idinteger
A unique integer value identifying this data color theme.
- 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
- namestring
- colors
Response
Example request
PATCH /api /environments /:project_id /data_color_themes /:idExample response
Status 200
Delete environments data color themes
Required API key scopes
project:writePath parameters
- idinteger
A unique integer value identifying this data color theme.
- 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 /environments /:project_id /data_color_themes /:idExample response
Status 204 No response body
Delete environments data color themes
Required API key scopes
project:writePath parameters
- idinteger
A unique integer value identifying this data color theme.
- 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 /environments /:project_id /data_color_themes /:idExample response
Status 204 No response body
List all environments dataset items
Required API key scopes
dataset:readPath 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
- datasetstring
Filter by dataset ID
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
Response
Example request
GET /api /environments /:project_id /dataset_itemsExample response
Status 200
List all environments dataset items
Required API key scopes
dataset:readPath 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
- datasetstring
Filter by dataset ID
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
Response
Example request
GET /api /environments /:project_id /dataset_items