URI
<tiles_uri>/datas[.<format>]
Supported methods
Parent resource
Child resources
Introduction
The datas resource represents ID collection of imported cache tiles data package.
Supported Methods:
- GET: Get ID collection of imported cache tiles data package.
- HEAD: Check whether the datas resource exists or whether there is a permission to access the resource.
Supported output formats: rjson, json, html, xml.
Resource hierarchy
HTTP request methods
Implement the HTTP request on the following URI, where supermapiserver is the server name, with rjson being the output format.
http://supermapiserver:8090/iserver/services/datacatalog/rest/datacatalog/tiles/datas.rjson
GET request
Gets ID collection of imported cache tiles data package.
Request parameter
None
Field | Type | Description |
datasetNames | List<String> | Name list of imported data. |
datasetCount | int | Dataset count of imported data package. |
childUriList | List<String> | URI list to visit data package. |
Response example
The returned rjson format representation after implementing the GET request on the datas resource:
{
"childUriList": [
"http://localhost:8090/iserver/services/datacatalog/rest/datacatalog/tiles/datas/d6020e10d1e15c3a97c8bda69a07def6_fa92a80b_c917_4489_8acb_b5ed1e40e909",
"http://localhost:8090/iserver/services/datacatalog/rest/datacatalog/tiles/datas/d6020e10d1e15c3a97c8bda69a07def6_bf270012_6a0b_4725_9a39_af5f5c064f50"
],
"datasetCount": 2,
"datasetNames": [
"d6020e10d1e15c3a97c8bda69a07def6_fa92a80b_c917_4489_8acb_b5ed1e40e909",
"d6020e10d1e15c3a97c8bda69a07def6_bf270012_6a0b_4725_9a39_af5f5c064f50"
]
}
HEAD request
Asks for the response identical to the one that would correspond to a GET request, but without the response body. This is useful for retrieving meta-information contained in response headers, without having to transport the entire content. The meta-information includes the media-type, content-encoding, transfer-encoding, content-length, etc.
HEAD request can be used to check whether the datas resource exists, or whether the the client has the permission to access it. It can also determine if the datas resource supports an output format <format> if performed on a URI with .<format> included.