Cloud Storage & File Sharing — entry 011 of 18
OneDrive
OneDrive's API, served through Microsoft Graph, lets applications read, write, and share files and folders in a user's personal or organizational OneDrive. A live GET against the real gateway, graph.microsoft.com/v1.0/me/drive, returned a 401 without a token, reconfirming OAuth 2.0 auth over HTTPS, and a follow-up OPTIONS preflight returned Access-Control-Allow-Origin: *, resolving cors from unknown to yes. Personal Microsoft accounts get 5GB free, with paid Microsoft 365 subscriptions raising the storage cap substantially.
GreatAPIs Score
Auth quickstart
- Register an app / run the OAuth flow to obtain a bearer token.
- Send it as an Authorization header
Authorization: Bearer <token>
Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.
Developer reference
Per-user default (SharePoint/OneDrive Graph, CSOM, REST combined): 3,000 requests per 5 minutes; app-only search using Sites.Read.All (covering private OneDrive for Business content) throttled at 25 requests/second; per-app-per-tenant Resource Unit budget ranges 1,250 RU/minute (0-1,000 licenses) to 6,250 RU/minute (50,000+ licenses), per learn.microsoft.com's SharePoint Online throttling guide