Get version¶
Fetch system version information
- HTTP Method:
GET
- URL:
https://example.domain.tld/api/v1/system/version/
- Require authentication:
Yes
- Permission level required:
MasterAdmin
Response parameters¶
Parameter | Type | Description |
---|---|---|
version | str | Version string (SemVer spec) |
Example request (Python)¶
import requests
import json
from pprint import pprint
url = "https://example.domain.tld/api/v1/system/version/"
r = requests.get(url, auth=("admin","long-auth_token-here"))
try:
pprint(r.json())
except:
print(r.text)
Example response (JSON)¶
{'version': '1.3.0'}