If you missed the pre-registration for NetApp MS Azure AD B2C, the new login prompt will offer the option to register. Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Ask The Experts

"API not found"

sigma77in

Hello Experts,

 

I am new to NetApp api.  My cluster is on NetApp Release 9.5P6. Running a curl api query against this cluster gives me "API not found" error. Why is that so since I am using admin user to authenticate ? Does API needs to be enabled separately. 

 

curl -X GET -u admin:password -k 'https://xx.xx.xx.xx/api/storage/volumes'

{
"error": {
"message": "API not found",
"code": "3"
}

1 ACCEPTED SOLUTION

Girton

Per this link ONTAP didn't start supporting the REST API until version 9.6 (https://devnet.netapp.com/restapi).

 

Your post referenced ONTAP 9.5P6, which means you'll need to continue using traditional ZAPI calls, and not REST API calls.

 

 

View solution in original post

2 REPLIES 2

Girton

Per this link ONTAP didn't start supporting the REST API until version 9.6 (https://devnet.netapp.com/restapi).

 

Your post referenced ONTAP 9.5P6, which means you'll need to continue using traditional ZAPI calls, and not REST API calls.

 

 

View solution in original post

sigma77in

thanks for pointing this out. 

 

Regards,

Raghav Sood

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public