diff options
author | ramon <ramongomez@us.es> | 2016-11-17 09:08:17 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-11-17 09:08:17 +0000 |
commit | 35518042e4fa0c70cd0f68428f4b724b3f8e0e6d (patch) | |
tree | f2c069666555be17be8eb0d2fa3702f1520df548 /admin/WebConsole/rest/opengnsys-api.yml | |
parent | a51c7274557ab46469ce984afaadfede44687fd7 (diff) |
#708: Separar funciones y rutas REST comunes; nueva ruta {{{/info}}} con informaciĆ³n de versiĆ³n y servicios activos.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5096 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/rest/opengnsys-api.yml')
-rw-r--r-- | admin/WebConsole/rest/opengnsys-api.yml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/admin/WebConsole/rest/opengnsys-api.yml b/admin/WebConsole/rest/opengnsys-api.yml index 23625bc8..82e97b38 100644 --- a/admin/WebConsole/rest/opengnsys-api.yml +++ b/admin/WebConsole/rest/opengnsys-api.yml @@ -62,6 +62,34 @@ paths: tags: - server - user + /info: + get: + description: Gets OpenGnsys Server information + responses: + "200": + description: Successful response + schema: + type: object + properties: + project: + description: project name (OpenGnsys) + type: string + version: + description: project version + type: string + release: + description: project release + type: string + services: + description: actived services + type: array + items: + type: string + enum: [ 'server', 'repository', 'tracker' ] + required: [ project, version, release, services ] + tags: + - server + - repository /status: get: description: Gets OpenGnsys Server status information |