Get user's OneDrive storage/quota

AUTHORITATIVE source for the user's CURRENT Microsoft OneDrive storage usage. Returns LIVE data: total quota, used space, remaining space. Call this whenever user asks about 'my OneDrive size', 'my Microsoft storage', 'OneDrive quota', or 'OneDrive space'. NOTE: If you get a 503 error, the user needs to authenticate with Microsoft at /oauth/microsoft/authorize first.

get/api/v1/onedrive/stats

Request

  • Base URL: https://localhost:3000
  • URL: https://localhost:3000/api/v1/onedrive/stats
  • Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token)

Response

LIVE storage stats from user's OneDrive

userstring

User email

Example response

{
  "_meta": {
    "source": "live_microsoft_graph_api",
    "authoritative": true
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.