Allmine API
Participants

Yayın istatistiklerini getir

Yayın için toplam izleyici sayısı, en yüksek anlık izleyici sayısı ve ortalama izleme süresini döner

GET
/api/v1/participant/stream/{streamId}/statistics

Yayın için toplam izleyici sayısı, en yüksek anlık izleyici sayısı ve ortalama izleme süresini döner

Authorization

JWT-auth
AuthorizationBearer <token>

Paste the JWT access token without the Bearer prefix.

In: header

Path Parameters

streamId*string

Yayın ID

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/participant/stream/64d15f9e2e6c8f4d5a123456/statistics"
{
  "streamId": "64d15f9e2e6c8f4d5a123456",
  "totalViewers": 150,
  "averageWatchTimeMinutes": 12.5,
  "totalWatchTimeMinutes": 1875
}
{
  "isSuccess": false,
  "statusCode": 400,
  "data": null,
  "errors": [
    "Validation failed"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 401,
  "data": null,
  "errors": [
    "Authentication required"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 403,
  "data": null,
  "errors": [
    "Insufficient permissions"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}
{
  "isSuccess": false,
  "statusCode": 404,
  "data": null,
  "errors": [
    "Resource not found"
  ],
  "timestamp": "2026-01-15T10:30:00.000Z"
}