## Group Device Endpoints
### Get device details [GET /media/grabbers/devices/{device}]
+ Parameters
+ device: `42` - the ID of the device.
+ Response 200 (application/xml)
"
"
### Enable or disable a device [PUT /media/grabbers/devices/{device}{?enabled}]
+ Parameters
+ device: `42` - The ID of the device.
+ enabled: `1` - Whether to enable the device.
+ Response 200 (application/xml)
""
### Set device preferences [PUT /media/grabbers/devices/{device}/prefs{?name}]
+ Parameters
+ device: `1` - The ID of the DVR.
+ name: `value` - The preference names and values.
+ Response 200 (application/xml)
### Get a device's channels [GET /media/grabbers/devices/{device}/channels]
+ Parameters
+ device: `42` - the ID of the device.
+ Response 200 (application/xml)
"
"
### Set a device's channel mapping [PUT /media/grabbers/devices/{device}/channelmap{?channelMapping,channelsEnabled}]
+ Parameters
+ device: `42` - the ID of the device.
+ channelMapping: `channelMapping[46.3]=002&channelMapping[48.9]=004` - the mapping of changes, passed as a map of device channel to lineup VCN.
+ channelMappingByKey: `channelMappingByKey[46.3]=5cc83d73af4a72001e9b16d7-5cab3c634df507001fefcad0&channelMappingByKey[48.9]=5cc83d73af4a72001e9b16d7-5cab3c63ec158a001d32db8d` - the mapping of changes, passed as a map of device channel to lineup key.
+ channelsEnabled: `46.1,44.1,45.1` - the channels which are enabled.
+ Response 200 (application/xml)
""
### Tell a device to scan for channels [POST /media/grabbers/devices/{device}/scan{?source}]
+ Parameters
+ device: `42` - the ID of the device.
+ source: `Cable` - a valid source for the scan.
+ Response 200 (application/xml)
+ Headers
X-Plex-Activity: 7e650c37-1639-4f60-9866-09b8eaf35a7a
+ Body
""
### Tell a device to stop scanning for channels [DELETE /media/grabbers/devices/{device}/scan]
+ Parameters
+ device: `42` - the ID of the device.
+ Response 200 (application/xml)
""