SpotifyApiSpotify LogoJS

PlaylistReorderOptions src/Interface.ts#L216

The options structure required for [PlaylistManager.reorderItems] function.


Properties:

NameTypeDescription
insertBeforenumberThe position where the items should be inserted.
OPTIONAL
rangeLengthnumberThe amount of items to be reordered.
OPTIONAL
rangeStartnumberThe position of the first item to be reordered.
OPTIONAL
snapshotIDstringThe playlist’s snapshot ID against which you want to make the changes.
OPTIONAL
urisstring[]The uris of the tracks or episodes.
OPTIONAL