PowerPoint DriveItems API
Manage files (including .pptx presentations) stored in OneDrive and SharePoint.
Manage files (including .pptx presentations) stored in OneDrive and SharePoint.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/powerpoint-driveitems-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: PowerPoint via Microsoft Graph Drive Items API
description: 'Microsoft Graph exposes PowerPoint presentation files (.pptx) stored in
OneDrive and SharePoint as driveItem resources. This OpenAPI definition
captures a representative subset of driveItem endpoints relevant to
managing PowerPoint files programmatically.
Derived from https://learn.microsoft.com/en-us/graph/api/resources/driveitem.
'
version: 1.0.0
contact:
name: Microsoft Graph
url: https://learn.microsoft.com/en-us/graph/api/resources/driveitem
servers:
- url: https://graph.microsoft.com/v1.0
description: Microsoft Graph v1.0
security:
- OAuth2: []
tags:
- name: DriveItems
description: Manage files (including .pptx presentations) stored in OneDrive and SharePoint.
paths:
/me/drive/items/{item-id}:
parameters:
- $ref: '#/components/parameters/ItemId'
get:
tags:
- DriveItems
summary: Get item metadata
description: Retrieves metadata for a driveItem in the signed-in user's drive.
operationId: getDriveItem
responses:
'200':
description: The driveItem resource
content:
application/json:
schema:
$ref: '#/components/schemas/DriveItem'
patch:
tags:
- DriveItems
summary: Update item
operationId: updateDriveItem
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/DriveItem'
responses:
'200':
description: Updated driveItem
content:
application/json:
schema:
$ref: '#/components/schemas/DriveItem'
delete:
tags:
- DriveItems
summary: Delete item
operationId: deleteDriveItem
responses:
'204':
description: Item deleted
/me/drive/items/{item-id}/children:
parameters:
- $ref: '#/components/parameters/ItemId'
get:
tags:
- DriveItems
summary: List children
operationId: listChildren
responses:
'200':
description: A collection of child driveItems
content:
application/json:
schema:
type: object
properties:
value:
type: array
items:
$ref: '#/components/schemas/DriveItem'
/me/drive/items/{item-id}/content:
parameters:
- $ref: '#/components/parameters/ItemId'
get:
tags:
- DriveItems
summary: Download file content
description: Returns the raw bytes (or a redirect to a short-lived download URL) of the file.
operationId: downloadContent
responses:
'200':
description: File content
content:
application/octet-stream:
schema:
type: string
format: binary
put:
tags:
- DriveItems
summary: Upload file content
description: Replace the content of an existing driveItem (for example a .pptx file).
operationId: uploadContent
requestBody:
required: true
content:
application/octet-stream:
schema:
type: string
format: binary
responses:
'200':
description: Updated driveItem
content:
application/json:
schema:
$ref: '#/components/schemas/DriveItem'
/me/drive/root:/{path}:/content:
parameters:
- name: path
in: path
required: true
schema:
type: string
description: Path to the file relative to the drive root, e.g. Documents/Deck.pptx
put:
tags:
- DriveItems
summary: Upload file by path
operationId: uploadContentByPath
requestBody:
required: true
content:
application/octet-stream:
schema:
type: string
format: binary
responses:
'201':
description: Created or updated driveItem
content:
application/json:
schema:
$ref: '#/components/schemas/DriveItem'
/me/drive/items/{item-id}/copy:
parameters:
- $ref: '#/components/parameters/ItemId'
post:
tags:
- DriveItems
summary: Copy item
operationId: copyDriveItem
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
parentReference:
type: object
name:
type: string
responses:
'202':
description: Accepted; monitor the returned location for progress.
/me/drive/items/{item-id}/createLink:
parameters:
- $ref: '#/components/parameters/ItemId'
post:
tags:
- DriveItems
summary: Create sharing link
operationId: createSharingLink
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
type:
type: string
enum:
- view
- edit
- embed
scope:
type: string
enum:
- anonymous
- organization
responses:
'200':
description: Sharing link permission
components:
schemas:
DriveItem:
type: object
properties:
id:
type: string
name:
type: string
size:
type: integer
format: int64
webUrl:
type: string
format: uri
file:
type: object
properties:
mimeType:
type: string
folder:
type: object
createdDateTime:
type: string
format: date-time
lastModifiedDateTime:
type: string
format: date-time
parentReference:
type: object
properties:
driveId:
type: string
path:
type: string
parameters:
ItemId:
name: item-id
in: path
required: true
schema:
type: string
description: Unique identifier of the driveItem.
securitySchemes:
OAuth2:
type: oauth2
description: 'Microsoft Graph uses Microsoft Entra ID (Azure AD) OAuth 2.0.
Apps require delegated or application permissions such as Files.Read,
Files.ReadWrite, Sites.Read.All, or Sites.ReadWrite.All.
'
flows:
authorizationCode:
authorizationUrl: https://login.microsoftonline.com/common/oauth2/v2.0/authorize
tokenUrl: https://login.microsoftonline.com/common/oauth2/v2.0/token
scopes:
Files.Read: Read user files
Files.ReadWrite: Read and write user files
Sites.Read.All: Read items in all site collections
Sites.ReadWrite.All: Read and write items in all site collections