RESTful API
Quantum Spark 1500, 1600 and 1800 Appliance Series R80.20.40 Locally Managed Administration Guide | 296
Response Structure
Returned value on Success:
n
HTTP status 200 (OK)
n
A JSON string (content varies depending on which API is called)
Returned value on failure:
n
HTTP status 500 (Internal Server Error), 400 (Bad Request), or 401 (Unauthorized)
n
A JSON structure with the error details
Versioning
HTTP Post with a specific version
https://<gateway-ip>:<port>/web-api/<version>/<command>
If no version is being sent, the latest supported version is used.
Example:
https://192.168.1.1:4434/web-api/v1/login