This repository contains sample code illustrating how to access the ONTAP REST API using Python. This Repository also contains ONTAPI Usage reporting code that helps to identify ONTAPI usage in your environment using ONTAP REST APIs.
Hi - I noticed there were no examples of file handling in the Python client library. I noticed the examples shown in the documentation didn't quite work. This code runs successfully on the NetApp Labs environment.
It:
Enumerates volumes to find the requested volume (instead of using .get(), just to demonstrate)
Hi - I noticed there were no examples of file handling in the Python client library. I noticed the examples shown in the documentation didn't quite work. This code runs successfully on the NetApp Labs environment.
It:
Hope this helps others.