Postman is a REST development and command testing tool to allow developers and administrators build new commands for administration and provisioning. To utilized the drag and drop capabilities / double click capabilities to quickly build out new REST commands the Swagger template from the API Server can to be installed as a collection.
Here are the steps required to import the Swagger JSON as a template into Postman collection.
- Install Postman
Postman per platform can be found at https://www.getpostman.com/
2. Install API Services
API Services can be found on the netapp support site
This document assume the use of default ports if you are not using default ports you will need ot ajust things as required.
3. On the API Server go to this address
https://{Servers NAME or IP}:8443/swagger.json
You will want to select all data in the body and save it to a local text file.
4. Modify the Second line of the file Add the following on the second line
<tab>”host”: “Server Name or IP :8443”
Save Document as NetApp_API.json
Launch postman
In the upper left corner of postman Click import.
Drag and drop file to the import screen.
On the 3 dots next to the OnCommand API Services … click the edit command.
Click Authorization
Select Basic Authentication.
Update the Username and the password for your API Services server.
You can now browse and use commands with API services.