Event Definitions
List Event Definitions
GET
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringSuccess
application/json- response
[index: integer]?curl -X GET 'https://api.faststats.dev/v0/projects/string/event-definitions'Example Response
[
{
"eventName": "string",
"builtIn": true,
"count30d": 0,
"lastSeenAt": "string",
"rule": {
"pattern": "string",
"sentWith": "api_key",
"properties": [
{
"key": "string",
"type": "string",
"required": true,
"values": [
"string"
],
"min": 0,
"max": 0
}
],
"unknownProperties": "allow",
"updatedAt": "string"
},
"description": "string",
"owner": {
"userId": "string",
"name": "string",
"image": "string"
},
"updatedAt": "string"
}
]