Environments-19
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
DELETE | |
POST | |
GET | |
GET | |
GET | |
PATCH | |
DELETE | |
GET |
Create environments insights sharing passwords
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
Create environments insights sharing passwords
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
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
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
List all environments insights thresholds
Required API key scopes
alert:readPath parameters
- insight_idinteger
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /insights /:insight_id /thresholdsExample response
Status 200
RESPONSE
List all environments insights thresholds
Required API key scopes
alert:readPath parameters
- insight_idinteger
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /insights /:insight_id /thresholdsExample response
Status 200
RESPONSE
Retrieve environments insights thresholds
Required API key scopes
alert:readPath parameters
- idstring
- insight_idinteger
- project_idstring
Response
Example request
GET /api /environments /:project_id /insights /:insight_id /thresholds /:idExample response
Status 200
RESPONSE
Retrieve environments insights thresholds
Required API key scopes
alert:readPath parameters
- idstring
- insight_idinteger
- project_idstring
Response
Example request
GET /api /environments /:project_id /insights /:insight_id /thresholds /:idExample response
Status 200
RESPONSE
Retrieve environments insights
Required API key scopes
insight:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json" - from_dashboardinteger
- refreshstringDefault:
force_cacheOne of:"async""async_except_on_cache_miss""blocking""force_async""force_blocking""force_cache""lazy_async"
Response
Example request
GET /api /environments /:project_id /insights /:idExample response
Status 200
RESPONSE
Retrieve environments insights
Required API key scopes
insight:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json" - from_dashboardinteger
- refreshstringDefault:
force_cacheOne of:"async""async_except_on_cache_miss""blocking""force_async""force_blocking""force_cache""lazy_async"
Response
Example request
GET /api /environments /:project_id /insights /:idExample response
Status 200
RESPONSE
Update environments insights
Required API key scopes
insight:writePath parameters
- idinteger
- 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
PATCH /api /environments /:project_id /insights /:idExample response
Status 200
RESPONSE
Update environments insights
Required API key scopes
insight:writePath parameters
- idinteger
- 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
PATCH /api /environments /:project_id /insights /:idExample response
Status 200
RESPONSE
Delete environments insights
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
insight:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
DELETE /api /environments /:project_id /insights /:idExample response
Status 405 No response body
Delete environments insights
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
insight:writePath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
DELETE /api /environments /:project_id /insights /:idExample response
Status 405 No response body
Retrieve environments insights activity retrieve
Required API key scopes
activity_log:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /:id /activityExample response
Status 200 No response body
Retrieve environments insights activity retrieve
Required API key scopes
activity_log:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Example request
GET /api /environments /:project_id /insights /:id /activity