ONTAP Rest API Discussions
ONTAP Rest API Discussions
Hi,
I am trying to retrieve the Service Processor information using PowerShell via REST API. I notice in the ONTAP REST API Online Reference that there doesn't seem to be a section under the 'Schemes' section:
However, I notice there is a 'Models' section:
With a Service Processor section under it:
How do I use this section to create a URI in order to GET the SP config pls? Or do I need to use an alterative method?
Thanks
Solved! See The Solution
Ah! There is a section in the REST API docs, 'Using the private CLI passthrough with ONTAP REST API'
GET /cluster/nodes
GET /cluster/nodes/{uuid}
This is the way, I had been struggling to locate and query for the SP IP address information on a system. Thank you!
can you show your get statement please to obtain the sp details / ip
thanks
John, are you using the node uuid or the cluster uuid for this GET? I have used both and still cannot see the SP information in the response, desperately trying to get the SP IP addresses. Thanks
Ah There is a section in the REST API docs Using the private CLI passthrough with ONTAP REST API