Personal Cloud Storage SDK for Java Version 1.7 Release Guide

Release date 05/04/2017

Contents

Introduction

The following features are included in this release. Refer to the sections below for detailed listing of supported APIs.

The SDK Java Kepler File Explorer
Authentication and authorization Authentication and authorization
Account information Account information
Contacts Contacts
Favorites
File and folder operations File and folder operations
File upload File upload
Playlists
Shares*
Tags
Trash
Virtual Folder

* getShares and postShare methods now include links to shared files in their responses.

The SDK

Supported API Calls

CloudClient class is the gateway to access Personal Cloud Storage APIs. Included in this class are all main methods that you can use to make the API calls.

  • Authentication and Authorization

    • getAuthorize - starts the OAuth 2.0 authorization flow.
    • getToken - exchanges the authorization code for an access token after the user has authorized the app.
  • Contacts

    • createContact - creates a new contact.
    • deleteContact - deletes specified contact.
    • getContacts - retrieves the list of contacts.
    • updateContact - updates specified contact.
  • Favorites

    • deleteFavorites - deletes favorites.
    • getFavorites - retrieves favorites.
    • setFavorites - adds to favorites.
  • File and Folder Operations

    • copy - copies a file or folder.
    • createFolder - creates a folder.
    • delete - deletes a file or folder.
    • getFile - retrieves the content of a file.
    • getFullview - retrieves the information about all files and folders.
    • getFullviewStreaming - obtains the current user’s fullview data and streams the response to reduce memory consumption.
    • getMetadata - obtains metadata for files and folders in a user’s folder.
    • getSearch - used to search for files ans folders.
    • getThumbnail - retrieves a thumbnails.
    • move - moves a file or folder.
    • rename - renames a file or folder.
  • File Upload

    • getFileuploadIntent - initiates file upload intent.
    • postCommit - completes chunked file upload.
    • postFileChunk - chunked file upload
    • postFileUpload - upload a file’s binary content.
  • Playlists

    • deletePlaylist - deletes a playlist.
    • deletePlaylistItem - removes an item from a playlist.
    • getPlaylist - retrieves a specific playlist.
    • getPlaylists - retrieves all playlists.
    • getPlaylistItem - retrieves the binary content of a specific item from a playlist.
    • getPlaylistItems - retrieves detailed metadata for all the items in a playlis.
    • postPlaylist - creates a playlist.
    • postPlaylistItems - adds items to a playlist.
    • putPlaylist - updates a playlist’s name.
    • putPlaylistItems - updates the list of items in a playlist.
  • Shares

    • deleteShare - deletes a share.
    • getShares - retrieves a list of shares.
    • postShare - creates a new share.
  • Tags

    • deleteTags - removes tags.
    • getTags - retreives tags.
    • setTags - adds tags.
  • Trash

    • deleteTrash - permanently deletes files and folders from trash can.
    • getTrash - retrieves deleted files and folders.
    • restore - restores deleted files and folders.
  • Virtual Folder

    • createVirtualFolder - creates a virutal folder.
    • deleteVirtualFolder - deletes a virtual folder.
    • renameVirtualFolder - renames a virtual folder.

Classes

Exceptions

Interfaces

Java Kepler File Explorer

CloudClient class is the gateway to access Personal Cloud Storage APIs. Included in this class are all main methods that you can use to make the API calls.

Supported API Calls

  • Authentication and Authorization

    • getAuthorize - starts the OAuth 2.0 authorization flow.
    • getToken - exchanges the authorization code for an access token after the user has authorized the app.
  • Contacts

    • getContacts - retrieves the list of contacts.
  • File and Folder Operations

    • getFile - retrieves the content of a file.
    • getFullview - retrieves the information about all files and folders.
    • getMetadata - obtains metadata for files and folders in a user’s folder.

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.