Acquiring Host Information

GeoCrew

The GeoView Server API supports acquiring GeoView Server instance host computer's detailed information. Accessing this method requires Admin permissions.


Request API method URI definition:


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


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/server/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":"Computer",

     "constraints":null,

     "editable":false,

     "id":"name",

     "text":"SERVER",

     "title":"Computer name",

     "type":"String",

     "value":"",

     "visible":true

     "view":0

  },{

     ...

  }

]


Description of possible resulting host computer's properties:


Name

Description

host-name

Host computer name.

host-totallogicalcores

Host computer total number of logical CPU cores.

host-totalphysicalmemory

Host computer total amount of physical memory (bytes).

host-availablephysicalmemory

Host computer available amount of physical memory (bytes).

host-totalvirtualmemory

Host computer total amount of virtual memory (bytes).

host-availablevirtualmemory

Host computer available amount of virtual memory (bytes).

host-osname

Host computer operating system name.

host-osarchitecture

Host computer operating system architecture (32-bit or 64-bit).

host-osversion

Host computer operating system version.

host-oslanguage

Host computer operating system culture info (i.e. language locale).

host-uptime

Host computer total system uptime.