ONTAP Rest API Discussions

REST API - Uploading, Deleting and Listing Folders and Files in a CIFS Share

joesmith
5,425 Views

Hello,

I would like to be able to utilize the REST API of ONTAP to be able to READ/WRITE/DELETE files on a share. I want to be able to make HTTPS requests to do this.

I believe I have found the calls https://< IP ADDRESS>/docs/api/. See attached picture. 

I'll have our programmer look into it, but I would like to confirm this capability.  Any help on this would be very helpful.

Thanks! 

5 REPLIES 5

RobertBlackhart
5,417 Views

With ONTAP 9.7, you are able to read files using a GET on the /api/storage/volumes/{volume.uuid}/files/{path} endpoint. In the next version of ONTAP, you will also be able to create, rewrite, rename, delete files (but not in 9.7)

joesmith
5,413 Views

Thanks for the speedy response. Is it true 9.8 is approaching general release?

RobertBlackhart
5,410 Views

I can't share any specific date, but yes, it is approaching a general release.

joesmith
5,409 Views

No Problem. Is there a summary sheet of enhancements that will be included in this release you can share with me? I am expecting another nice enhancement in and would like to know what the other ones will be.

RobertBlackhart
5,407 Views

When the release does go live, you can expect a summary of the changes and additions to be posted, but I don't have anything that I can share right now.

Public