Log

This request returns the log of the last configuration

Endpoints

  • GET /configsessions/{sessionId}/log

Url

sessionID

The ID of the configuration session

Header

Authorization

Bearer {token}

X-API-KEY

{API key}

Response

A JSON object with the log information

 {
   "message": "log messages of the last configuration"
   "error": "error messages as the last configuration"
   "timestamp": [timestamp of the last configuration]
 }
 

Example request


 GET https://api.paramate.trinckle.com/configsessions/305bdb5c-cf8f-4256-9180-fe050d119f03/log
 -H Authorization: Bearer eyJhbGciOiJIUzI1Ni ... 3H8gC1k2DIKNEeJpb72yvmdY
 -H X-API-KEY: 5b260091e8a03ab9af7716af0d71474a

 

Output


 HTTP/1.1 200 OK
 {
   "message": "test",
   "error": "Warning: mesh file has unknown file type",
   "timestamp": 1692057494513
 }