A machine readable description of the Oracle ILOM REST API is available in Swagger format. This description of the Web Service REST API includes information on every resource available under the five top-level resources: /About, /System, /SP, /SYS, and /Host. The applicable HTTP verbs, resource property types, configurable properties, and a description string for each available property are available in the Swagger description
You can obtain a Swagger description of the Oracle ILOM Web Service REST API by issuing a URL to the swagger.json file on the managed SP device, for instance:
https://<target_SP_IP_address>/swagger.json.
The following instructions explain how to install the Swagger UI tool and use it to access the swagger.json file on the SP:
/C:/Users/your_username/Downloads/
file:///C:/Users/your_username/Downloads/swagger-ui-master/dist/index.html
The Swagger UI appears in the web browser.
https://SP _IP_address:443/swagger.json
Where: SP_IP_address represents the IP address of the target SP device.
If the swagger.json appears in the web browser, proceed to Step 5. Otherwise, if the swagger.json file fails to load and the following message appears, proceed to Step 4 for troubleshooting instructions.
Can't read from Service. It may not have the appropriate access-control-origin settings.
https://SP_IP_address/swagger.json
The swagger.json file appears in the browser window.
The swagger.json file appears.
A prompt appears prompting you to enter a generated X-REST-Token data value.
At the time of login, the web service uses the token data value to authenticate your Oracle ILOM user credentials on the target SP device.