From bf1d7ed26b5159e65d5e516e60c06c8f341e2cc9 Mon Sep 17 00:00:00 2001 From: Marek Chrastina <marek.chrastina@vsb.cz> Date: Tue, 12 Dec 2017 08:51:02 +0100 Subject: [PATCH] final test --- docs.it4i/apidocs.md | 44 +++++++++++++++++++++++--------------------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/docs.it4i/apidocs.md b/docs.it4i/apidocs.md index fed4cb455..d4138df57 100644 --- a/docs.it4i/apidocs.md +++ b/docs.it4i/apidocs.md @@ -5,7 +5,7 @@ Implements API for IT4I SCS Information System. - api revision: `9eb0678f / 2017-12-08 11:06:12 +0100` - api version: `0.9-11-g9eb0678` -- apidoc building date: `2017-12-12 08:24:41 +0100` +- apidoc building date: `2017-12-12 08:50:03 +0100` Summary ------------------------------------------------------------------------------------- @@ -841,16 +841,16 @@ Status Codes: A service for testing connection to API. -<table> -<tbody> -<tr class="odd"> -<td>Status Codes:</td> -<td><ul> -<li><a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1" class="reference external">200 OK</a> – no error</li> -</ul></td> -</tr> -</tbody> -</table> +Response JSON Object: + + + +- **message** (*string*) – reply message ‘pong’ + +Status Codes: + +- <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1" class="reference external">200 OK</a> + – no error **Example request**: @@ -923,16 +923,18 @@ Status Codes: Returns basic information about API. -<table> -<tbody> -<tr class="odd"> -<td>Status Codes:</td> -<td><ul> -<li><a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1" class="reference external">200 OK</a> – no error</li> -</ul></td> -</tr> -</tbody> -</table> +Response JSON Object: + + + +- **hostname** (*string*) – system hostname +- **revision** (*string*) – api revision / build time +- **version** (*string*) – api version + +Status Codes: + +- <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1" class="reference external">200 OK</a> + – no error **Example request**: -- GitLab