Live Streams
Canlı yayın gift adet dağılımını getir
Belirli bir canlı yayın için toplam gönderilen gift adedini ve aktif gift type bazında adet dağılımını döndürür.
Belirli bir canlı yayın için toplam gönderilen gift adedini ve aktif gift type bazında adet dağılımını döndürür.
Authorization
JWT-auth AuthorizationBearer <token>
Paste the JWT access token without the Bearer prefix.
In: header
Path Parameters
id*string
Canlı yayın kimliği
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/live-stream/65a1234bcde5678f90123456/gift-statistics"{
"isSuccess": true,
"statusCode": 200,
"data": {
"liveStreamId": "65a1234bcde5678f90123456",
"totalCount": 53,
"giftTypeCounts": [
{
"giftType": {
"id": "65a1234bcde5678f90123456",
"creditAmount": 19,
"svgUrl": "https://example.com/gifts/gift_19.svg",
"isActive": true
},
"count": 12
}
]
},
"errors": [],
"timestamp": "2026-05-22T16:11:27.036Z"
}{
"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"
}