Acquiring Server Configuration

GeoCrew

The GeoView Server API supports acquiring GeoView Server instance configuration information. Accessing this method requires Admin permissions.


Request API method URI definition:


HTTP GET http://api.geoview.be/geoservice/v1/server/config


Request HTTP URI parameters:


Parameter

Description

token

Access token (returned by this API method).


Example HTTP request URI:


HTTP GET http://api.geoview.be/geoservice/v1/config/info?token=3dc718f2-ab20-4f41-86e1-72abcc1810c1


Possible resulting HTTP status codes:


Value

Description

200

API request succeeded and result(s) were returned.

401

Supplied API request access token not valid.


Resulting meta-data structure and example of JSON response:


[

  {

     "category":"Server",

     "constraints":null,

     "editable":true,

     "id":"gvs-uploadpath",

     "text":"D:\Upload",

     "title":"Upload path",

     "description":"Server root upload path.",

     "type":"String",

     "value":"D:\\Upload",

     "visible":true

     "view":0

  },{

     ...

  }

]


Description of possible resulting server configuration properties:


Name

Scope

Description

gvs-uploadpath

Server

File upload path

about-url

Web Client

Web client URL for 'About' top menu link.