GET /media/devices/{deviceName}/doformat
Get a format key, used to format the device with a put request.
Parameters
Name
{deviceName}
Response
200 - OK
The response is a JSON object.
Name
deviceName
key
PUT /media/devices/{deviceName}/doformat
Perform a format of the media device.
Parameters
Name
{deviceName}
Name
key
filesystem
volume
Response
204 - No Content
Type
Description
string
Type
Description
string
Internal device name of this media device
The key used to format this device, it must be fetched with
string
the GET request and then provided back with a PUT request
Type
Description
string
Type
Description
The key used to format this device, it must be fetched with
string
the GET request and then provided back with a PUT request
Filesystem to format to (supportedFilesystems returns list of
string
supported fileSystems)
string
Volume name to set for the disk after format
Informazioni per gli sviluppatori (inglese)
1190