Version 1.6 - Updated on 03/23/2017
addToPlaylist(requestObject)
Adds one or more items to a playlist.
requestObject
— callbacks and parametersrequestObject.uid
— ID of the playlist which is returned from a playlists callrequestObject.add
— Array of paths to be added to the playlistrequestObject.success
— Success callback function. Returns the response in the first argument.requestObject.failure
— Failure callback function. Returns the response in the first argument.createPlaylist(requestObject)
Creates a playlist.
requestObject
— Callbacks and parametersrequestObject.name
— Name of the playlistrequestObject.paths
— Array of paths to itemsrequestObject.type
— Type of the playlist. Can be image, music, video, image, or image-video.requestObject.success
— Success callback function. Returns the response in the first argument.requestObject.failure
— Failure callback function. Returns the response in the first argument.deletePlaylist(requestObject)
Deletes a playlist.
requestObject
— Callbacks and parametersrequestObject.uid
— ID of the playlist which is returned from a playlists call.requestObject.success
— Success callback function. Return the response in the first argument.requestObject.failure
— Failure callback function. Return the response in the first argument.deleteFromPlaylist(requestObject)
Deletes an item from a playlist.
requestObject
— Callbacks and parametersrequestObject.uid
— ID of the playlist which is returned from a playlists callrequestObject.itemuid
— ID of the item to be removed from the playlistrequestObject.success
— Success callback function. Returns the response in the first argument.requestObject.failure
— Failure callback function. Return the response in the first argument.getPlaylistContent(uid, itemuid)
Downloads a file stored inside a playlist.
requestObject
— Callbacks and parametersrequestObject.uid
— ID of the playlist which is returned from a playlists call.requestObject.itemuid
— ID of the item to be downloaded.requestObject.success
— Success callback function. Returns the response in the first argument.requestObject.failure
— Failure callback function. Returns the response in the first argument.playlist(requestObject)
Retrieves a playlist.
requestObject
— callbacks and parametersrequestObject.uid
— ID of the playlist which is returned from a playlists call.requestObject.success
— Success callback function. Returns the response in the first argument.requestObject.failure
— Failure callback function. Returns the response in the first argument.playlistItems(requestObject)
Retrieves playlist's contents.
requestObject
— Callbacks and parametersrequestObject.uid
— ID of the playlist which is returned from a playlists call.requestObject.success
— Success callback function. Returns the response in the first argument.requestObject.failure
— Failure callback function. Returns the response in the first argument.playlists(requestObject)
Retrieves user's playlists.
requestObject
— Callbacks and parametersrequestObject.success
— Success callback function. Returns the response in the first argument.requestObject.failure
— Failure callback function. Returns the response in the first argument.updatePlaylist(requestObject)
Updates a playlist's metadata. In order to update a playlist's contents, clients should use updatePlaylistDefinition
.
requestObject
— Callbacks and parametersrequestObject.name
— The new name of the playlistrequestObject.type
— The new type of the playlist. Can be image, music, video, image, or image-video.requestObject.success
— Success callback function. Returns the response in the first argument.requestObject.failure
— Failure callback function. Returns the response in the first argument.updatePlaylistDefinition(requestObject)
Updates playlist definition and content.
requestObject
— Callbacks and parametersrequestObject.uid
— ID of the playlist which is returned from a playlists call.requestObject.name
— New name of the playlistrequestObject.paths
— New array of paths to place in the playlistrequestObject.type
— New type of the playlist. Can be image, music, video, image or image-video.requestObject.success
— Success callback function. Returns the response in the first argument.requestObject.failure
— Failure callback function. Returns the response in the first argument.Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.