GET /media/active
Get the currently active media device.
Response
200 - OK
The response is a JSON object.
Name
workingsetIndex
deviceName
PUT /media/active
Set the currently active media device.
Parameters
Name
workingsetIndex
Response
204 - No Content
GET /media/devices/doformatSupportedFilesystems
Get the list of filesystems available to format the device.
Response
200 - OK
The response is a JSON object.
GET /media/devices/{deviceName}
Get information about the selected device.
Parameters
Name
{deviceName}
Response
200 - OK
The response is a JSON object.
Name
state
Type
Description
integer
Working set index of the active media device
string
Internal device name of this media device
Type
Description
integer
Working set index of the media to become active
Type
Description
string
Type
Description
The current state of the media device. Possible values
string
are: None, Scanning, Mounted, Uninitialised, Formatting,
RaidComponent.
Інформація для розробників
1721