- Home
- Resources
- GeoportalResolver
The GeoportalResolver is able to get/resolve a link to "Geoportal Viewer" or
"Geoportal Entry" Application.
See more at https://gcube.wiki.gcube-system.org/gcube/URI_Resolver#Geoportal_Resolver
GET /geo
Resolve data viewer link.
Request Parameters
| name |
type |
description |
| gcube_scope |
query |
the gcube scope |
| item_id |
query |
the item id |
| item_type |
query |
the item type |
| res |
query |
the resolve as |
Response Body
| media type |
data type |
description |
| application/json |
object
(JSON) |
the response |
Example
Request
GET /geo
Content-Type: */*
Accept: application/json
...
Response
HTTP/1.1 200 OK
Content-Type: application/json
...
POST /geo
Post geoportal. Create a Geoportal Link to "Data-Viewer" App
Request Body
| media type |
data type |
description |
| application/json |
GeoportalRequest
(JSON) |
the json request |
Response Body
| media type |
data type |
description |
| text/plain |
object
|
the response |
Example
Request
POST /geo
Content-Type: application/json
Accept: text/plain
{
"gcube_scope" : "...",
"item_type" : "...",
"item_id" : "...",
"query_string" : "..."
}
Response
HTTP/1.1 201 Created
Content-Type: text/plain
...
POST /geo/{targetAppId}
Post geoportal. Create a Geoportal Link to "Data-Viewer" or "Data-Entry" App
Request Parameters
| name |
type |
description |
| targetAppId |
path |
the target app id |
Request Body
| media type |
data type |
description |
| application/json |
GeoportalRequest
(JSON) |
the json request |
Response Body
| media type |
data type |
description |
| text/plain |
object
|
the response |
Example
Request
POST /geo/{targetAppId}
Content-Type: application/json
Accept: text/plain
{
"gcube_scope" : "...",
"item_type" : "...",
"item_id" : "...",
"query_string" : "..."
}
Response
HTTP/1.1 201 Created
Content-Type: text/plain
...
GET /geo/{vre_name}/{usecase_id}/{project_id}
Resolve geoportal. Resolve a Geoportal Link to "Data-Viewer" App
Request Parameters
| name |
type |
description |
| project_id |
path |
the project ID |
| usecase_id |
path |
the ucd ID |
| vre_name |
path |
the vre name |
| res |
query |
the resolve as |
Response Body
| media type |
data type |
description |
| application/json |
object
(JSON) |
the response |
Example
Request
GET /geo/{vre_name}/{usecase_id}/{project_id}
Content-Type: */*
Accept: application/json
...
Response
HTTP/1.1 200 OK
Content-Type: application/json
...
GET /geo/{targetAppId}/{vre_name}/{usecase_id}/{project_id}
Resolve geoportal. Resolve a Geoportal Link to "Data-Viewer" or "Data-Entry"
App
Request Parameters
| name |
type |
description |
| project_id |
path |
the project ID |
| targetAppId |
path |
the target app id |
| usecase_id |
path |
the ucd ID |
| vre_name |
path |
the vre name |
| res |
query |
the resolve as |
Response Body
| media type |
data type |
description |
| application/json |
object
(JSON) |
the response |
Example
Request
GET /geo/{targetAppId}/{vre_name}/{usecase_id}/{project_id}
Content-Type: */*
Accept: application/json
...
Response
HTTP/1.1 200 OK
Content-Type: application/json
...