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
Download.
| name | type | description |
|---|---|---|
| id | path | |
| content-disposition | query |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | the response |
GET /shub/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Gets the metadata.
| name | type | description |
|---|---|---|
| id | path |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | the metadata |
HEAD /shub/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...