diff options
author | ramon <ramongomez@us.es> | 2017-10-23 12:34:52 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-10-23 12:34:52 +0000 |
commit | 3b8d1ea75c0c2815458e56e5ff923a2d9b2886cf (patch) | |
tree | 1d624c6714f87a7ef7485d5067b219c28938e146 /admin/WebConsole/rest/opengnsys-api.yml | |
parent | 8196942cd61cacf75b49fc2d7a14cda224a37502 (diff) |
#708 #810: Actualizar documentación de API REST y añadir parámetro {{{locked}}} al modelo de datos de imagen del repositorio.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5478 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/opengnsys-api.yml')
-rw-r--r-- | admin/WebConsole/rest/opengnsys-api.yml | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/admin/WebConsole/rest/opengnsys-api.yml b/admin/WebConsole/rest/opengnsys-api.yml index 34b44752..03c7a9d2 100644 --- a/admin/WebConsole/rest/opengnsys-api.yml +++ b/admin/WebConsole/rest/opengnsys-api.yml @@ -993,6 +993,30 @@ paths: tags: - repository - image + /repository/image/{ouname}/{imagename: + get: + description: + parameters: + - in: path + name: ouname + description: OU name (optional) + required: false + type: string + - in: path + name: imagename + description: image name + required: true + type: string + responses: + "200": + description: Successful response + schema: + $ref: "#/definitions/ImageModel" + security: + - apikey: [] + tags: + - repository + - image #/repository/poweron /ogagent/started: post: @@ -1234,5 +1258,9 @@ definitions: description: image backup size (bytes) type: integer format: int64 - required: [ name, type, clientname, clonator, compressor, filesystem, datasize, size, modified, mode, backedup ] + locked: + description: image locked flag (check if `.lock` file exists) + type: boolean + default: false + required: [ name, type, clientname, clonator, compressor, filesystem, datasize, size, modified, mode, backedup, locked ] |