Event Definitions

List Event Properties

GET
/v0/projects/{idOrSlug}/event-definitions/properties

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Query Parameters

eventName*string
Length1 <= length <= 200

Response Body

EventPropertyList

application/json
  1. response
eventName*string
sampledEvents*number|
properties*array<>
Example Request
curl -X GET 'https://api.faststats.dev/v0/projects/string/event-definitions/properties?eventName=string'
Example Response
{  "eventName": "string",  "sampledEvents": 0,  "properties": [    {      "key": "string",      "dataType": "string",      "coverage": 0,      "examples": [        "string"      ],      "automatic": true,      "description": "string",      "updatedAt": "string"    }  ]}