Event definitions
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 event definitions
Required API key scopes
event_definition:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /event_definitionsExample response
Status 200
RESPONSE
Create event definitions
Required API key scopes
event_definition:writePath parameters
- project_idstring
Request parameters
- namestring
- ownerinteger
- descriptionstring
- tagsarray
- verifiedboolean
- hiddenboolean
- post_to_slackbooleanDefault:
false - default_columnsarray
Response
Example request
POST /api /projects /:project_id /event_definitionsExample response
Status 201
RESPONSE
Retrieve event definitions
Required API key scopes
event_definition:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /projects /:project_id /event_definitions /:idExample response
Status 200
RESPONSE
Update event definitions
Required API key scopes
event_definition:writePath parameters
- idstring
- project_idstring
Request parameters
- namestring
- ownerinteger
- descriptionstring
- tagsarray
- verifiedboolean
- hiddenboolean
- post_to_slackbooleanDefault:
false - default_columnsarray
Response
Example request
PATCH /api /projects /:project_id /event_definitions /:idExample response
Status 200
RESPONSE
Delete event definitions
Required API key scopes
event_definition:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /projects /:project_id /event_definitions /:idExample response
Status 204 No response body
Retrieve event definitions metrics
Path parameters
- idstring
- project_idstring
Example request
GET /api /projects /:project_id /event_definitions /:id /metricsExample response
Status 200 No response body
Retrieve event definitions golang
Required API key scopes
event_definition:readPath parameters
- project_idstring
Example request
GET /api /projects /:project_id /event_definitions /golangExample response
Status 200 No response body
Retrieve event definitions python
Required API key scopes
event_definition:readPath parameters
- project_idstring
Example request
GET /api /projects /:project_id /event_definitions /pythonExample response
Status 200 No response body
Retrieve event definitions typescript
Required API key scopes
event_definition:readPath parameters
- project_idstring
Example request
GET /api /projects /:project_id /event_definitions /typescript