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

CatalogueResolver Resource

The CatalogueResolver is able to get/resolve a link to a "Catalogue Entity" stored in one of the D4Science Catalogue's instances. A Catalogue Entity is either a "group" or an "organization" or a "product" of D4Science Data Catalogue. See more at https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#CATALOGUE_Resolver

POST /{entityContext}

Create a Catalogue Link

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

Example

Request
POST /{entityContext}
Content-Type: application/json
Accept: text/plain

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

                
...
                
              

GET /{entityContext}/{vreName}/{entityName}

Resolve an entity of the Catalogue

Request Parameters
name type description constraints
entityContext path the entity context regex: ctlg(-(o|g|p|d))?
entityName path the entity name  
vreName path the vre name  
Response Body
media type data type description
application/json object (JSON) the response

Example

Request
GET /{entityContext}/{vreName}/{entityName}
Content-Type: */*
Accept: application/json

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

                
...