Environments-18
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
POST | |
GET | |
POST | |
GET | |
DELETE | |
GET | |
GET | |
GET | |
GET |
Create environments insights cancel
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:
"csv"
"json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
DEPRECATED. Will be removed in a future release. Use dashboard_tiles instead. A dashboard ID for each of the dashboards that this insight is displayed on.
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Example request
POST
/api /environments /:project_id /insights /cancel
Example response
Status 200 No response body
Retrieve environments insights my last viewed
Returns basic details about the last 5 insights viewed by this user. Most recently viewed first.
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:
"csv"
"json"
Example request
GET
/api /environments /:project_id /insights /my_last_viewed
Example response
Status 200 No response body
Retrieve environments insights my last viewed
Returns basic details about the last 5 insights viewed by this user. Most recently viewed first.
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:
"csv"
"json"
Example request
GET
/api /environments /:project_id /insights /my_last_viewed
Example response
Status 200 No response body
Create environments insights viewed
Update insight view timestamps. Expects: {"insight_ids": [1, 2, 3, ...]}
Required API key scopes
insight:read
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:
"csv"
"json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
DEPRECATED. Will be removed in a future release. Use dashboard_tiles instead. A dashboard ID for each of the dashboards that this insight is displayed on.
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Example request
POST
/api /environments /:project_id /insights /viewed
Example response
Status 200 No response body
Create environments insights viewed
Update insight view timestamps. Expects: {"insight_ids": [1, 2, 3, ...]}
Required API key scopes
insight:read
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:
"csv"
"json"
Request parameters
- namestring
- derived_namestring
- queryobject
- orderinteger
- deletedboolean
- dashboardsarray
DEPRECATED. Will be removed in a future release. Use dashboard_tiles instead. A dashboard ID for each of the dashboards that this insight is displayed on.
- descriptionstring
- tagsarray
- favoritedboolean
- _create_in_folderstring
Example request
POST
/api /environments /:project_id /insights /viewed
Example response
Status 200 No response body
List all environments integrations
Required API key scopes
integration:read
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
- 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 /integrations
Example response
Status 200
List all environments integrations
Required API key scopes
integration:read
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
- 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 /integrations
Example response
Status 200
Create environments integrations
Required API key scopes
integration:write
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/.
Request parameters
- kind
- config
Response
Example request
POST
/api /environments /:project_id /integrations
Example response
Status 201
Create environments integrations
Required API key scopes
integration:write
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/.
Request parameters
- kind
- config
Response
Example request
POST
/api /environments /:project_id /integrations
Example response
Status 201
Retrieve environments integrations
Required API key scopes
integration:read
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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 /integrations /:id
Example response
Status 200
Retrieve environments integrations
Required API key scopes
integration:read
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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 /integrations /:id
Example response
Status 200
Delete environments integrations
Required API key scopes
integration:write
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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 /integrations /:id
Example response
Status 204 No response body
Delete environments integrations
Required API key scopes
integration:write
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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 /integrations /:id
Example response
Status 204 No response body
Retrieve environments integrations channels
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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
GET
/api /environments /:project_id /integrations /:id /channels
Example response
Status 200 No response body
Retrieve environments integrations channels
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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
GET
/api /environments /:project_id /integrations /:id /channels
Example response
Status 200 No response body
List all environments integrations clickup lists
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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
GET
/api /environments /:project_id /integrations /:id /clickup_lists
Example response
Status 200 No response body
List all environments integrations clickup lists
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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
GET
/api /environments /:project_id /integrations /:id /clickup_lists
Example response
Status 200 No response body
Retrieve environments integrations clickup spaces
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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
GET
/api /environments /:project_id /integrations /:id /clickup_spaces
Example response
Status 200 No response body
Retrieve environments integrations clickup spaces
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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
GET
/api /environments /:project_id /integrations /:id /clickup_spaces
Example response
Status 200 No response body
Retrieve environments integrations clickup workspaces
Path parameters
- idinteger
A unique integer value identifying this integration.
- 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
GET
/api /environments /:project_id /integrations /:id /clickup_workspaces