How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Microsoft OneDrive DriveItems API

The DriveItems API from Microsoft OneDrive — 6 operation(s) for driveitems.

Microsoft OneDrive DriveItems API is one of 4 APIs that Microsoft OneDrive publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include DriveItems. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 10 operations across 6 paths, and defines 2 schemas. It is described by OpenAPI 3.2.0, at version v1.0.

Requests are made against a single base URL, https://graph.microsoft.com/v1.0.

10 operations 6 paths 2 schemas 1 DELETE5 GET1 PATCH2 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1.0
Base URL
https://graph.microsoft.com/v1.0/
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Microsoft OneDrive DriveItems API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth). By default, every request must be authenticated.

Paths & Operations 10

Across 6 paths, the API surfaces 10 operations — 1 DELETE, 5 GET, 1 PATCH, 2 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

DriveItems 10
GET
/drives/{driveId}/root
Get root driveItem of a drive
getDriveRoot 1 param → 200
GET
/drives/{driveId}/root/children
List children of root
listDriveRootChildren 1 param → 200
GET
/drives/{driveId}/items/{itemId}
Get driveItem by id
getDriveItem 2 params → 200
PATCH
/drives/{driveId}/items/{itemId}
Update driveItem
updateDriveItem 2 params body → 200
DELETE
/drives/{driveId}/items/{itemId}
Delete driveItem
deleteDriveItem 2 params → 204
GET
/drives/{driveId}/items/{itemId}/children
List children of driveItem
listDriveItemChildren 2 params → 200
POST
/drives/{driveId}/items/{itemId}/children
Create folder in driveItem
createFolder 2 params body → 201
GET
/drives/{driveId}/items/{itemId}/content
Download file content
downloadDriveItemContent 2 params → 200
PUT
/drives/{driveId}/items/{itemId}/content
Upload file content (small file replace)
uploadDriveItemContent 2 params body → 200201
POST
/drives/{driveId}/items/{itemId}/copy
Copy driveItem
copyDriveItem 2 params body → 202

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed is GenericList (1 property). Each schema is shown below with its type and property counts.

GenericList
object
1 property
GenericObject
object

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

microsoft-onedrive-driveitems-api-openapi.yml Raw ↑

Other APIs Microsoft OneDrive publishes across the network.

OneDrive File Picker
Microsoft OneDrive Drives API
Microsoft OneDrive Sharing API
Where this information came from

This is an independent, third-party profile of Microsoft OneDrive DriveItems API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.