mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
add get version example
This commit is contained in:
@@ -233,3 +233,21 @@ Output:
|
|||||||
"status": 200
|
"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"
|
||||||
|
}
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user