Skip to main content
POST
/
v1
/
video
/
seasons:batchGet
BatchGetSeasons
curl --request POST \
  --url https://sdk.anghami.com/v1/video/seasons:batchGet \
  --header 'Content-Type: application/json' \
  --data '
{
  "seasonIdList": [
    {
      "value": "<string>"
    }
  ]
}
'
{
  "results": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.sdk.anghami.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string

OAuth 2.0 Bearer token for user-authenticated requests. Format: Bearer <access_token>. Optional if x-api-key is provided.

Example:

"Bearer eyJhbGciOiJSUzI1NiIs..."

x-api-key
string

API key for server-to-server access without user context. Optional if Authorization is provided.

Example:

"ang_live_..."

Accept-Language
string

Preferred locale for localized content (BCP 47). Determines which language variant is returned for LocalizedString fields.

Example:

"ar"

Body

application/json

BatchGetSeasonsRequest is the request message for retrieving multiple seasons by ID.

seasonIdList
object[]
Required array length: 1 - 100 elements

Response

Successful response

BatchGetSeasonsResponse contains the results for each requested season ID. Each ID maps to either the season entity or an error.

results
object

Map from requested season ID to the result. Keys match the IDs from the request.