D4Science D4Science Don't have a D4Science account? Create one Could not find what you are looking for? Contact us.

SMPResolver Resource

The SMPResolver is able to give HTTP resolution to SMP protocol URIs See more at https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#SMP_Resolver

GET /smp

Gets the smpuri.

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

Example

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

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

                
...