How to get playbacks via Web API?

Discussion and chat related to developing interfaces to the Titan software using the web API.

Moderator: Moderators

icke_siegen
Posts: 1087
Joined: 02 Jul 2010, 10:29
Location: Siegen, Germany
Contact:

How to get playbacks via Web API?

Postby icke_siegen » 18 Nov 2021, 10:19

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)
revenant
Posts: 51
Joined: 25 Oct 2020, 14:36

Re: How to get playbacks via Web API?

Postby revenant » 22 Nov 2021, 11:29

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>
icke_siegen
Posts: 1087
Joined: 02 Jul 2010, 10:29
Location: Siegen, Germany
Contact:

Re: How to get playbacks via Web API?

Postby icke_siegen » 22 Nov 2021, 13:16

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?
revenant
Posts: 51
Joined: 25 Oct 2020, 14:36

Re: How to get playbacks via Web API?

Postby revenant » 22 Nov 2021, 13:47

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.

Who is online

Users browsing this forum: No registered users and 5 guests