Live Stream Bans
Kullanıcının aktif ban durumunu kontrol et
Belirli bir yayın için kullanıcının aktif ban durumunu kontrol eder
Belirli bir yayın için kullanıcının aktif ban durumunu kontrol eder
Authorization
JWT-auth AuthorizationBearer <token>
Paste the JWT access token without the Bearer prefix.
In: header
Path Parameters
targetUserId*string
Query Parameters
liveStreamId*string
Yayın ID
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/v1/live-stream-ban/check/string?liveStreamId=673acae0c93fe18d3fdd2407"{
"isSuccess": true,
"statusCode": 200,
"data": {
"isBanned": true,
"ban": {
"_id": "673ac9e2c93fe18d3fdd23f1",
"targetUserId": "673ac9e2c93fe18d3fdd23f1",
"targetUser": {
"_id": "64d15f9e2e6c8f4d5a123456",
"username": "johndoe",
"name": "John",
"surname": "Doe",
"profilePhoto": {
"_id": "507f1f77bcf86cd799439012",
"url": "https://example.com/uploads/images/profile.jpg",
"type": "image",
"variants": {
"40": "https://cdn.example.com/profiles/user/40.webp",
"76": "https://cdn.example.com/profiles/user/76.webp"
},
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T12:30:00.000Z"
},
"availabilityStatus": "available"
},
"liveStreamId": "673acae0c93fe18d3fdd2407",
"actionType": "BLOCK",
"reason": "Toksik davranış ve spam mesajlar",
"createdBy": "673ac9e2c93fe18d3fdd23f1",
"deletedAt": null,
"deletedBy": null,
"createdAt": "2026-01-15T10:30:00.000Z",
"updatedAt": "2026-01-15T10:30:00.000Z"
}
},
"errors": [],
"timestamp": "2026-05-22T16:11:27.221Z"
}{
"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"
}Yeni ban oluştur POST
**Production uyarisi:** Bu endpoint veri degistirir veya operasyon tetikleyebilir. API Playground icinde Production server seciliyse gercek production verisi etkilenir; test icin Development server kullanin. Kullanıcıyı belirli bir canlı yayından banlar
Ban detayını getir GET
ID ile aktif ban detayını getirir