Following yesterday’s blog post – Office 365 Contacts CRUD Sample Code – I just published the sample code to perform the basic create, read, update and delete operations on My Files API.
You can clone the GitHub repository here.
Feel free to share the love and contribute to the code.
NOTE: I have not handled Paging yet. I will update the code once I include paging.
Lets quickly look at the code:
Read All Files:
Read All Files from a Folder:
Read File Contents:
Create a new File with File Content:
Update a File Entity:
Update File Content:
Delete a File: