API Reference
Base URL
https://live-api.block8910.comAuthentication
All /api/* endpoints require the x-api-key header:
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your API key |
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | / | Health check (no auth) |
GET | /docs | Swagger UI documentation |
GET | /openapi.json | OpenAPI specification |
POST | /api/ingress/generate | Create a new ingress |
GET | /api/ingress | List all ingresses |
DELETE | /api/ingress/{ingressId} | Delete an ingress |
GET | /api/connection-details | Get viewer connection token |
Error Responses
All errors return a JSON response:
{
"error": "Error message",
"message": "Additional details (optional)"
}HTTP Status Codes
| Code | Description |
|---|---|
200 | Success |
400 | Bad request - missing or invalid parameters |
401 | Unauthorized - missing or invalid API key |
500 | Internal server error |