D4Science D4Science Don't have a D4Science account? Create one

StorageHubResolver Resource

The StorageHubResolver provides the methods either to download a gCube Workspace file or to get its metadata. See more at https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#STORAGE-HUB_Resolver

GET /shub/{id}

Download.

Request Parameters
name type description
id path
content-disposition query
Response Body
media type data type description
application/json object (JSON) the response

Example

Request
GET /shub/{id}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
...
                
              

HEAD /shub/{id}

Gets the metadata.

Request Parameters
name type description
id path
Response Body
media type data type description
application/json object (JSON) the metadata

Example

Request
HEAD /shub/{id}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
...