Welcome to the Episode 244, part of the continuing series called “Behind the Scenes of the NetApp Tech ONTAP Podcast.”
In this podcast episode, we cover the newest information about REST APIs in ONTAP 9.7 and what’s in store for ZAPI, PowerShell and other ONTAP interfaces.
For the previous REST API podcast:
Behind the Scenes: Episode 192 -REST APIs in ONTAP 9.6
Joining us:
- B Yuvaraju – Senior Product Manager, REST API and Automation (@b_yuvaraju)
- Rob McDermot – Software Developer, REST API (REST API Slack)
- Adrian Bronder – Global Solutions Architect (https://www.linkedin.com/in/adrianbronder/)
Technical Resources
- For additional information, see: https://devnet.netapp.com/restapi
- Post your NetApp® ONTAP® REST API queries to
- API channel on thePub (netapppub.slack.com) or ng-ontap-restapi-queries@netapp.com
- Exploring ONTAP REST API Introduction lab in NetApp lab on demand
- Python sample scripts on GitHub https://github.com/NetApp/ontap-rest-python & https://github.com/AdrianBronder/ntap-automation
- ONTAP REST documentation: https://library.netapp.com/ecmdocs/ECMLP2862544/html/index.html
- netapp-ontap library on PyPi: https://pypi.org/project/netapp-ontap
- netapp-ontap documentation: https://library.netapp.com/ecmdocs/ECMLP2858435/html/index.html
- Python code examples: https://github.com/NetApp/ontap-rest-python
Podcast Transcriptions
We also are piloting a new transcription service, so if you want a written copy of the episode, check it out here (just set expectations accordingly):
Episode 244: NetApp REST APIs – Transcript
Just use the search field to look for words you want to read more about. (For example, search for “storage”)
Or, click the “view transcript” button:
Be sure to give us feedback on the transcription in the comments here or via podcast@netapp.com! If you have requests for other previous episode transcriptions, let me know!
Finding the Podcast
You can find this week’s episode here:
Tech ONTAP Podcast · Episode 244: NetApp REST API Update
Other Tech ONTAP podcast links:
I also recently got asked how to leverage RSS for the podcast. You can do that here:
http://feeds.soundcloud.com/users/soundcloud:users:164421460/sounds.rss
Our YouTube channel (episodes uploaded sporadically) is here:
Hi Justin and Team!
When it comes to API I´m looking to find out the equivalent API calls to the CLI command:
‘vol show -vserver SVM -volume vol1 -fields used, sis-space-saved, size-used-by-snapshots’
I have found the used :
“space”: {
“used”:
and size-used-by-snapshots:
“space”: {
“snapshot”: {
“used”:
But can´t seem to find any equivalent for the ‘sis-space-saved’
Any idea?
LikeLiked by 1 person
Yea that doesn’t look to be there yet. But you can use CLI passhthrough to get that info. https://netapp.io/2020/11/09/private-cli-passthrough-ontap-rest-api/
Here’s an example:
# curl -siku admin:PASSWORD –request GET “https://CLUSTERMGMT/api/private/cli/volume?vserver=DEMO&volume=files&fields=sis-space-saved,sed,size-used-by-snapshots”
{
“records”: [
{
“vserver”: “DEMO”,
“volume”: “files”,
“used”: 56459264,
“sis_space_saved”: 0,
“size_used_by_snapshots”: 11763712
}
],
“num_records”: 1
LikeLiked by 1 person