addedInput schema / properties / active_duration
Added value: +{
+ "description": "disk activity duration (in seconds) (when available)",
+ "type": "integer"
+}
removedInput schema / properties / body
Removed value: -{
- "additionalProperties": true,
- "type": "object"
-}
addedInput schema / properties / connector
Added value: +{
+ "description": "Disk physical connector id",
+ "type": "integer"
+}
addedInput schema / properties / firmware
Added value: +{
+ "description": "Disk firmware version",
+ "type": "string"
+}
changedInput schema / properties / id / description
Previous value: -"the disk id to format"New value: +"the disk id"
addedInput schema / properties / id__path
Added value: +{
+ "description": "(Path parameter)",
+ "type": "integer"
+}
addedInput schema / properties / idle
Added value: +{
+ "description": "is disk idle (when available)",
+ "type": "boolean"
+}
addedInput schema / properties / idle_duration
Added value: +{
+ "description": "disk idle duration (in seconds) (when available)",
+ "type": "integer"
+}
addedInput schema / properties / model
Added value: +{
+ "description": "Disk model",
+ "type": "string"
+}
addedInput schema / properties / operation_pct
Added value: +{
+ "description": "partition operation progress",
+ "properties": {
+ "done_steps": {
+ "description": "number of steps done",
+ "type": "integer"
+ },
+ "max_steps": {
+ "description": "total number of steps",
+ "type": "integer"
+ },
+ "percent": {
+ "description": "current step progress",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+}
addedInput schema / properties / partitions
Added value: +{
+ "description": "list of disk partitions",
+ "items": {
+ "description": "Disk partitions have the following attributes:",
+ "properties": {
+ "disk_id": {
+ "description": "related disk id",
+ "type": "integer"
+ },
+ "free_bytes": {
+ "description": "partition free space (in bytes)",
+ "type": "integer"
+ },
+ "fsck_result": {
+ "description": "fsck result — Values: `no_run_yet`: Partition has not been checked yet; `running`: Check is in progress; `fs_clean`: File system is ok; `fs_corrected`: File system was corrected; `fs_needs_correction`: File system need correction; `failed`: File system has unrecoverable error",
+ "enum": [
+ "no_run_yet",
+ "running",
+ "fs_clean",
+ "fs_corrected",
+ "fs_needs_correction",
+ "failed"
+ ],
+ "type": "string"
+ },
+ "fstype": {
+ "enum": [
+ "empty",
+ "unknown",
+ "xfs",
+ "ext4",
+ "vfat",
+ "ntf",
+ "hf",
+ "hfsplus",
+ "swap",
+ "exfat"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "description": "unique partition id",
+ "type": "integer"
+ },
+ "label": {
+ "description": "partition name",
+ "type": "string"
+ },
+ "operation_pct": {
+ "description": "partition operation progress",
+ "properties": {
+ "done_steps": {
+ "description": "number of steps done",
+ "type": "integer"
+ },
+ "max_steps": {
+ "description": "total number of steps",
+ "type": "integer"
+ },
+ "percent": {
+ "description": "current step progress",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "path": {
+ "description": "partition mount point (encoded in base64 as explained in fs API)",
+ "type": "string"
+ },
+ "state": {
+ "description": "Values: `error`: Partition has error; `checking`: Partition check in progress; `formatting`: Partition format in progress; `mounting`: Partition mount in progress; `maintenance`: Partition is in maintenance mode; `mounted`: Partition is ready; `umounting`: Partition umount in progress; `umounted`: Partition is umounted; `ejecting`: Partition ejection in progress",
+ "enum": [
+ "error",
+ "checking",
+ "formatting",
+ "mounting",
+ "maintenance",
+ "mounted",
+ "umounting",
+ "umounted",
+ "ejecting"
+ ],
+ "type": "string"
+ },
+ "total_bytes": {
+ "description": "partition size (in bytes)",
+ "type": "integer"
+ },
+ "used_bytes": {
+ "description": "partition used space (in bytes)",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+}
addedInput schema / properties / serial
Added value: +{
+ "description": "Disk serial number",
+ "type": "string"
+}
addedInput schema / properties / spinning
Added value: +{
+ "description": "is disk spinning (when available)",
+ "type": "boolean"
+}
addedInput schema / properties / state
Added value: +{
+ "description": "Values: `error`: Disk has error; `disabled`: Disk is disabled; `enabled`: Disk is enabled; `formatting`: Disk is formatting",
+ "enum": [
+ "error",
+ "disabled",
+ "enabled",
+ "formatting"
+ ],
+ "type": "string"
+}
addedInput schema / properties / table_type
Added value: +{
+ "enum": [
+ "msdos",
+ "gpt",
+ "superfloppy",
+ "empty"
+ ],
+ "type": "integer"
+}
addedInput schema / properties / temp
Added value: +{
+ "description": "Disk temperature (when supported) in °C",
+ "type": "integer"
+}
addedInput schema / properties / time_before_spindown
Added value: +{
+ "description": "seconds left before disk spin down (in seconds) (when available)",
+ "type": "integer"
+}
addedInput schema / properties / total_bytes
Added value: +{
+ "description": "Disk size (in bytes)",
+ "type": "integer"
+}
addedInput schema / properties / type
Added value: +{
+ "description": "Values: `internal`: Freebox internal disk; `usb`: usb disk; `sata`: sata disk",
+ "enum": [
+ "internal",
+ "usb",
+ "sata"
+ ],
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "id"
-]New value: +[
+ "id__path"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "type": "object"
+}