Groups types
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
DELETE | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
PATCH |
List all groups types
Required API key scopes
group: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/.
Example request
GET
/api /projects /:project_id /groups_types
Example response
Status 200
Delete groups types
Required API key scopes
group:write
Path parameters
- group_type_indexinteger
- 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 /projects /:project_id /groups_types /:group_type_index
Example response
Status 204 No response body
List all groups types metrics
Required API key scopes
group:read
Path parameters
- group_type_indexinteger
- 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 /projects /:project_id /groups_types /:group_type_index /metrics
Example response
Status 200
Create groups types metrics
Required API key scopes
group:write
Path parameters
- group_type_indexinteger
- 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
- namestring
- format
- intervalinteger
In days
- display
- filters
Response
Example request
POST
/api /projects /:project_id /groups_types /:group_type_index /metrics
Example response
Status 201
Retrieve groups types metrics
Required API key scopes
group:read
Path parameters
- group_type_indexinteger
- idstring
A UUID string identifying this group usage metric.
- 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 /projects /:project_id /groups_types /:group_type_index /metrics /:id
Example response
Status 200
Update groups types metrics
Required API key scopes
group:write
Path parameters
- group_type_indexinteger
- idstring
A UUID string identifying this group usage metric.
- 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
- namestring
- format
- intervalinteger
In days
- display
- filters
Response
Example request
PATCH
/api /projects /:project_id /groups_types /:group_type_index /metrics /:id
Example response
Status 200
Delete groups types metrics
Required API key scopes
group:write
Path parameters
- group_type_indexinteger
- idstring
A UUID string identifying this group usage metric.
- 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 /projects /:project_id /groups_types /:group_type_index /metrics /:id
Example response
Status 204 No response body
Update groups types update metadata
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
- name_singularstring
- name_pluralstring
- detail_dashboardinteger
- default_columnsarray
- created_atstring
Example request
PATCH
/api /projects /:project_id /groups_types /update_metadata