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
Create a Catalogue Link
| media type | data type | description |
|---|---|---|
| application/json | CatalogueRequest (JSON) | the json request |
| media type | data type | description |
|---|---|---|
| text/plain | object | the response |
POST /{entityContext}
Content-Type: application/json
Accept: text/plain
{
"gcube_scope" : "...",
"entity_context" : "...",
"entity_name" : "..."
}
HTTP/1.1 201 Created
Content-Type: text/plain
...
Resolve an entity of the Catalogue
| 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 |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | the response |
GET /{entityContext}/{vreName}/{entityName}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...