config.get

The config.get command is used to retrieve a config group's current settings.

TR50 Request


                        {
  "cmd": {
    "command": "config.get",
    "params": {
       "group": "retention"
    }
  }
}
      

Request Parameters

Name

Type

Required

Description

group

String

Yes

The config group key.

TR50 Response

If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.


                        {
  "cmd": {
    "success": true,
    "params": {
      "apiLogAge": 7,
      "fileAge": -1,
      "group": "retention",
      "locHistoryAge": 7,
      "mailboxAge": 7,
      "propAggregateAge": 7,
      "propHistoryAge": 7,
      "thingLogAge": 7,
      "updatedBy": "jhughes@example.com",
      "updatedOn": "2014-06-12T15:23:00.276Z"
    }
  }
}
      

Response Parameters

Name

Type

Description

SETTING_KEY

*

The config setting value.

...

...

...

updatedBy

String

The updater of the geofence.

updatedOn

String

The update timestamp of the geofence.