add get version example

This commit is contained in:
Nicola Murino
2019-08-08 10:13:32 +02:00
parent 4f4489d3f1
commit 4d3c8fb6c4
2 changed files with 19 additions and 1 deletions

View File

@@ -232,4 +232,22 @@ Output:
"message": "User deleted",
"status": 200
}
```
### Get version
Command:
```
python sftpgo_api_cli.py get_version
```
Output:
```json
{
"version": "0.9.0-dev",
"build_date": "2019-08-08T08:11:34Z",
"commit_hash": "4f4489d-dirty"
}
```