diff options
author | ramon <ramongomez@us.es> | 2017-03-16 10:19:14 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-03-16 10:19:14 +0000 |
commit | 2fd905421982e4ee2112a0a73a4051c93465d731 (patch) | |
tree | ee55476f5dffa36c503fc97529004c5a2a238f10 /admin/WebConsole/rest/opengnsys-api.yml | |
parent | 2a337db7fc78a6c71fb284c9ca9f598407604450 (diff) |
#708: Ruta REST para configuración de discos: incluir siempre nº de disco para evitar fallos si datos no ordenados.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5237 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/opengnsys-api.yml')
-rw-r--r-- | admin/WebConsole/rest/opengnsys-api.yml | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/admin/WebConsole/rest/opengnsys-api.yml b/admin/WebConsole/rest/opengnsys-api.yml index e9afa53b..7fc33b19 100644 --- a/admin/WebConsole/rest/opengnsys-api.yml +++ b/admin/WebConsole/rest/opengnsys-api.yml @@ -572,48 +572,49 @@ paths: type: object properties: disk: - description: disk number (only for disks configurations) + description: disk number type: integer format: int32 + minimum: 1 + size: + description: disk or partition size + type: integer + format: int64 parttable: - description: partition table type (only for disks configurations) + description: partition table type (only in disk configuration) type: string enum: [ "MSDOS", "GPT", "LVM", "ZVOL" ] partition: - description: partition number + description: partition number (only in partition configuration) type: integer format: int32 minimum: 1 parttype: - description: partition type + description: partition type (only in partition configuration) type: string - size: - description: disk size (used in both, disk and partition configuration) - type: integer - format: int64 filesystem: - description: filesystem type + description: filesystem type (only in partition configuration) type: string usage: - description: data usage percentage in a formated filesystem + description: percentage of data usage in a formated filesystem (only in partition configuration) type: integer format: int32 os: - description: installed operating system + description: installed operating system (only in partition configuration) type: string image: - description: restaured image data (if needed) + description: restaured image data, if needed (only in partition configuration) type: object properties: id: type: integer format: int32 deploydate: - description: image restauration/deploying date + description: image restauration/deploying date (only in partition configuration) type: string format: date-time updated: - description: flag to check if the restaured image is updated + description: flag to check if the restaured image is updated (only in partition configuration) type: boolean required: [ id, name, diskcfg ] security: |