Page 1 of 1

How to get playbacks via Web API?

Posted: 18 Nov 2021, 10:19
by icke_siegen
Is it possible to get playbacks via Web API, i.e. similar to

Code: Select all

http://localhost:4430/titan/handles

but with all the playbacks and their details? I want to iterate through the playbacks and display some of their properties (e.g. SpeedSource or SizeSource)

Re: How to get playbacks via Web API?

Posted: 22 Nov 2021, 11:29
by revenant
I suspect you are already aware of this but just in case, it does not seem possible to get information on all playbacks with the level of detail you require from a single request.

You can get basic detail for all playbacks with -

Code: Select all

http://localhost:4430/titan/handles/Playbacks

Then, for each playback within the array where more detail is available you'll find a url within the "Links:" you can follow or you can construct the url from the <titanId:> as it is simply -

Code: Select all

http://localhost:4430/titan/playback/<titanId>

Re: How to get playbacks via Web API?

Posted: 22 Nov 2021, 13:16
by icke_siegen
Thanks for answering. That's exactly what I finally did, see https://www.avolites.de/wiki/webapi/exa ... ck_masters

The follow-on question now is: is there a way to get playbacks which are stored on the titan Mobile Fadrewing, or which are unassigned but still in the show library?

Re: How to get playbacks via Web API?

Posted: 22 Nov 2021, 13:47
by revenant
I don't know about unassigned and couldn't guess at it either. I don't use the mobile wing either but -

Code: Select all

http://localhost:4430/titan/handles/MobileWingAPlaybacks

Might get you what you need, the wing probably has to be present/connected otherwise you'll most likely get an "Request for unknown group" response.

For Arena, Sapphire Touch and fader wings on Tiger Touch, you can use -

Code: Select all

http://localhost:4430/titan/handles/SapphireWingATop

And -

Code: Select all

http://localhost:4430/titan/handles/SapphireWingABottom

You can also specify the page (which is zero indexed) with -

Code: Select all

http://localhost:4430/titan/handles/SapphireWingATop/<page>

Example to get the top row of playbacks on page 2 of the extended faders of an Arena -

Code: Select all

http://localhost:4430/titan/handles/SapphireWingATop/1


WingB is also a valid option.