Acquiring Server Log Data

Arkance Systems Benelux

The GeoView Server API supports acquiring GeoView Server instance application log data. Accessing this method requires Admin permissions.


Request API method URI definition:


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


Request HTTP URI parameters:


Parameter

Description

token

Access token (returned by this API method).

id

User identifier (returned by i.e. this API method).

index

Start index of log records to return. If omitted, assumes 0 as starting index.

count

Number of log records to return, counting from starting index onward. If omitted, assumes all log records.


Example HTTP request URI:


HTTP GET http://api.geoview.be/geoservice/v1/server/log?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":"Log",

     "constraints":null,

     "editable":false,

     "id":"level",

     "text":"Error",

     "title":"Level",

     "type":"Integer",

     "value":1,

     "visible":true

     "view":0

  },{

     ...

  }

]


Description of possible resulting log properties:


Name

Description

level

Log error level. 1=Error, 2=Warning, 4=Information.

generated

Date and time log record was generated.

message

Log record description.