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

PartheosRegistryResolver Resource

The PartheosRegistryResolver. See more at https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#Parthenos_URL_Resolver

POST /parthenos_registry

To get a normalized item name from a Parthenos URL. It applies a normalization function to get from an input Parthenos URL an item name that is catalogue compliant.

Request Body
media type data type description
application/json ParthenosRequest (JSON) the json request
Response Body
media type data type description
text/plain object the response

Example

Request
POST /parthenos_registry
Content-Type: application/json
Accept: text/plain

                
{
  "entity_name" : "..."
}
                
              
Response
HTTP/1.1 201 Created
Content-Type: text/plain

                
...
                
              

GET /parthenos_registry/{provider}/{path}{remainPath}

Resolve parthenos url. To resolve an "item" from a Parthenos URL stored in the Parthenos Catalogue at https://ckan-parthenos.d4science.org/

Request Parameters
name type description
path path the path
provider path the provider
remainPath path the remain path
Response Body
media type data type description
application/json object (JSON) the response

Example

Request
GET /parthenos_registry/{provider}/{path}{remainPath}
Content-Type: */*
Accept: application/json

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

                
...