Skip to content

API Documentation

Clément Champouillon edited this page May 7, 2023 · 1 revision

Base API url: http://bc.talpa-world.com:3000

GET /schedule

This endpoint will return an array of all the upcoming scheduled events. Scheduled events can have a static media to be played, or just information of what's planned, with an EPG (Electronic Program Guide).

Check out ScheduledEvent entity, Media entity and EPG entity for more info.

[200] Example response:

[
    {
        "id": 5,
        "startTime": "2023-05-07T07:35:00.000Z",
        "duration": null,
        "media": {
            "id": 1,
            "name": "Ocean",
            "filename": "4f4acc0a63bf4e5b07173b3cf044fc8f",
            "length": 20
        }
    }
]
Clone this wiki locally