Files
back_end_oudelaa/postman/music-world-response-examples.json
boutmoun123 674fa77975
API Gateway CI / Build, lint, and test (push) Successful in 14m54s
API Gateway CI / Build API Gateway image (push) Successful in 6m31s
API Gateway CI / Build Notification Service image (push) Successful in 49s
feat: add Music World backend APIs for Flutter
2026-11-22 14:20:32 +03:00

3540 lines
87 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"source": "Captured through the HTTP API using synthetic users and catalog records on an isolated MongoDB replica set. Playback link signature redacted.",
"examples": [
{
"name": "Create event",
"method": "POST",
"path": "/superadmin/music-world/events",
"request": {
"title": "حفل عود Oud Concert",
"description": "Test catalog",
"category": "Tarab",
"venueName": "Test Hall",
"place": {
"location": "Riyadh",
"latitude": 24.71,
"longitude": 46.67
},
"startsAt": "2026-11-26T09:21:50.131Z",
"endsAt": "2026-11-26T13:21:50.132Z",
"timeZone": "Asia/Riyadh",
"currency": "SAR",
"imageUrls": [
"/uploads/music-event.jpg"
],
"videoUrls": [],
"participants": [
{
"name": "Oud Quartet"
}
],
"organizers": [
{
"name": "Music World"
}
],
"ticketCategories": [
{
"name": "Standard",
"benefits": [
"General admission"
],
"priceMinor": 900,
"capacity": 1,
"maxPerBooking": 1,
"salesStartAt": "2026-11-22T04:21:50.132Z",
"salesEndAt": "2026-11-26T03:21:50.132Z"
}
]
},
"status": 201,
"response": {
"description": "Test catalog",
"imageUrls": [
"/uploads/music-event.jpg"
],
"videoUrls": [],
"participants": [
{
"name": "Oud Quartet"
}
],
"organizers": [
{
"name": "Music World"
}
],
"title": "حفل عود Oud Concert",
"category": "Tarab",
"venueName": "Test Hall",
"startsAt": "2026-11-26T09:21:50.131Z",
"endsAt": "2026-11-26T13:21:50.132Z",
"timeZone": "Asia/Riyadh",
"currency": "SAR",
"location": "Riyadh",
"latitude": 24.71,
"longitude": 46.67,
"status": "published",
"id": "6b02b42e5c78761c2d28aebd",
"distanceKm": null,
"isSaved": false,
"canBook": true,
"ticketCategories": [
{
"id": "6b02b42e5c78761c2d28aebe",
"name": "Standard",
"benefits": [
"General admission"
],
"availableQuantity": 1,
"priceMinor": 900,
"currency": "SAR",
"maxPerBooking": 1,
"salesStartAt": "2026-11-22T04:21:50.132Z",
"salesEndAt": "2026-11-26T03:21:50.132Z",
"isAvailable": true
}
]
}
},
{
"name": "Nearby events",
"method": "GET",
"path": "/events/nearby?latitude=24.71&longitude=46.67&radiusKm=2&category=tarab",
"status": 200,
"response": {
"items": [
{
"description": "Test catalog",
"imageUrls": [
"/uploads/music-event.jpg"
],
"videoUrls": [],
"participants": [
{
"name": "Oud Quartet"
}
],
"organizers": [
{
"name": "Music World"
}
],
"title": "حفل عود Oud Concert",
"category": "Tarab",
"venueName": "Test Hall",
"startsAt": "2026-11-26T09:21:50.131Z",
"endsAt": "2026-11-26T13:21:50.132Z",
"timeZone": "Asia/Riyadh",
"currency": "SAR",
"location": "Riyadh",
"latitude": 24.71,
"longitude": 46.67,
"status": "published",
"id": "6b02b42e5c78761c2d28aebd",
"distanceKm": 0,
"isSaved": false,
"canBook": true,
"ticketCategories": [
{
"id": "6b02b42e5c78761c2d28aebe",
"name": "Standard",
"benefits": [
"General admission"
],
"availableQuantity": 1,
"priceMinor": 900,
"currency": "SAR",
"maxPerBooking": 1,
"salesStartAt": "2026-11-22T04:21:50.132Z",
"salesEndAt": "2026-11-26T03:21:50.132Z",
"isAvailable": true
}
]
}
],
"count": 1,
"page": 1,
"limit": 20,
"total": 1,
"totalPages": 1,
"nextCursor": null,
"pagination": {
"mode": "offset",
"page": 1,
"limit": 20,
"count": 1,
"total": 1,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"nextPage": null,
"previousPage": null,
"currentCursor": null,
"nextCursor": null
}
}
},
{
"name": "Event booking preview",
"method": "POST",
"path": "/events/6b02b42f5c78761c2d28afc8/bookings/preview",
"request": {
"items": [
{
"ticketCategoryId": "6b02b42f5c78761c2d28afc9",
"quantity": 1
}
]
},
"status": 200,
"response": {
"quoteId": "6b02b42f5c78761c2d28afd2",
"kind": "event",
"resourceId": "6b02b42f5c78761c2d28afc8",
"currency": "SAR",
"subtotalMinor": 900,
"feesMinor": 0,
"discountMinor": 0,
"totalMinor": 900,
"lines": [
{
"itemId": "6b02b42f5c78761c2d28afc9",
"title": "Standard",
"quantity": 1,
"unitPriceMinor": 900,
"subtotalMinor": 900
}
],
"payAtCenter": false,
"couponCode": null,
"expiresAt": "2026-11-22T09:26:51.171Z",
"canBook": true,
"paymentMethods": [
"sandbox"
]
}
},
{
"name": "Reserve event ticket",
"method": "POST",
"path": "/events/6b02b42f5c78761c2d28afc8/bookings",
"request": {
"quoteId": "6b02b42f5c78761c2d28afd2",
"notes": "Mobile retry test"
},
"status": 201,
"response": {
"id": "51f33aec7274a1192cc73190",
"kind": "event",
"resourceId": "6b02b42f5c78761c2d28afc8",
"currency": "SAR",
"subtotalMinor": 900,
"feesMinor": 0,
"discountMinor": 0,
"totalMinor": 900,
"lines": [
{
"itemId": "6b02b42f5c78761c2d28afc9",
"title": "Standard",
"quantity": 1,
"unitPriceMinor": 900,
"subtotalMinor": 900
}
],
"payAtCenter": false,
"couponCode": null,
"quoteId": "6b02b42f5c78761c2d28afd2",
"notes": "Mobile retry test",
"status": "pending_payment",
"expiresAt": "2026-11-22T09:36:51.205Z",
"createdAt": "2026-11-22T09:21:51.205Z",
"updatedAt": "2026-11-22T09:21:51.205Z",
"enrollmentId": null,
"tickets": []
}
},
{
"name": "Available methods",
"method": "GET",
"path": "/payments/methods?kind=event&bookingId=51f33aec7274a1192cc73190",
"status": 200,
"response": {
"currency": "SAR",
"items": [
{
"id": "free",
"available": false,
"integration": "automatic",
"feesMinor": null,
"currencies": []
},
{
"id": "pay_at_center",
"available": false,
"integration": "manual_verification",
"feesMinor": null,
"currencies": []
},
{
"id": "sandbox",
"available": true,
"integration": "simulation",
"feesMinor": 0,
"currencies": [
"SAR"
]
},
{
"id": "syriatel_cash",
"available": false,
"integration": null,
"reason": "PROVIDER_NOT_CONFIGURED",
"feesMinor": null,
"currencies": []
},
{
"id": "sham_cash",
"available": false,
"integration": null,
"reason": "PROVIDER_NOT_CONFIGURED",
"feesMinor": null,
"currencies": []
}
]
}
},
{
"name": "Start sandbox payment",
"method": "POST",
"path": "/payments",
"request": {
"kind": "event",
"bookingId": "51f33aec7274a1192cc73190",
"method": "sandbox"
},
"status": 201,
"response": {
"id": "51f33aec7274a1192cc73190",
"bookingId": "51f33aec7274a1192cc73190",
"method": "sandbox",
"kind": "event",
"amountMinor": 900,
"currency": "SAR",
"status": "pending",
"reference": "mw-78b19e2b-7f82-4667-b5e1-a18a849a504b",
"instructions": "Use the sandbox simulation endpoint with this payment ID.",
"createdAt": "2026-11-22T09:21:51.258Z",
"updatedAt": "2026-11-22T09:21:51.258Z"
}
},
{
"name": "Confirm sandbox payment",
"method": "POST",
"path": "/payments/51f33aec7274a1192cc73190/simulate",
"request": {
"outcome": "succeeded"
},
"status": 200,
"response": {
"id": "51f33aec7274a1192cc73190",
"bookingId": "51f33aec7274a1192cc73190",
"method": "sandbox",
"kind": "event",
"amountMinor": 900,
"currency": "SAR",
"status": "succeeded",
"reference": "mw-78b19e2b-7f82-4667-b5e1-a18a849a504b",
"instructions": null,
"createdAt": "2026-11-22T09:21:51.258Z",
"updatedAt": "2026-11-22T09:21:51.384Z"
}
},
{
"name": "Issued event ticket",
"method": "GET",
"path": "/events/6b02b42f5c78761c2d28afc8/bookings/51f33aec7274a1192cc73190",
"status": 200,
"response": {
"id": "51f33aec7274a1192cc73190",
"kind": "event",
"resourceId": "6b02b42f5c78761c2d28afc8",
"currency": "SAR",
"subtotalMinor": 900,
"feesMinor": 0,
"discountMinor": 0,
"totalMinor": 900,
"lines": [
{
"itemId": "6b02b42f5c78761c2d28afc9",
"title": "Standard",
"quantity": 1,
"unitPriceMinor": 900,
"subtotalMinor": 900
}
],
"payAtCenter": false,
"couponCode": null,
"quoteId": "6b02b42f5c78761c2d28afd2",
"notes": "Mobile retry test",
"status": "confirmed",
"expiresAt": null,
"createdAt": "2026-11-22T09:21:51.205Z",
"updatedAt": "2026-11-22T09:21:51.384Z",
"enrollmentId": null,
"tickets": [
{
"id": "efe1fea9-4264-46cd-85af-47d64b0444c6",
"verificationCode": "a79e426d-db03-4da7-b25d-e35fdaa071a4",
"ticketCategoryId": "6b02b42f5c78761c2d28afc9"
}
]
}
},
{
"name": "Expired payment",
"method": "GET",
"path": "/payments/899782401d2f036bc4244fa1",
"status": 200,
"response": {
"id": "899782401d2f036bc4244fa1",
"bookingId": "899782401d2f036bc4244fa1",
"method": "sandbox",
"kind": "event",
"amountMinor": 900,
"currency": "SAR",
"status": "expired",
"reference": "mw-17611f33-99a4-4327-965a-71f5bad7a7b5",
"instructions": null,
"createdAt": "2026-11-22T09:21:51.914Z",
"updatedAt": "2026-11-22T09:21:51.975Z"
}
},
{
"name": "Create linked instructor",
"method": "POST",
"path": "/superadmin/music-world/instructors",
"request": {
"name": "Oud Teacher",
"yearsExperience": 5,
"linkedUserId": "6b02b4205c78761c2d28ae12"
},
"status": 201,
"response": {
"bio": "",
"yearsExperience": 5,
"name": "Oud Teacher",
"linkedUserId": "6b02b4205c78761c2d28ae12",
"id": "6b02b4305c78761c2d28b0b8"
}
},
{
"name": "Create online course",
"method": "POST",
"path": "/superadmin/music-world/courses",
"request": {
"title": "Oud lessons",
"category": "Oud",
"mode": "online",
"instructorId": "6b02b4305c78761c2d28b0b8",
"priceMinor": 1200,
"currency": "SAR",
"lessons": [
{
"title": "Oud technique",
"durationSeconds": 100,
"objectives": [
"Practice"
],
"videoKey": "private-lessons/oud.mp4"
}
]
},
"status": 201,
"response": {
"description": "",
"title": "Oud lessons",
"category": "Oud",
"mode": "online",
"priceMinor": 1200,
"currency": "SAR",
"instructorId": "6b02b4305c78761c2d28b0b8",
"instructorName": "Oud Teacher",
"status": "published",
"lessonCount": 1,
"id": "6b02b4305c78761c2d28b0bb",
"instituteId": null,
"isSaved": false,
"isOwned": false,
"canAccess": false,
"canPurchase": true,
"enrollmentId": null,
"rating": null,
"reviewsCount": 0,
"instructor": {
"bio": "",
"yearsExperience": 5,
"name": "Oud Teacher",
"linkedUserId": "6b02b4205c78761c2d28ae12",
"id": "6b02b4305c78761c2d28b0b8"
},
"offerings": [],
"canBook": false
}
},
{
"name": "Discounted course preview",
"method": "POST",
"path": "/courses/6b02b4305c78761c2d28b0bb/purchases/preview",
"request": {
"couponCode": "test20"
},
"status": 200,
"response": {
"quoteId": "6b02b4305c78761c2d28b0e2",
"kind": "online_course",
"resourceId": "6b02b4305c78761c2d28b0bb",
"currency": "SAR",
"subtotalMinor": 1200,
"feesMinor": 0,
"discountMinor": 240,
"totalMinor": 960,
"lines": [
{
"itemId": "6b02b4305c78761c2d28b0bb",
"title": "Oud lessons",
"quantity": 1,
"unitPriceMinor": 1200,
"subtotalMinor": 1200
}
],
"payAtCenter": false,
"couponCode": "TEST20",
"expiresAt": "2026-11-22T09:26:52.360Z",
"canBook": true,
"paymentMethods": [
"sandbox"
]
}
},
{
"name": "Confirmed online course purchase",
"method": "GET",
"path": "/courses/6b02b4305c78761c2d28b0bb/purchases/9a20ed4dc682ce6849b2f0f4",
"status": 200,
"response": {
"id": "9a20ed4dc682ce6849b2f0f4",
"kind": "online_course",
"resourceId": "6b02b4305c78761c2d28b0bb",
"currency": "SAR",
"subtotalMinor": 1200,
"feesMinor": 0,
"discountMinor": 240,
"totalMinor": 960,
"lines": [
{
"itemId": "6b02b4305c78761c2d28b0bb",
"title": "Oud lessons",
"quantity": 1,
"unitPriceMinor": 1200,
"subtotalMinor": 1200
}
],
"payAtCenter": false,
"couponCode": "TEST20",
"quoteId": "6b02b4305c78761c2d28b0e2",
"notes": "",
"status": "confirmed",
"expiresAt": null,
"createdAt": "2026-11-22T09:21:52.414Z",
"updatedAt": "2026-11-22T09:21:52.534Z",
"enrollmentId": "9a20ed4dc682ce6849b2f0f4",
"tickets": []
}
},
{
"name": "Authorized lessons",
"method": "GET",
"path": "/courses/6b02b4305c78761c2d28b0bb/lessons",
"status": 200,
"response": {
"enrollmentId": "9a20ed4dc682ce6849b2f0f4",
"items": [
{
"description": "",
"objectives": [
"Practice"
],
"title": "Oud technique",
"durationSeconds": 100,
"courseId": "6b02b4305c78761c2d28b0bb",
"position": 1,
"id": "6b02b4305c78761c2d28b0bd",
"hasVideo": true
}
]
}
},
{
"name": "Temporary lesson video",
"method": "GET",
"path": "/courses/6b02b4305c78761c2d28b0bb/lessons/6b02b4305c78761c2d28b0bd/playback",
"status": 200,
"response": {
"url": "http://127.0.0.1:4000/api/v1/courses/6b02b4305c78761c2d28b0bb/lessons/6b02b4305c78761c2d28b0bd/video?expires=1795339612&signature=REDACTED",
"expiresAt": "2026-11-22T09:26:52.000Z",
"requiresAuthorization": true,
"supportsRange": true
}
},
{
"name": "Course progress",
"method": "GET",
"path": "/courses/6b02b4305c78761c2d28b0bb/progress",
"status": 200,
"response": {
"enrollmentId": "9a20ed4dc682ce6849b2f0f4",
"completedLessons": 1,
"lessonCount": 1,
"progressPercentage": 100,
"isComplete": true,
"items": [
{
"lessonId": "6b02b4305c78761c2d28b0bd",
"positionSeconds": 30,
"completed": true,
"completedAt": "2026-11-22T09:21:52.692Z",
"revision": 2,
"updatedAt": "2026-11-22T09:21:52.720Z"
}
]
}
},
{
"name": "Student review",
"method": "PUT",
"path": "/courses/6b02b4305c78761c2d28b0bb/review",
"request": {
"courseRating": 5,
"instructorRating": 4,
"comment": "Good"
},
"status": 200,
"response": {
"eligible": true,
"canEdit": true,
"review": {
"id": "c7e0e3d895641ee49ae6c4b8",
"courseRating": 5,
"instructorRating": 4,
"comment": "Good",
"createdAt": "2026-11-22T09:21:52.755Z",
"updatedAt": "2026-11-22T09:21:52.755Z"
}
}
},
{
"name": "Instructor details",
"method": "GET",
"path": "/instructors/6b02b4305c78761c2d28b0b8",
"status": 200,
"response": {
"bio": "",
"yearsExperience": 5,
"name": "Oud Teacher",
"linkedUserId": "6b02b4205c78761c2d28ae12",
"id": "6b02b4305c78761c2d28b0b8",
"rating": 5,
"reviewsCount": 1,
"studentsCount": 1,
"coursesCount": 1,
"courses": {
"items": [
{
"description": "",
"title": "Oud lessons",
"category": "Oud",
"mode": "online",
"priceMinor": 1200,
"currency": "SAR",
"instructorId": "6b02b4305c78761c2d28b0b8",
"instructorName": "Oud Teacher",
"status": "published",
"lessonCount": 1,
"id": "6b02b4305c78761c2d28b0bb",
"instituteId": null,
"isSaved": false,
"isOwned": true,
"canAccess": true,
"canPurchase": false,
"enrollmentId": "9a20ed4dc682ce6849b2f0f4",
"rating": 4,
"reviewsCount": 1
}
],
"count": 1,
"page": 1,
"limit": 20,
"total": 1,
"totalPages": 1,
"nextCursor": null,
"pagination": {
"mode": "offset",
"page": 1,
"limit": 20,
"count": 1,
"total": 1,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"nextPage": null,
"previousPage": null,
"currentCursor": null,
"nextCursor": null
}
}
}
},
{
"name": "Institute with location",
"method": "POST",
"path": "/superadmin/music-world/institutes",
"status": 201,
"response": {
"description": "",
"title": "Oud Institute",
"location": "Riyadh",
"latitude": 24.7,
"longitude": 46.7,
"id": "6b02b4305c78761c2d28b163"
}
},
{
"name": "Scheduled course offerings",
"method": "GET",
"path": "/courses/6b02b4305c78761c2d28b167/offerings",
"status": 200,
"response": {
"items": [
{
"id": "6b02b4305c78761c2d28b16f",
"name": "Group instruction",
"benefits": [],
"availableQuantity": 1,
"priceMinor": 2500,
"currency": "SAR",
"maxPerBooking": 1,
"salesStartAt": "2026-11-22T04:21:52.948Z",
"salesEndAt": "2026-11-26T03:21:52.948Z",
"isAvailable": true,
"startsAt": "2026-11-26T09:21:52.948Z",
"endsAt": "2026-11-26T13:21:52.948Z",
"timeZone": "Asia/Riyadh",
"instituteId": "6b02b4305c78761c2d28b163",
"schedule": [
"Saturday 10:00–12:00"
],
"payAtCenter": true,
"canBook": true,
"courseId": "6b02b4305c78761c2d28b167",
"institute": {
"description": "",
"title": "Oud Institute",
"location": "Riyadh",
"latitude": 24.7,
"longitude": 46.7,
"id": "6b02b4305c78761c2d28b163"
}
}
]
}
},
{
"name": "Confirmed in-person booking",
"method": "GET",
"path": "/courses/6b02b4305c78761c2d28b167/bookings/eafe0c34f66d84d97e85fbd7",
"status": 200,
"response": {
"id": "eafe0c34f66d84d97e85fbd7",
"kind": "in_person_course",
"resourceId": "6b02b4305c78761c2d28b167",
"currency": "SAR",
"subtotalMinor": 2500,
"feesMinor": 0,
"discountMinor": 0,
"totalMinor": 2500,
"lines": [
{
"itemId": "6b02b4305c78761c2d28b16f",
"title": "Group instruction",
"quantity": 1,
"unitPriceMinor": 2500,
"subtotalMinor": 2500
}
],
"payAtCenter": true,
"couponCode": null,
"quoteId": "6b02b4315c78761c2d28b188",
"notes": "",
"status": "confirmed",
"expiresAt": null,
"createdAt": "2026-11-22T09:21:53.065Z",
"updatedAt": "2026-11-22T09:21:53.152Z",
"enrollmentId": "eafe0c34f66d84d97e85fbd7",
"tickets": []
}
},
{
"name": "Talent counters and role buckets",
"method": "GET",
"path": "/users/discover?q=Oud&hasAvatarOnly=false",
"status": 200,
"response": {
"items": [
{
"stageName": "",
"disabledReason": "",
"bio": "",
"avatar": "",
"coverImage": "",
"location": "",
"latitude": null,
"longitude": null,
"experienceLevel": "beginner",
"musicGenres": [],
"favoriteInstruments": [],
"favoriteMaqamat": [],
"preferredMood": "",
"followingCount": 0,
"postsCount": 0,
"isVerified": false,
"isOnline": false,
"lastSeenAt": null,
"shopName": "",
"shopDescription": "",
"shopImageUrls": [],
"shopLocation": "",
"shopLatitude": null,
"shopLongitude": null,
"shopPhone": "",
"shopLogoUrl": "",
"shopCoverUrl": "",
"shopDeliveryAvailable": false,
"shopDeliveryFee": 0,
"shopTrialPolicy": "",
"shopReturnPolicy": "",
"shopPolicies": "",
"_id": "6b02b4205c78761c2d28ae12",
"name": "Oud Partner",
"username": "oud_partner",
"role": "user",
"isDisabled": false,
"isPrivate": false,
"musicRoles": [
"composer"
],
"followersCount": 3,
"listenCount": 8,
"collaborationsCount": 1
},
{
"stageName": "",
"disabledReason": "",
"bio": "",
"avatar": "",
"coverImage": "",
"location": "",
"latitude": null,
"longitude": null,
"experienceLevel": "beginner",
"musicGenres": [],
"favoriteInstruments": [],
"favoriteMaqamat": [],
"preferredMood": "",
"followingCount": 0,
"postsCount": 0,
"isVerified": false,
"isOnline": false,
"lastSeenAt": null,
"shopName": "",
"shopDescription": "",
"shopImageUrls": [],
"shopLocation": "",
"shopLatitude": null,
"shopLongitude": null,
"shopPhone": "",
"shopLogoUrl": "",
"shopCoverUrl": "",
"shopDeliveryAvailable": false,
"shopDeliveryFee": 0,
"shopTrialPolicy": "",
"shopReturnPolicy": "",
"shopPolicies": "",
"_id": "6b02b4205c78761c2d28ae11",
"name": "Oud Learner",
"username": "oud_learner",
"role": "user",
"isDisabled": false,
"isPrivate": false,
"musicRoles": [
"composer"
],
"followersCount": 2,
"listenCount": 0,
"collaborationsCount": 0
}
],
"count": 2,
"page": 1,
"limit": 20,
"total": 2,
"totalPages": 1,
"nextCursor": null,
"pagination": {
"mode": "offset",
"page": 1,
"limit": 20,
"count": 2,
"total": 2,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"nextPage": null,
"previousPage": null,
"currentCursor": null,
"nextCursor": null
},
"roleBuckets": [
{
"role": "instrumentalist",
"count": 0
},
{
"role": "singer",
"count": 0
},
{
"role": "composer",
"count": 2
},
{
"role": "lyricist",
"count": 0
},
{
"role": "producer",
"count": 0
},
{
"role": "arranger",
"count": 0
}
],
"activeRole": null
}
},
{
"name": "Unified search with independent pages",
"method": "GET",
"path": "/discovery/search?q=Oud&type=users,posts,hashtags,courses,lessons,opportunities&pages=users:2&limit=1&appVersion=1.2.0",
"status": 200,
"response": {
"query": "Oud",
"types": [
"users",
"posts",
"hashtags",
"courses",
"lessons",
"opportunities"
],
"unavailableTypes": [],
"groups": {
"users": {
"items": [
{
"_id": "6b02b4205c78761c2d28ae11",
"name": "Oud Learner",
"stageName": "",
"username": "oud_learner",
"avatar": "",
"isVerified": false,
"isDisabled": false,
"followersCount": 2,
"followingCount": 0,
"isFollowing": false
}
],
"count": 1,
"page": 2,
"limit": 1,
"total": 3,
"totalPages": 3,
"nextCursor": null,
"pagination": {
"mode": "offset",
"page": 2,
"limit": 1,
"count": 1,
"total": 3,
"totalPages": 3,
"hasNextPage": true,
"hasPreviousPage": true,
"nextPage": 3,
"previousPage": 1,
"currentCursor": null,
"nextCursor": null
}
},
"posts": {
"items": [
{
"repostOfPostId": null,
"quoteOfPostId": null,
"contentTop": "",
"contentBottom": "",
"videoUrl": "",
"hlsUrl": "",
"audioUrl": "",
"durationSeconds": null,
"thumbnailUrl": "",
"thumbnailVariants": null,
"style": "",
"maqam": "",
"rhythmSignature": "",
"waveformPeaks": [
52,
36,
38,
40,
42,
52,
46,
47,
49,
68,
59,
51,
52,
52,
52,
60,
51,
50,
67,
48,
55,
45,
43,
41,
39,
45,
35,
51,
31,
29,
35,
25,
23,
21,
20,
27,
36,
17,
16,
16,
24,
16,
17,
17,
18,
37,
21,
22,
24,
26,
36,
30,
32,
34,
54,
46,
40,
42,
44,
46,
55,
49,
50,
69,
51,
60,
52,
52,
52,
51,
58,
49,
66,
47,
45,
51,
41,
39,
37,
35,
41,
49,
29,
27,
25,
31,
21,
20,
19,
18,
35,
16,
16,
16,
16,
25,
17,
18,
19,
39,
30,
24,
26,
28,
30,
40,
34,
36,
56,
40,
50,
44,
46,
47,
49,
58,
51,
69,
52,
52,
60,
52,
51,
50,
49,
56,
65,
45,
43,
41,
47,
37,
35,
33,
31,
47,
27,
25,
23,
21,
28,
19,
18,
17,
34,
24,
16,
16,
17,
17,
26,
19,
21,
40,
24,
34,
28,
30,
32,
34
],
"waveformPeaksPreview": [
52,
36,
38,
40,
42,
52,
46,
47,
49,
68,
59,
51,
52,
52,
52,
60,
51,
50,
67,
48,
55,
45,
43,
41,
39,
45,
35,
51,
31,
29,
35,
25,
23,
21,
20,
27,
36,
17,
16,
16,
24,
16,
17,
17,
18,
37,
21,
22,
24,
26,
36,
30,
32,
34,
54,
46,
40,
42,
44,
46,
55,
49,
50,
69,
51,
60,
52,
52,
52,
51,
58,
49,
66,
47,
45,
51,
41,
39,
37,
35,
41,
49,
29,
27,
25,
31,
21,
20,
19,
18,
35,
16,
16,
16,
16,
25,
17,
18,
19,
39,
30,
24,
26,
28,
30,
40,
34,
36,
56,
40,
50,
44,
46,
47,
49,
58,
51,
69,
52,
52,
60,
52,
51,
50,
49,
56,
65,
45,
43,
41,
47,
37,
35,
33,
31,
47,
27,
25,
23,
21,
28,
19,
18,
17,
34,
24,
16,
16,
17,
17,
26,
19,
21,
40,
24,
34,
28,
30,
32,
34
],
"waveformPeaksDetailed": [
89,
84,
78,
73,
67,
62,
62,
63,
64,
64,
65,
66,
66,
67,
68,
68,
69,
70,
70,
71,
72,
75,
78,
82,
85,
89,
87,
85,
83,
81,
79,
79,
79,
80,
80,
80,
81,
82,
82,
83,
84,
89,
95,
100,
100,
100,
100,
100,
100,
100,
100,
99,
96,
93,
91,
88,
87,
88,
88,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
91,
93,
96,
99,
100,
100,
98,
95,
92,
88,
87,
87,
86,
86,
86,
89,
95,
100,
100,
100,
100,
100,
98,
92,
85,
83,
86,
88,
91,
93,
92,
89,
86,
82,
79,
77,
76,
75,
75,
74,
73,
73,
72,
71,
71,
70,
69,
68,
68,
67,
68,
70,
72,
74,
76,
76,
72,
69,
66,
62,
62,
67,
73,
78,
84,
85,
78,
71,
65,
58,
53,
52,
51,
51,
50,
50,
52,
54,
56,
58,
59,
56,
52,
49,
45,
43,
42,
41,
41,
40,
39,
39,
38,
37,
36,
36,
36,
35,
35,
35,
35,
37,
39,
42,
44,
47,
50,
53,
56,
59,
61,
55,
48,
42,
35,
29,
29,
28,
28,
28,
27,
27,
27,
27,
27,
27,
30,
33,
36,
38,
41,
38,
36,
33,
30,
27,
28,
28,
28,
29,
29,
29,
29,
29,
29,
29,
29,
30,
30,
30,
31,
37,
43,
50,
56,
62,
59,
53,
48,
42,
37,
36,
37,
37,
37,
38,
38,
39,
40,
40,
41,
42,
42,
43,
44,
44,
47,
50,
54,
57,
61,
60,
58,
56,
54,
52,
52,
52,
53,
54,
55,
55,
56,
57,
57,
58,
63,
70,
76,
83,
90,
91,
88,
85,
82,
80,
77,
75,
73,
71,
69,
69,
70,
70,
71,
72,
72,
73,
74,
74,
75,
76,
76,
77,
78,
78,
80,
83,
86,
89,
93,
93,
91,
89,
87,
85,
84,
84,
85,
85,
85,
88,
95,
100,
100,
100,
100,
100,
100,
97,
91,
88,
92,
95,
98,
100,
100,
99,
96,
93,
91,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
88,
88,
87,
88,
90,
93,
95,
97,
98,
95,
92,
89,
86,
85,
91,
97,
100,
100,
100,
100,
99,
92,
86,
80,
80,
79,
78,
78,
77,
79,
81,
83,
85,
87,
83,
80,
77,
73,
70,
69,
69,
68,
67,
67,
66,
65,
65,
64,
63,
63,
62,
61,
61,
60,
62,
64,
66,
68,
70,
73,
76,
78,
81,
84,
77,
70,
64,
57,
50,
49,
48,
48,
47,
46,
46,
45,
44,
44,
43,
45,
47,
49,
51,
53,
50,
47,
43,
40,
36,
36,
35,
35,
35,
34,
34,
34,
33,
33,
33,
32,
32,
32,
31,
31,
35,
41,
47,
53,
58,
55,
49,
42,
36,
29,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
29,
32,
35,
39,
42,
41,
38,
36,
33,
30,
29,
30,
30,
30,
31,
31,
31,
32,
32,
32,
36,
43,
50,
57,
63,
65,
62,
59,
56,
53,
50,
48,
46,
44,
42,
41,
42,
43,
43,
44,
45,
45,
46,
47,
47,
48,
49,
50,
50,
51,
53,
56,
59,
63,
66,
68,
66,
64,
62,
60,
58,
59,
60,
60,
61,
64,
70,
77,
84,
91,
94,
89,
83,
78,
72,
69,
73,
76,
80,
83,
85,
83,
81,
79,
77,
75,
76,
77,
77,
78,
79,
79,
79,
80,
80,
81,
81,
82,
83,
83,
84,
87,
90,
93,
96,
99,
97,
94,
92,
89,
88,
94,
100,
100,
100,
100,
100,
100,
100,
95,
89,
89,
89,
89,
89,
89,
92,
94,
97,
100,
100,
100,
97,
95,
92,
89,
89,
88,
88,
88,
87,
87,
87,
86,
86,
86,
85,
85,
85,
84,
84,
86,
88,
91,
93,
95,
98,
100,
100,
100,
100,
100,
99,
92,
85,
78,
76,
76,
75,
74,
74,
73,
72,
72,
71,
70,
72,
74,
76,
78,
80,
78,
75,
71,
68,
64,
63,
62,
61,
61,
60,
59,
59,
58,
57,
57,
56,
55,
55,
54,
53,
56,
62,
67,
73,
78,
76,
69,
63,
56,
49,
46,
45,
44,
44,
43,
42,
42,
41,
40,
40,
39,
38,
38,
37,
36,
37,
40,
42,
44,
47,
46,
43,
40,
37,
34,
32,
32,
32,
31,
31,
31,
30,
30,
30,
29,
31,
37,
43,
49,
55,
57,
53,
50,
47,
43,
40,
37,
35,
32,
29,
27,
27,
27,
27,
27,
27,
28,
28,
28,
29,
29,
29,
29,
29,
29,
30,
33,
36,
39,
42,
44,
42,
39,
37,
34,
33,
33,
34,
35,
35,
37,
44,
50,
56,
63,
68,
62,
57,
51,
46,
41,
45,
48,
52,
55,
58,
56,
54,
52,
50,
48,
49,
49,
50,
51,
51,
52,
53,
53,
54,
55,
55,
56,
57,
57,
58
],
"imageUrls": [],
"taggedUserIds": [],
"mentionUsernames": [],
"mentionedUserIds": [],
"collaboratorIds": [],
"location": "",
"latitude": null,
"longitude": null,
"processingStatus": "ready",
"likesCount": 0,
"commentsCount": 0,
"savesCount": 0,
"shareCount": 0,
"viewCount": 0,
"commentsDisabled": false,
"commentsFollowersOnly": false,
"commentFilterKeywords": [],
"pinnedToProfile": false,
"isArchived": false,
"moderationStatus": "active",
"moderationReason": "",
"isDeleted": false,
"deletedAt": null,
"deletedBy": null,
"_id": "6b02b4315c78761c2d28b1b9",
"authorId": {
"stageName": "",
"avatar": "",
"isVerified": false,
"_id": "6b02b4205c78761c2d28ae12",
"name": "Oud Partner",
"username": "oud_partner",
"isDisabled": false,
"isPrivate": false
},
"visibility": "public",
"postType": "audio",
"playCount": 8,
"content": "Oud",
"hashtags": [
"oud"
],
"createdAt": "2026-11-22T09:21:53.233Z",
"imageItems": [],
"imageVariants": [],
"mentionedUsers": [],
"isPinned": false,
"media": {
"mediaType": "audio",
"displayUrl": "",
"thumbnailUrl": "",
"thumbnailVariants": null,
"preferredPlaybackUrl": "",
"hlsUrl": "",
"videoUrl": "",
"audioUrl": "",
"images": [],
"durationSeconds": null,
"waveformPeaks": [
89,
62,
65,
68,
72,
89,
79,
80,
85,
100,
100,
88,
89,
89,
90,
100,
88,
87,
100,
84,
92,
78,
73,
70,
68,
76,
62,
85,
54,
50,
59,
43,
39,
36,
35,
47,
61,
29,
27,
27,
41,
27,
29,
29,
32,
62,
37,
38,
41,
45,
61,
52,
55,
60,
90,
79,
69,
72,
75,
79,
93,
84,
87,
100,
89,
100,
90,
89,
89,
88,
98,
85,
100,
81,
77,
87,
70,
67,
63,
60,
70,
84,
50,
46,
43,
53,
36,
34,
33,
32,
57,
28,
27,
27,
28,
42,
30,
31,
34,
64,
51,
41,
45,
48,
52,
67,
59,
63,
93,
70,
85,
75,
79,
81,
84,
99,
88,
100,
89,
89,
100,
89,
87,
86,
84,
95,
100,
78,
74,
70,
79,
64,
60,
57,
54,
77,
48,
43,
40,
36,
46,
33,
31,
30,
56,
41,
28,
27,
29,
30,
44,
33,
37,
67,
42,
58,
48,
51,
55,
58
],
"waveformPeaksPreview": [
89,
62,
65,
68,
72,
89,
79,
80,
85,
100,
100,
88,
89,
89,
90,
100,
88,
87,
100,
84,
92,
78,
73,
70,
68,
76,
62,
85,
54,
50,
59,
43,
39,
36,
35,
47,
61,
29,
27,
27,
41,
27,
29,
29,
32,
62,
37,
38,
41,
45,
61,
52,
55,
60,
90,
79,
69,
72,
75,
79,
93,
84,
87,
100,
89,
100,
90,
89,
89,
88,
98,
85,
100,
81,
77,
87,
70,
67,
63,
60,
70,
84,
50,
46,
43,
53,
36,
34,
33,
32,
57,
28,
27,
27,
28,
42,
30,
31,
34,
64,
51,
41,
45,
48,
52,
67,
59,
63,
93,
70,
85,
75,
79,
81,
84,
99,
88,
100,
89,
89,
100,
89,
87,
86,
84,
95,
100,
78,
74,
70,
79,
64,
60,
57,
54,
77,
48,
43,
40,
36,
46,
33,
31,
30,
56,
41,
28,
27,
29,
30,
44,
33,
37,
67,
42,
58,
48,
51,
55,
58
],
"waveformPeaksDetailed": [
89,
84,
78,
73,
67,
62,
62,
63,
64,
64,
65,
66,
66,
67,
68,
68,
69,
70,
70,
71,
72,
75,
78,
82,
85,
89,
87,
85,
83,
81,
79,
79,
79,
80,
80,
80,
81,
82,
82,
83,
84,
89,
95,
100,
100,
100,
100,
100,
100,
100,
100,
99,
96,
93,
91,
88,
87,
88,
88,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
91,
93,
96,
99,
100,
100,
98,
95,
92,
88,
87,
87,
86,
86,
86,
89,
95,
100,
100,
100,
100,
100,
98,
92,
85,
83,
86,
88,
91,
93,
92,
89,
86,
82,
79,
77,
76,
75,
75,
74,
73,
73,
72,
71,
71,
70,
69,
68,
68,
67,
68,
70,
72,
74,
76,
76,
72,
69,
66,
62,
62,
67,
73,
78,
84,
85,
78,
71,
65,
58,
53,
52,
51,
51,
50,
50,
52,
54,
56,
58,
59,
56,
52,
49,
45,
43,
42,
41,
41,
40,
39,
39,
38,
37,
36,
36,
36,
35,
35,
35,
35,
37,
39,
42,
44,
47,
50,
53,
56,
59,
61,
55,
48,
42,
35,
29,
29,
28,
28,
28,
27,
27,
27,
27,
27,
27,
30,
33,
36,
38,
41,
38,
36,
33,
30,
27,
28,
28,
28,
29,
29,
29,
29,
29,
29,
29,
29,
30,
30,
30,
31,
37,
43,
50,
56,
62,
59,
53,
48,
42,
37,
36,
37,
37,
37,
38,
38,
39,
40,
40,
41,
42,
42,
43,
44,
44,
47,
50,
54,
57,
61,
60,
58,
56,
54,
52,
52,
52,
53,
54,
55,
55,
56,
57,
57,
58,
63,
70,
76,
83,
90,
91,
88,
85,
82,
80,
77,
75,
73,
71,
69,
69,
70,
70,
71,
72,
72,
73,
74,
74,
75,
76,
76,
77,
78,
78,
80,
83,
86,
89,
93,
93,
91,
89,
87,
85,
84,
84,
85,
85,
85,
88,
95,
100,
100,
100,
100,
100,
100,
97,
91,
88,
92,
95,
98,
100,
100,
99,
96,
93,
91,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
89,
88,
88,
87,
88,
90,
93,
95,
97,
98,
95,
92,
89,
86,
85,
91,
97,
100,
100,
100,
100,
99,
92,
86,
80,
80,
79,
78,
78,
77,
79,
81,
83,
85,
87,
83,
80,
77,
73,
70,
69,
69,
68,
67,
67,
66,
65,
65,
64,
63,
63,
62,
61,
61,
60,
62,
64,
66,
68,
70,
73,
76,
78,
81,
84,
77,
70,
64,
57,
50,
49,
48,
48,
47,
46,
46,
45,
44,
44,
43,
45,
47,
49,
51,
53,
50,
47,
43,
40,
36,
36,
35,
35,
35,
34,
34,
34,
33,
33,
33,
32,
32,
32,
31,
31,
35,
41,
47,
53,
58,
55,
49,
42,
36,
29,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
27,
29,
32,
35,
39,
42,
41,
38,
36,
33,
30,
29,
30,
30,
30,
31,
31,
31,
32,
32,
32,
36,
43,
50,
57,
63,
65,
62,
59,
56,
53,
50,
48,
46,
44,
42,
41,
42,
43,
43,
44,
45,
45,
46,
47,
47,
48,
49,
50,
50,
51,
53,
56,
59,
63,
66,
68,
66,
64,
62,
60,
58,
59,
60,
60,
61,
64,
70,
77,
84,
91,
94,
89,
83,
78,
72,
69,
73,
76,
80,
83,
85,
83,
81,
79,
77,
75,
76,
77,
77,
78,
79,
79,
79,
80,
80,
81,
81,
82,
83,
83,
84,
87,
90,
93,
96,
99,
97,
94,
92,
89,
88,
94,
100,
100,
100,
100,
100,
100,
100,
95,
89,
89,
89,
89,
89,
89,
92,
94,
97,
100,
100,
100,
97,
95,
92,
89,
89,
88,
88,
88,
87,
87,
87,
86,
86,
86,
85,
85,
85,
84,
84,
86,
88,
91,
93,
95,
98,
100,
100,
100,
100,
100,
99,
92,
85,
78,
76,
76,
75,
74,
74,
73,
72,
72,
71,
70,
72,
74,
76,
78,
80,
78,
75,
71,
68,
64,
63,
62,
61,
61,
60,
59,
59,
58,
57,
57,
56,
55,
55,
54,
53,
56,
62,
67,
73,
78,
76,
69,
63,
56,
49,
46,
45,
44,
44,
43,
42,
42,
41,
40,
40,
39,
38,
38,
37,
36,
37,
40,
42,
44,
47,
46,
43,
40,
37,
34,
32,
32,
32,
31,
31,
31,
30,
30,
30,
29,
31,
37,
43,
49,
55,
57,
53,
50,
47,
43,
40,
37,
35,
32,
29,
27,
27,
27,
27,
27,
27,
28,
28,
28,
29,
29,
29,
29,
29,
29,
30,
33,
36,
39,
42,
44,
42,
39,
37,
34,
33,
33,
34,
35,
35,
37,
44,
50,
56,
63,
68,
62,
57,
51,
46,
41,
45,
48,
52,
55,
58,
56,
54,
52,
50,
48,
49,
49,
50,
51,
51,
52,
53,
53,
54,
55,
55,
56,
57,
57,
58
],
"isPlayable": false
},
"isLiked": false,
"liked": false,
"isSaved": false,
"saved": false,
"isFollowingAuthor": false
}
],
"count": 1,
"page": 1,
"limit": 1,
"total": 2,
"totalPages": 2,
"nextCursor": null,
"pagination": {
"mode": "offset",
"page": 1,
"limit": 1,
"count": 1,
"total": 2,
"totalPages": 2,
"hasNextPage": true,
"hasPreviousPage": false,
"nextPage": 2,
"previousPage": null,
"currentCursor": null,
"nextCursor": null
}
},
"hashtags": {
"items": [
{
"tag": "oud",
"postsCount": 1
}
],
"count": 1,
"page": 1,
"limit": 1,
"total": 1,
"totalPages": 1,
"nextCursor": null,
"pagination": {
"mode": "offset",
"page": 1,
"limit": 1,
"count": 1,
"total": 1,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"nextPage": null,
"previousPage": null,
"currentCursor": null,
"nextCursor": null
}
},
"courses": {
"items": [
{
"description": "",
"title": "Oud lessons",
"category": "Oud",
"mode": "online",
"priceMinor": 1200,
"currency": "SAR",
"instructorId": "6b02b4305c78761c2d28b0b8",
"instructorName": "Oud Teacher",
"status": "published",
"lessonCount": 1,
"id": "6b02b4305c78761c2d28b0bb",
"instituteId": null,
"isSaved": false,
"isOwned": true,
"canAccess": true,
"canPurchase": false,
"enrollmentId": "9a20ed4dc682ce6849b2f0f4",
"rating": 4,
"reviewsCount": 1
}
],
"count": 1,
"page": 1,
"limit": 1,
"total": 2,
"totalPages": 2,
"nextCursor": null,
"pagination": {
"mode": "offset",
"page": 1,
"limit": 1,
"count": 1,
"total": 2,
"totalPages": 2,
"hasNextPage": true,
"hasPreviousPage": false,
"nextPage": 2,
"previousPage": null,
"currentCursor": null,
"nextCursor": null
}
},
"lessons": {
"items": [
{
"description": "",
"objectives": [
"Practice"
],
"title": "Oud technique",
"durationSeconds": 100,
"courseId": "6b02b4305c78761c2d28b0bb",
"position": 1,
"id": "6b02b4305c78761c2d28b0bd",
"hasVideo": true
}
],
"count": 1,
"page": 1,
"limit": 1,
"total": 1,
"totalPages": 1,
"nextCursor": null,
"pagination": {
"mode": "offset",
"page": 1,
"limit": 1,
"count": 1,
"total": 1,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"nextPage": null,
"previousPage": null,
"currentCursor": null,
"nextCursor": null
}
},
"opportunities": {
"items": [
{
"description": "",
"title": "Oud ensemble rehearsal",
"category": "Oud",
"linkedUserId": "6b02b4205c78761c2d28ae12",
"closesAt": "2026-11-23T09:21:53.312Z",
"id": "6b02b4315c78761c2d28b1ca"
}
],
"count": 1,
"page": 1,
"limit": 1,
"total": 1,
"totalPages": 1,
"nextCursor": null,
"pagination": {
"mode": "offset",
"page": 1,
"limit": 1,
"count": 1,
"total": 1,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"nextPage": null,
"previousPage": null,
"currentCursor": null,
"nextCursor": null
}
}
}
}
},
{
"name": "Empty results",
"method": "GET",
"path": "/discovery/search?q=zzzznoresults&type=events",
"status": 200,
"response": {
"query": "zzzznoresults",
"types": [
"events"
],
"unavailableTypes": [],
"groups": {
"events": {
"items": [],
"count": 0,
"page": 1,
"limit": 20,
"total": 0,
"totalPages": 1,
"nextCursor": null,
"pagination": {
"mode": "offset",
"page": 1,
"limit": 20,
"count": 0,
"total": 0,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false,
"nextPage": null,
"previousPage": null,
"currentCursor": null,
"nextCursor": null
}
}
}
}
},
{
"name": "Unsupported discovery result type",
"method": "GET",
"path": "/discovery/search?q=Oud&type=bad",
"status": 400,
"response": {
"statusCode": 400,
"code": "INVALID_DISCOVERY_TYPE",
"message": "Select valid result types or use all"
}
}
]
}