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

GeonetworkResolver Resource

The GeonetworkResolver is a "middle tier" to perform queries to D4Science's Geonetwork services. See more at https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#Geonetwork_Resolver

GET /geonetwork/{scope}/{mode}/{visibility}/{filterKey}/{filterValue}/$${remainPath}

Gets the geonetwork request criteria. Creates a request criteria from input parameter pathWithoutGN. The parameter pathWithoutGN should be an ordered string (like REST request): SCOPE/MODE/VISIBILITY/OWNER/$$ SCOPE must be: ROOT|VO|VRE MODE must be: MODE VISIBILITY must be: VISIBILITY OWNER (is optional): filter by owner

Request Parameters
name type description
filterKey path the filter key
filterValue path the filter value
mode path the mode
remainPath path the remain path
scope path the scope
visibility path the visibility
resetcache query the reset cache
resetcachedscope query the reset scope
Response Body
media type data type description
application/json object (JSON) the geonetwork request criteria

Example

Request
GET /geonetwork/{scope}/{mode}/{visibility}/{filterKey}/{filterValue}/$${remainPath}
Content-Type: */*
Accept: application/json

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

                
...
                
              

POST /geonetwork/{scope}/{mode}/{visibility}/{filterKey}/{filterValue}/$${remainPath}

The post request

Request Parameters
name type description
filterKey path the filter key
filterValue path the filter value
mode path the mode
remainPath path the remain path
scope path the scope
visibility path the visibility
resetcache query the reset cache
resetcachedscope query the reset scope
Response Body
media type data type description
application/json object (JSON) the response

Example

Request
POST /geonetwork/{scope}/{mode}/{visibility}/{filterKey}/{filterValue}/$${remainPath}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 201 Created
Content-Type: application/json

                
...