Skip to main content
GET
/
api
/
v1
/
lineup
List broadcast schedules
curl --request GET \
  --url https://api.example.com/api/v1/lineup \
  --header 'Authorization: Bearer <token>'
{
  "next": "http://api.example.org/accounts/?cursor=cD00ODY%3D\"",
  "previous": "http://api.example.org/accounts/?cursor=cj0xJnA9NDg3",
  "results": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "medium": "TV",
      "channel": "TV47",
      "month": 5,
      "year": 2026,
      "title": "TV47 MAY 2026",
      "version": 1,
      "effective_from": "2026-05-01",
      "effective_to": "2026-05-31",
      "uploaded_by": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "name": "John Doe",
        "employee_number": "EMP-001"
      },
      "slot_count": {
        "2026-05-01": {
          "day": "THU",
          "count": 12
        }
      },
      "metadata": {},
      "created_at": "2026-05-01T08:00:00Z",
      "updated_at": "2026-05-01T08:00:00Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.capedigital.co.ke/llms.txt

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

Authorizations

Authorization
string
header
required

Enter your JWT token in the format: Bearer

Query Parameters

cursor
string

The pagination cursor value.

page_size
integer

Number of results to return per page.

Response

200 - application/json
results
object[]
required
next
string<uri> | null
Example:

"http://api.example.org/accounts/?cursor=cD00ODY%3D\""

previous
string<uri> | null
Example:

"http://api.example.org/accounts/?cursor=cj0xJnA9NDg3"