Difference between revisions of "StorageHub REST API"

From Gcube Wiki
Jump to: navigation, search
(API)
(Key features)
Line 7: Line 7:
  
 
'''StorageHub REST interface''' supports the following operations:
 
'''StorageHub REST interface''' supports the following operations:
 +
* '''Retrieve WS''': to retrieve the user Workspace;
 
* '''Create Folder''': to create a folder in the given parent folder;
 
* '''Create Folder''': to create a folder in the given parent folder;
 
* '''Delete''': to remove a file or a folder (including subfolders);
 
* '''Delete''': to remove a file or a folder (including subfolders);

Revision as of 11:40, 12 November 2018

Overview

The StorageHub REST interface provides a simple access to basic SH features.

Key features

Users must use the personal to access the REST interface. They can access just their own files and the folders shared with them.

StorageHub REST interface supports the following operations:

  • Retrieve WS: to retrieve the user Workspace;
  • Create Folder: to create a folder in the given parent folder;
  • Delete: to remove a file or a folder (including subfolders);
  • Download: to download a file or a folder in ZIP format;
  • Get Public Link: to get a public link of a file;
  • List: to list the content of a folder;
  • Unzip: to upload a zip file in a specific folder;
  • Upload file: to upload a file in a folder.

API

Create Folder