Endpoints Overview
Video Endpoints
| Endpoint | Method | Description |
|---|---|---|
/videos |
GET | List all videos |
/videos |
POST | Create a new video |
/videos/{id} |
GET | Get video details |
/videos/{id} |
PUT | Update video metadata |
/videos/{id}/analysis |
POST | Create analysis for video |
Analysis Endpoints
| Endpoint | Method | Description |
|---|---|---|
/analyses/{id} |
GET | Get analysis details |
/analyses/{id}/events |
GET | Get all detected events |
/analyses/{id}/summary |
GET | Get game summary with player identities |
/analyses/{id}/schema |
GET | Get event schema and available filters |
/analyses/{id}/query-intervals |
POST | Query with filters |
/analyses/{id}/tracking/download |
GET | Download tracking data |
Common Parameters
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id |
integer | The analysis ID |
Headers
All requests require:
Authorization: Bearer YOUR_API_TOKEN
Accept: application/json
Response Codes
| Code | Description |
|---|---|
| 200 | Success |
| 400 | Analysis not ready (still processing) |
| 401 | Unauthorized (invalid token) |
| 403 | Forbidden (no access to this analysis) |
| 404 | Analysis not found |
| 429 | Rate limit exceeded |