createShare
and getShares
methods, defined in the CloudAPI
class, now include links to shared resources in their responses.Contacts methods, defined in the CloudAPI
class, have been enhanced to allow users to create, update, and delete contacts:
createContact
- allows you to create a new contact.deleteContact
- allows you to delete a contact.updateContact
- allows you to update a contact.getRefreshToken
method has been added to the CloudAPI
class to allow you to retrieve a refresh token.
getContacts
API, defined in the CloudAPI
class, has been enhanced with new query parameters to enable pagination and search:count
page
query
sort
CloudAPI
class now allow you to create, delete, and remove favorites:deleteFavorites
- deletes favorites.getFavorites
- retrieves favorites.setFavorites
- adds to favorites.CloudAPI
class now allow you to create, delete, and rename virtual folders:createVirtualFolder
- creates a virutal folder.deleteVirtualFolder
- deletes a virtual folder.renameVirtualFolder
- renames a virtual folder.setLogLevel
method now allows you to set a desired log level.authorize
method now includes an additional parameter, AuthorizationCallback
, an interface you must implement to receive a success or error response.AccountInformation
has been enhanced with the unique ID for the device and the mobile phone number associated with the account.getAccessToken
method has been added to allow users to retrieve the access token.Tags methods, defined in the CloudAPI
class now allow you to retrieve, update, and delete tags:
getTags
- retrieves tags.setTags
- updates tags. -deleteTags
- deletes tags.Shares methods, defined in the CloudAPI
class now allow you to create, list, and delete shares:
createShare
- creates shares.deleteShare
- deletes shares.getShares
- lists shares.Media methods defined in the CloudAPI
class have been designed to add the following functionality:
getArtist()
- retrieves music artists.getAudios()
- retrieves audio files.getAudioPlaylists()
- retrieves audio playlists.getDocuments()
- retrieves documents.getGenre()
- retrieves music genres.getMusicAlbums()
- retrieves music albums.getPhotos()
- retrieves image files.getPhotoAlbums()
- retrieves albums.getVideos()
- retrieves video files.The first release of the Android SDK supports the following methods that have been defined in the CloudAPI
class:
Authentication and Authorization
authorize
- authenticates the user and authorizes the application to access user’s cloud content through Verizon Personal Cloud Storage APIs.getAccessToken
- retrieves the access token to call Verizon Personal Cloud Storage APIs.hasAuthorization
- verifies if the user is authorized.logout
- logs the user out from the current session.refreshToken
- refreshes the access token when expired.Account Information
getAccountInfo
- retrieves the information about user’s cloud account.Contacts
getContacts
- retrieves the contacts information stored under user’s cloud storage account.File and Folder Operations
DELETE /fops/delete
- deletes a file or a folder at a specified path.POST /fops/copy
- creates a copy of a file or folder.POST /fops/createfolder
- creates a folder at a given path.POST /fops/move
| Moves a file or folder.POST /fops/rename
- renames a file or a folder.downloadFile
- retrieves the binary content of a file.getMetadata
- obtains metadata for files and folders in a user’s folder.getThumbnail
-retrieves the thumbnail for a file stored under user’s cloud storage account.search
searches for files of folders. The SDK supports both Lucene and SQL query syntax.uploadFile
- uploads a file to user’s Verizon Personal Cloud Storage account.|Playlists
addToPlaylist
-adds items to an existing playlist.createPlaylist
- creates a playlist.deletePlaylist
- deletes an existing playlist.deletePlaylistItem
- deletes an item from a playlist.updatePlaylist
- updates a playlist’s name.updatePlaylistDefinition
- updates current playlist definition.Trash Can
getTrash
- retrieves a list of files and folders that have been deleted.purgeTrash
- purges all the files and folder that are in a deleted state.restoreTrash
- restores files and folders from trash to their original location.Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.