summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/rest/opengnsys-api.yml
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/rest/opengnsys-api.yml')
-rw-r--r--admin/WebConsole/rest/opengnsys-api.yml30
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 ]