I'm trying to write an app that can access documents on a SharePoint teamsite. It is my understanding that OneDrive for Business and a SharePoint teamsite are more or less the same thing. I was thinking the OneDrive for Business API should be able to do this, but so far I have had no luck accessing any documents outside of my OneDrive page.
I've read that I might be able to use this url
https://{tenant}-my.sharepoint.com/_api/v2.0/{site-path}.
But I can't figure out what {site-path}
is for the root of a team site.