REST Interface - get / read status

Hi,

I’m looking to set up a simple PHP script to execute some commands with REST (e.g. automation start, automation break, etc).

I’ve read the Wiki page and some examples in the German forum.

However, is it possible to read the status of a playlist, its contents, etc with HTTP GET? For example - to know whether a playlist is in assist or auto before sending a command.

Many thanks,

Hi Jim,
on the mentioned Wiki page, you can see all possible get parameters. They are all related to the encoder and it’s status.
So, no you can not read the Automation or Assist status.

The feedback via REST inferface is very limited.
All you can do is, run a script on mairlist, that somehow answers the feedack directly into a status file on your server or into a mySQL Database.

Best Regards
Malte

I don’t think I have a complete list here right now, but there’s much more possible than just sending commands.

For the playlist content:

http://127.0.0.1:9300/playlist/0/content

The default is XML, but JSON works as well:

http://127.0.0.1:9300/playlist/0/content.json

I think I shall add JSONP as well…

Very interesting, is there a lot of changes between 3.x and 4.x? As I’m still on the old version, I’m interested, if there are some hidden features as well.

Thanks
Malte

Sorry for picking up the old entry, but is there a possibilty to read the cartwall? How would the path look like?