Skip to content

Commit

Permalink
add /version documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Jan 18, 2023
1 parent 09b087a commit 12dd489
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions doc/restAPI.rst
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,24 @@ You can check whether the service is up and running by opening the following URL
- GET ``http://yourhost:8060/service/isalive`` will return true/false whether the service is up and running


Version
~~~~~~~

The version and the last git revision are available at the following URL
::

GET http://yourhost:8060/service/version

as
::
{
"version":"0.7.2-SNAPSHOT",
"revision":"0.7.1-29-g26a151b.dirty"
}

The version is 0.7.2-SNAPSHOT and the revision `g26a151b` allow to know what is the last commit


Maximum parallel requests limit
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit 12dd489

Please sign in to comment.