Subscriptions
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
PATCH | |
DELETE |
List all environments subscriptions
Required API key scopes
subscription:readPath parameters
- environment_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:environment_id /subscriptionsExample response
Status 200
RESPONSE
Create environments subscriptions
Required API key scopes
subscription:writePath parameters
- environment_idstring
Request parameters
- dashboardinteger
- insightinteger
- dashboard_export_insightsarray
- target_type
- target_valuestring
- frequency
- intervalinteger
- byweekdayarray
- bysetposinteger
- countinteger
- start_datestring
- until_datestring
- deletedboolean
- titlestring
- integration_idinteger
- invite_messagestring
Response
Example request
POST /api /environments /:environment_id /subscriptionsExample response
Status 201
RESPONSE
Retrieve environments subscriptions
Required API key scopes
subscription:readPath parameters
- environment_idstring
- idinteger
Response
Example request
GET /api /environments /:environment_id /subscriptions /:idExample response
Status 200
RESPONSE
Update environments subscriptions
Required API key scopes
subscription:writePath parameters
- environment_idstring
- idinteger
Request parameters
- dashboardinteger
- insightinteger
- dashboard_export_insightsarray
- target_type
- target_valuestring
- frequency
- intervalinteger
- byweekdayarray
- bysetposinteger
- countinteger
- start_datestring
- until_datestring
- deletedboolean
- titlestring
- integration_idinteger
- invite_messagestring
Response
Example request
PATCH /api /environments /:environment_id /subscriptions /:idExample response
Status 200
RESPONSE
Delete environments subscriptions
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
subscription:writePath parameters
- environment_idstring
- idinteger
Example request
DELETE /api /environments /:environment_id /subscriptions /:idExample response
Status 405 No response body
List all subscriptions
Required API key scopes
subscription:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /subscriptionsExample response
Status 200
RESPONSE
Create subscriptions
Required API key scopes
subscription:writePath parameters
- project_idstring
Request parameters
- dashboardinteger
- insightinteger
- dashboard_export_insightsarray
- target_type
- target_valuestring
- frequency
- intervalinteger
- byweekdayarray
- bysetposinteger
- countinteger
- start_datestring
- until_datestring
- deletedboolean
- titlestring
- integration_idinteger
- invite_messagestring
Response
Example request
POST /api /projects /:project_id /subscriptionsExample response
Status 201
RESPONSE
Retrieve subscriptions
Required API key scopes
subscription:readPath parameters
- idinteger
- project_idstring
Response
Example request
GET /api /projects /:project_id /subscriptions /:idExample response
Status 200
RESPONSE
Update subscriptions
Required API key scopes
subscription:writePath parameters
- idinteger
- project_idstring
Request parameters
- dashboardinteger
- insightinteger
- dashboard_export_insightsarray
- target_type
- target_valuestring
- frequency
- intervalinteger
- byweekdayarray
- bysetposinteger
- countinteger
- start_datestring
- until_datestring
- deletedboolean
- titlestring
- integration_idinteger
- invite_messagestring
Response
Example request
PATCH /api /projects /:project_id /subscriptions /:idExample response
Status 200
RESPONSE
Delete subscriptions
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
subscription:writePath parameters
- idinteger
- project_idstring
Example request
DELETE /api /projects /:project_id /subscriptions /:id