protocol.MovePlaylistItemRequest
This request allows you to move items around in the specified playlist. Negative values reference from the end of the queue in reverse. i.e -1 is the last item in the list then -2 etc. Source and destinations indices are supplied as parameters.
Parameter | Optional | Max Allowed | DataType | Notes |
---|---|---|---|---|
cid | no | 1 | text | client id. used to track origin of any particular message |
id | no | 1 | Database id | playlist id |
i0 | no | 1 | integer | source index |
i1 | no | 1 | integer | destination index |
tok | yes | 1 | api token | client token for privileged access. request from ideaworks |
Example xml:
<sireq> <cid>Mum</cid> <fn> <movePlaylistItem> <id>1</id> <i0>0</i0> <i1>-1</i1> <tok>fggew32gfg24gf45f3g54</tok> </movePlaylistItem> </fn> </sireq>