Viewing the JSON schema for the REST API

by on ‎11-05-2013 12:00 PM

The json schema for all REST API commands is available via RSDoc.  

Enter the following URL to access the json information.  Be sure the controller is running.

 

https://<controller_IP>:8443/sdn/v2.0/models

Replace <controller_IP> with the IP address of your controller.

 

This will display the json models for all REST API commands.

 

I highly recommend you use google Chrome and install the jsonview extension.  This will format the json data so it is readable.  If you don’t install jsonview, it will not be formatted and will be displayed as one very long record.  Below are the steps to install the jsonview extension:

 

-        Start google Chrome

-        Click setting in upper right corner

-        Select tools

-        Select Extensions

-        Select "get more extensions"

-        Search of json

-        Install jsonview

Search
Follow Us


Twitter Stream
Contributors
HP Blog

HP Networking

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation