Environments-14
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
POST | |
DELETE | |
POST |
List all environments insight variables
Required API key scopes
insight_variable:readPath parameters
- project_idstring
Query parameters
- pageinteger
Response
Example request
GET /api /environments /:project_id /insight_variablesExample response
Status 200
RESPONSE
List all environments insight variables
Required API key scopes
insight_variable:readPath parameters
- project_idstring
Query parameters
- pageinteger
Response
Example request
GET /api /environments /:project_id /insight_variablesExample response
Status 200
RESPONSE
Create environments insight variables
Required API key scopes
insight_variable:writePath parameters
- project_idstring
Request parameters
- namestring
- type
- default_value
- values
Response
Example request
POST /api /environments /:project_id /insight_variablesExample response
Status 201
RESPONSE
Create environments insight variables
Required API key scopes
insight_variable:writePath parameters
- project_idstring
Request parameters
- namestring
- type
- default_value
- values
Response
Example request
POST /api /environments /:project_id /insight_variablesExample response
Status 201
RESPONSE
Retrieve environments insight variables
Required API key scopes
insight_variable:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /insight_variables /:idExample response
Status 200
RESPONSE
Retrieve environments insight variables
Required API key scopes
insight_variable:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /insight_variables /:idExample response
Status 200
RESPONSE
Update environments insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
- project_idstring
Request parameters
- namestring
- type
- default_value
- values
Response
Example request
PATCH /api /environments /:project_id /insight_variables /:idExample response
Status 200
RESPONSE
Update environments insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
- project_idstring
Request parameters
- namestring
- type
- default_value
- values
Response
Example request
PATCH /api /environments /:project_id /insight_variables /:idExample response
Status 200
RESPONSE
Delete environments insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /insight_variables /:idExample response
Status 204 No response body
Delete environments insight variables
Required API key scopes
insight_variable:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /insight_variables /:idExample response
Status 204 No response body
List all environments insights
Required API key scopes
insight:readPath parameters
- project_idstring
Query parameters
- basicboolean
- created_byinteger
- formatstringOne of:
"csv""json" - limitinteger
- offsetinteger
- refreshstringDefault:
force_cacheOne of:"async""async_except_on_cache_miss""blocking""force_async""force_blocking""force_cache""lazy_async" - short_idstring
Response
Example request
GET /api /environments /:project_id /insightsExample response
Status 200
RESPONSE
List all environments insights
Required API key scopes
insight:readPath parameters
- project_idstring
Query parameters
- basicboolean
- created_byinteger
- formatstringOne of:
"csv""json" - limitinteger
- offsetinteger
- refreshstringDefault:
force_cacheOne of:"async""async_except_on_cache_miss""blocking""force_async""force_blocking""force_cache""lazy_async" - short_idstring
Response
Example request
GET /api /environments /:project_id /insightsExample response
Status 200
RESPONSE
Create environments insights
Required API key scopes
insight:writePath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Response
Example request
POST /api /environments /:project_id /insightsExample response
Status 201
RESPONSE
Create environments insights
Required API key scopes
insight:writePath parameters
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Response
Example request
POST /api /environments /:project_id /insightsExample response
Status 201
RESPONSE
List all environments insights sharing
Required API key scopes
sharing_configuration:readPath parameters
- insight_idinteger
- project_idstring
Example request
GET /api /environments /:project_id /insights /:insight_id /sharingExample response
Status 200
RESPONSE
Create environments insights sharing passwords
Create a new password for the sharing configuration.
Required API key scopes
sharing_configuration:writePath parameters
- insight_idinteger
- project_idstring
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST /api /environments /:project_id /insights /:insight_id /sharing /passwordsExample response
Status 200
RESPONSE
Delete environments insights sharing passwords
Delete a password from the sharing configuration.
Required API key scopes
sharing_configuration:writePath parameters
- insight_idinteger
- password_idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /insights /:insight_id /sharing /passwords /:password_idExample response
Status 204 No response body
Create environments insights sharing refresh
Required API key scopes
sharing_configuration:writePath parameters
- insight_idinteger
- project_idstring
Request parameters
- enabledboolean
- settings
- password_requiredboolean
Response
Example request
POST /api /environments /:project_id /insights /:insight_id /sharing /refreshExample response
Status 200
RESPONSE