Get Service settings

Role

Use this method to read the current settings of the service.

Prototype

URL : /service/settings

Method : GET

URL Params : None

Request data : None

Success Response

Code : 200 OK

Content : an object listing all the settings defined in the service persistent configuration (registry), together with their values.

Content example

{
	"UsbEnabled": true,
	"BleEnabled": false,
	"SerialEnabled": true,
	"NetworkEnabled": true,
	"PcscEnabled": true
}

Available settings

Setting Type Description
UsbEnabled boolean Does the Companion Service support USB devices?
BleEnabled boolean Does the Companion Service support BLE devices?
SerialEnabled boolean Does the Companion Service support Serial devices?
NetworkEnabled boolean Does the Companion Service support Network devices?
PcscEnabled boolean Does the Companion Service support PC/SC devices?

Error Response

See Error Responses.