Schedules

get

Return upcoming and currently ongoing schedule entries.

Path parameters
station_idany ofRequired
integer · int64Optional
or
string · stringOptional
Query parameters
nowstringOptional

The date/time to compare schedule items to. Defaults to the current date and time.

rowsintegerOptional

The number of upcoming/ongoing schedule entries to return. Defaults to 5.

Responses
200

Success

application/json
get
GET /api/station/{station_id}/schedule HTTP/1.1
Host: listen.dovafm.xyz
Accept: */*
[
  {
    "id": 1,
    "type": "playlist",
    "name": "Example Schedule Entry",
    "title": "Example Schedule Entry",
    "description": "Playlist: Example Schedule Entry",
    "start_timestamp": 1609480800,
    "start": "020-02-19T03:00:00-06:00",
    "end_timestamp": 1609480800,
    "end": "020-02-19T05:00:00-06:00",
    "is_now": true
  }
]

Last updated