symbolLibs


URI

<plot_uri>/symbolLibs[.<format>]

Supported methods

GET, HEAD

Parent resource

plot

Introduction

The symbolLibs resource is used to get the symbol library list of the server.

Supported Methods:

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/plot-TY/rest/plot/symbolLibs.rjson

GET request

Get the status information of all symbol libraries.

Request parameter

None

Response structure

GET request in symbolLibs resource is a symbol library set in the entity of response messaging, where the structure of a single symbol library is as follows:

Field Type Description
libID int The symbol library ID.

Response example

Execute GET request for symbolLibs resource: http://supermapiserver:8090/iserver/services/plot-TY/rest/plot/symbolLibs.rjson. The returned representation in rjson format is as follows:

[

    421,

    22

]

HEAD request

Returns the same HTTP response header as the GET request, but does not have the response entity. It can get the metadata information in the response header without transferring the whole response content. Metadata information includes media type, character encoding, compression encoding, entity content length, and so on.

The HEAD request can be used to determine whether the symbolLibs resource exists or whether the client has authority to access the symbolLibs resource. It can quickly determine whether the symbolLibs resource supports the representation in <format> format by performing HEAD request on URI with <format>.

See