diff --git a/README.md b/README.md index d7f7290b..c17a9bfb 100644 --- a/README.md +++ b/README.md @@ -247,7 +247,7 @@ and you can add authentication with something like this: AuthType Digest AuthName "Private" - AuthDigestDomain "/api/v1" + AuthDigestDomain "/api/v1" AuthDigestProvider file AuthUserFile "/etc/httpd/conf/auth_digest" Require valid-user diff --git a/scripts/README.md b/scripts/README.md index d9adf4b1..82a7ee99 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -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" +} ``` \ No newline at end of file