Retrieve the current configuration for a specific asset and return the configuration for the OS version and for each module that could be configured. If id and name and description are not present the configuration does not exist and we return the default configuration for the Os or module

Supported Formats

json

Errors

Code Description
401 Token is invalid
401 You must authenticate to perform this request.
404 The requested resource was not found.

Examples

GET '/api/v2/assets/359858012812890/current_configuration':
 {
   "os" : {
     "id":123,
     "name":"test (Os Munic.io v2.1)",
     "version":"Munic.io v2.1",
     "version_id": 42,
     "description":"",
     "configuration":
     {
       "speed_provider":"obd",
       "monitored_over_speed":"true",
     }
   },
   "modules": [
     {
         "id":456,
         "name": "App test (Test v1.1)",
         "version": "Test v1.1",
         "version_id" : 12,
         "description": "",
         "configuration":
         {
           "low_battery_threshold":"12000",
           "idle_movement_timeout":"5",
           "overspeed_threshold":"110"
         }
       }
   ]
 }
 

Params

Param name Description
_token
required

Validations:

  • Must be a String