Cue handles only exist in relation to certain user interface functions and are only created as required by the UI. This means that if you were to try and get a list of the cue handles in the system it would likely be incomplete.
You can get a list of the cue IDs in a playback by calling:
Code: Select all
http://localhost:4430/titan/handles/Playbacks?verbose=true
. Cues can be found under the
information property of the returned object.
If you want to get a specific cue handle you can call
Code: Select all
http://localhost:4430/titan/script/2/Playbacks/GetPlaybackCueHandle?handle=1&cueNumber=2.0
which will create the handle if it does not exist already. Unfortunately this takes a cue number (not the ID) so would make it difficult to use with the function above. The only valid properties returned about the cue handle are the
titanId and the
legend, all the other properties are are either not relevant or not filled in.
You can get the cue handle using the cue ID like this
Code: Select all
http://localhost:4430/titan/script/2/Handles/GetHandleFromId?handleXmlNodeName=handle&id=1825
however in this case if the handle does not already exist, nothing will be returned even if the cue exists.
I have added task #86484 to allow cue information to be retrieved.