DBServer / HTTP API: Can I view / edit playlist information?

Hi,
when scheduling items in the Database → Playlist view, is there any way to query that information using the DBServer HTTP API?
Ideally, I would also like to add to a playlist for a specific date / time using the API as well.
Best regards,
Johannes

http://Server-IP:Port/api/v1/playlists/2024/05/15/12/0?station=1

2024 = Year
05 = Month
15 = Day
12 = Hour

You mean that?

Perfect, thank you!
For creating a new entry in the playlist, do I just post to the same endpoint? And what would be the payload?
BTW, is the API documentation available somewhere and I just missed it?

So there is no official API for this/ I can’t find one right now. But mAirList itself then creates the playlist via “PUT” not with “POST”. Unfortunately, I don’t know what exactly has to go in there.

It will look like this:

[15/May/2024:18:13:19 +0200] "PUT /api/v1/playlists/2024/05/15/19/0 HTTP/1.1" 200 - "-" "Mozilla/5.0 (compatible; mAirList/7.4.0.5700)"

The only option here would be to work with the REST API and remote commands of mAirList:

https://wiki.mairlist.com/reference:remote_control_commands#playlist

There are commands such as:

  • PLAYLIST 1 LOAD <Filename> - Load a playlist file.
  • PLAYLIST 1 INSERT <Filename> - Insert a playlist file after the current item.

But this is only available from the Advanced Server Edition onwards:

https://mairlist.com/en/buy/#mairliststd