Environments
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
GET | |
GET | |
GET |
List all environments alerts
Required API key scopes
alert:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /alertsExample response
Status 200
RESPONSE
List all environments alerts
Required API key scopes
alert:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /alertsExample response
Status 200
RESPONSE
Create environments alerts
Required API key scopes
alert:writePath parameters
- project_idstring
Request parameters
- insightinteger
- namestring
- subscribed_usersarray
- threshold
- condition
- enabledboolean
- config
- calculation_interval
- snoozed_untilstring
- skip_weekendboolean
Response
Example request
POST /api /environments /:project_id /alertsExample response
Status 201
RESPONSE
Create environments alerts
Required API key scopes
alert:writePath parameters
- project_idstring
Request parameters
- insightinteger
- namestring
- subscribed_usersarray
- threshold
- condition
- enabledboolean
- config
- calculation_interval
- snoozed_untilstring
- skip_weekendboolean
Response
Example request
POST /api /environments /:project_id /alertsExample response
Status 201
RESPONSE
Retrieve environments alerts
Required API key scopes
alert:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /alerts /:idExample response
Status 200
RESPONSE
Retrieve environments alerts
Required API key scopes
alert:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /alerts /:idExample response
Status 200
RESPONSE
Update environments alerts
Required API key scopes
alert:writePath parameters
- idstring
- project_idstring
Request parameters
- insightinteger
- namestring
- subscribed_usersarray
- threshold
- condition
- enabledboolean
- config
- calculation_interval
- snoozed_untilstring
- skip_weekendboolean
Response
Example request
PATCH /api /environments /:project_id /alerts /:idExample response
Status 200
RESPONSE
Update environments alerts
Required API key scopes
alert:writePath parameters
- idstring
- project_idstring
Request parameters
- insightinteger
- namestring
- subscribed_usersarray
- threshold
- condition
- enabledboolean
- config
- calculation_interval
- snoozed_untilstring
- skip_weekendboolean
Response
Example request
PATCH /api /environments /:project_id /alerts /:idExample response
Status 200
RESPONSE
Delete environments alerts
Required API key scopes
alert:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /alerts /:idExample response
Status 204 No response body
Delete environments alerts
Required API key scopes
alert:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /alerts /:idExample response
Status 204 No response body
Retrieve environments app metrics
Required API key scopes
plugin:readPath parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:idExample response
Status 200 No response body
Retrieve environments app metrics
Required API key scopes
plugin:readPath parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:idExample response
Status 200 No response body
Retrieve environments app metrics error details
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:id /error_detailsExample response
Status 200 No response body
Retrieve environments app metrics error details
Path parameters
- idinteger
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:id /error_detailsExample response
Status 200 No response body
Retrieve environments app metrics historical exports
Required API key scopes
plugin:readPath parameters
- plugin_config_idstring
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:plugin_config_id /historical_exportsExample response
Status 200 No response body
Retrieve environments app metrics historical exports
Required API key scopes
plugin:readPath parameters
- plugin_config_idstring
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:plugin_config_id /historical_exportsExample response
Status 200 No response body
Retrieve environments app metrics historical exports retrieve
Required API key scopes
plugin:readPath parameters
- idstring
- plugin_config_idstring
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:plugin_config_id /historical_exports /:idExample response
Status 200 No response body
Retrieve environments app metrics historical exports retrieve
Required API key scopes
plugin:readPath parameters
- idstring
- plugin_config_idstring
- project_idstring
Example request
GET /api /environments /:project_id /app_metrics /:plugin_config_id /historical_exports /:id