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

SMPIDResolver Resource

The SMPIDResolver is able to give HTTP resolution to storage resource by ID. See more at https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#SMP-ID_Resolver

GET /id

Gets the smpid.

Request Parameters
name type description constraints
content-disposition query the content disposition  
contentType query the content type  
fileName query the file name  
smp-id query the smp id  
validation query the validation required boolean
Response Body
media type data type description
application/json object (JSON) the smpid

Example

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

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

                
...