REST API Syntax
The following example shows how the Linux curl utility is used in this document to provide REST API usage examples:
curl -X <REST API VERB> http://<IP of LightOS Node>:<TCP PORT#>/api/v2/<command>
You can use any of the cluster node’s IP addresses (not necessarily the node affected by the command).
If you use the REST API GET method, the Lightbits management service returns the data in JSON format.
Was this page helpful?