summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest/opengnsys-api.yml
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-10-13 11:00:17 +0000
committerramon <ramongomez@us.es>2017-10-13 11:00:17 +0000
commit9d773c02981d74ff37eeb51c24f1240c689d1e96 (patch)
treec3d84ee7b9fe2bfd8cd3fcbc54a80d558bda4f9f /admin/WebConsole/rest/opengnsys-api.yml
parente9182dcff638780e830016516b6d9a56e0dc3e12 (diff)
#810: Indicar si existen backups de imágenes en ruta RREST {{{/repository/images}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5460 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/opengnsys-api.yml')
-rw-r--r--admin/WebConsole/rest/opengnsys-api.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/admin/WebConsole/rest/opengnsys-api.yml b/admin/WebConsole/rest/opengnsys-api.yml
index e37559d5..34b44752 100644
--- a/admin/WebConsole/rest/opengnsys-api.yml
+++ b/admin/WebConsole/rest/opengnsys-api.yml
@@ -1197,7 +1197,7 @@ definitions:
description: image name (file name without extension)
type: string
type:
- description: image type (file extension or ''dir'' for directory image)
+ description: image type (file extension or `dir` for directory image)
type: string
clientname:
description: source client name
@@ -1226,5 +1226,13 @@ definitions:
mode:
description: image access permissions (four octal digits)
type: string
- required: [ name, type, clientname, clonator, compressor, filesystem, datasize, size, modified, mode ]
+ backedup:
+ description: image backed up flag (check if `.ant` file exists)
+ type: boolean
+ default: false
+ backupsize:
+ description: image backup size (bytes)
+ type: integer
+ format: int64
+ required: [ name, type, clientname, clonator, compressor, filesystem, datasize, size, modified, mode, backedup ]