Microsoft OneDrive website screenshot

Microsoft OneDrive

Microsoft OneDrive is a cloud-based file storage and synchronization service. It provides APIs through Microsoft Graph for accessing, managing, and sharing files and folders stored in OneDrive personal and OneDrive for Business.

2 APIs 0 Features
Cloud StorageFile StorageFilesMicrosoftMicrosoft 365

APIs

Microsoft Graph OneDrive API

The Microsoft Graph OneDrive API provides programmatic access to OneDrive personal and OneDrive for Business file storage. Developers can upload, download, search, and share fil...

OneDrive File Picker

The OneDrive File Picker is a JavaScript SDK that provides a pre-built UI component for selecting files from OneDrive within web applications. It handles authentication, file br...

Collections

Pricing Plans

Rate Limits

Microsoft Onedrive Rate Limits

5 limits

RATE LIMITS

FinOps

Resources

👥
GitHubOrganization
GitHubOrganization
🌐
Portal
Portal
🔗
Website
Website
🔗
Documentation
Documentation
🔑
Authentication
Authentication
📦
SDKs
SDKs
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
💬
Support
Support

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Microsoft OneDrive API (Microsoft Graph)
  version: v1.0
request:
  auth:
    type: bearer
    token: '{{bearerToken}}'
items:
- info:
    name: Drives
    type: folder
  items:
  - info:
      name: Get the user's default OneDrive
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/me/drive
    docs: Get the user's default OneDrive
  - info:
      name: List drives available to the user
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/me/drives
    docs: List drives available to the user
  - info:
      name: Get a specific drive
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/drives/:driveId
      params:
      - name: driveId
        value: ''
        type: path
    docs: Get a specific drive
  - info:
      name: Get default drive for SharePoint site
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/sites/:siteId/drive
      params:
      - name: siteId
        value: ''
        type: path
    docs: Get default drive for SharePoint site
- info:
    name: DriveItems
    type: folder
  items:
  - info:
      name: Get root driveItem of a drive
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/drives/:driveId/root
      params:
      - name: driveId
        value: ''
        type: path
    docs: Get root driveItem of a drive
  - info:
      name: List children of root
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/drives/:driveId/root/children
      params:
      - name: driveId
        value: ''
        type: path
    docs: List children of root
  - info:
      name: Get driveItem by id
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
    docs: Get driveItem by id
  - info:
      name: Update driveItem
      type: http
    http:
      method: PATCH
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Update driveItem
  - info:
      name: Delete driveItem
      type: http
    http:
      method: DELETE
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
    docs: Delete driveItem
  - info:
      name: List children of driveItem
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/children
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
    docs: List children of driveItem
  - info:
      name: Create folder in driveItem
      type: http
    http:
      method: POST
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/children
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Create folder in driveItem
  - info:
      name: Download file content
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/content
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
    docs: Download file content
  - info:
      name: Upload file content (small file replace)
      type: http
    http:
      method: PUT
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/content
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
    docs: Upload file content (small file replace)
  - info:
      name: Copy driveItem
      type: http
    http:
      method: POST
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/copy
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Copy driveItem
- info:
    name: Sharing
    type: folder
  items:
  - info:
      name: Create sharing link
      type: http
    http:
      method: POST
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/createLink
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Create sharing link
  - info:
      name: Send sharing invitation
      type: http
    http:
      method: POST
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/invite
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Send sharing invitation
  - info:
      name: List driveItem permissions
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/drives/:driveId/items/:itemId/permissions
      params:
      - name: driveId
        value: ''
        type: path
      - name: itemId
        value: ''
        type: path
    docs: List driveItem permissions
  - info:
      name: Access driveItem by share id
      type: http
    http:
      method: GET
      url: https://graph.microsoft.com/v1.0/shares/:shareId
      params:
      - name: shareId
        value: ''
        type: path
    docs: Access driveItem by share id
bundled: true