DovaFM Documentation
WebsiteAdd Discord Bot
  • Welcome to the DovaFM Documentation!
  • DovaFM Stream
    • Embed Widgets
    • Public Pages
    • Radio & Playlist Streams
  • DovaFM API
    • Now Playing
    • Stations
      • General
      • Broadcasting
      • Song Requests
      • Service Control
      • History
      • HLS Streams
      • Listeners
      • Schedules
      • Media
      • Mount Points
      • Playlists
      • Podcasts
      • Queue
      • Remote Relays
      • SFTP Users
      • Streamers/DJs
      • Web Hooks
    • Administration
      • Custom Fields
      • Users
      • Relays
      • Roles
      • Settings
      • Stations
      • Storage Locations
      • CPU Status
    • Miscellaneous
      • Status
      • Time
  • DovaFM Discord Bot
    • Information
    • Commands
  • DovaFM Staff
    • Staff Members
Powered by GitBook
On this page
  1. DovaFM API
  2. Stations

Schedules

PreviousListenersNextMedia

Last updated 7 months ago

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
404
Record not found.
application/json
500
A generic exception has occurred.
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
  }
]