onedrive.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Drive
get
drive.get
Get a drive by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
drive_id | string | Yes | — |
select_fields | string[] | No | — |
expand_fields | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
name | string | No | — |
driveType | string | No | — |
webUrl | string | No | — |
description | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
owner | object | No | — |
quota | object | No | — |
owner full type
owner full type
quota full type
quota full type
getGroup
drive.getGroup
Get a group’s drive
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
group_id | string | Yes | — |
select_fields | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
name | string | No | — |
driveType | string | No | — |
webUrl | string | No | — |
description | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
owner | object | No | — |
quota | object | No | — |
owner full type
owner full type
quota full type
quota full type
getQuota
drive.getQuota
Get the user’s drive and quota information
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
select_fields | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
name | string | No | — |
driveType | string | No | — |
webUrl | string | No | — |
description | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
owner | object | No | — |
quota | object | No | — |
owner full type
owner full type
quota full type
quota full type
getRecentItems
drive.getRecentItems
Get recently accessed drive items
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
top | number | No | — |
select | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type
getRoot
drive.getRoot
Get the root folder of the user’s drive
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
select_fields | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | Yes | — |
size | number | No | — |
webUrl | string | No | — |
eTag | string | No | — |
cTag | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
createdBy | object | No | — |
lastModifiedBy | object | No | — |
parentReference | object | No | — |
file | object | No | — |
folder | object | No | — |
deleted | object | No | — |
@microsoft.graph.downloadUrl | string | No | — |
root | object | No | — |
description | string | No | — |
createdBy full type
createdBy full type
lastModifiedBy full type
lastModifiedBy full type
parentReference full type
parentReference full type
file full type
file full type
folder full type
folder full type
deleted full type
deleted full type
root full type
root full type
getSharedItems
drive.getSharedItems
Get items shared with the user
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
allow_external | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
value full type
value full type
getSpecialFolder
drive.getSpecialFolder
Get a special folder (documents, photos, cameraroll)
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
special_folder_name | documents | photos | cameraroll | Yes | — |
select_fields | string[] | No | — |
expand_relations | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | Yes | — |
size | number | No | — |
webUrl | string | No | — |
eTag | string | No | — |
cTag | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
createdBy | object | No | — |
lastModifiedBy | object | No | — |
parentReference | object | No | — |
file | object | No | — |
folder | object | No | — |
deleted | object | No | — |
@microsoft.graph.downloadUrl | string | No | — |
children | object[] | No | — |
createdBy full type
createdBy full type
lastModifiedBy full type
lastModifiedBy full type
parentReference full type
parentReference full type
file full type
file full type
folder full type
folder full type
deleted full type
deleted full type
children full type
children full type
list
drive.list
List available drives
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
top | number | No | — |
expand | string | No | — |
select | string | No | — |
orderby | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
group_id | string | No | — |
skip_token | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type
listActivities
drive.listActivities
List activities across the drive
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
top | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type
listBundles
drive.listBundles
List bundles in a drive
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
drive_id | string | Yes | — |
top | number | No | — |
expand | string | No | — |
filter | string | No | — |
select | string | No | — |
orderby | string | No | — |
skip_token | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type
listChanges
drive.listChanges
List changes to drive items using delta
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
top | number | No | — |
token | string | No | — |
expand | string | No | — |
select | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
@odata.deltaLink | string | No | — |
value full type
value full type
Files
createFolder
files.createFolder
Create a new folder
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
user_id | string | No | — |
description | string | No | — |
parent_folder | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | Yes | — |
webUrl | string | No | — |
createTextFile
files.createTextFile
Create a new text file with content
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
content | string | Yes | — |
folder | string | No | — |
user_id | string | No | — |
conflict_behavior | fail | replace | rename | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
file | object | No | — |
name | string | Yes | — |
size | number | No | — |
file full type
file full type
findFile
files.findFile
Find a file by name
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | — |
folder | string | No | — |
user_id | string | No | — |
include_metadata | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
odata_context | string | No | — |
value full type
value full type
findFolder
files.findFolder
Find a folder by name
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
name | string | No | — |
top | number | No | — |
expand | string | No | — |
folder | string | No | — |
select | string[] | No | — |
orderby | string | No | — |
user_id | string | No | — |
skip_token | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type
list
files.list
List files in the root drive
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
top | number | No | — |
select | string[] | No | — |
user_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type
upload
files.upload
Upload a file to OneDrive
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
file | object | Yes | — |
folder | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
drive_id | string | No | — |
description | string | No | — |
defer_commit | boolean | No | — |
if_match_etag | string | No | — |
file_system_info | object | No | — |
conflict_behavior | rename | fail | replace | No | — |
file full type
file full type
file_system_info full type
file_system_info full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
file | object | No | — |
name | string | Yes | — |
size | number | No | — |
file full type
file full type
Items
checkin
items.checkin
Check in a checked-out drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
drive_id | string | Yes | — |
driveItem_id | string | Yes | — |
comment | string | No | — |
checkInAs | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | Yes | — |
checkout
items.checkout
Check out a drive item for editing
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
drive_id | string | Yes | — |
driveItem_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | Yes | — |
copy
items.copy
Copy a drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
name | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
drive_id | string | No | — |
group_id | string | No | — |
children_only | boolean | No | — |
parent_reference | object | No | — |
conflict_behavior | fail | replace | rename | No | — |
include_all_version_history | boolean | No | — |
parent_reference full type
parent_reference full type
| Name | Type | Required | Description |
|---|---|---|---|
name | string | No | — |
item_id | string | No | — |
message | string | Yes | — |
web_url | string | No | — |
monitor_url | string | No | — |
status_code | number | Yes | — |
delete
items.delete
Delete a drive item [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
if_match | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | Yes | — |
deletePermanently
items.deletePermanently
Permanently delete a drive item [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
drive_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | Yes | — |
discardCheckout
items.discardCheckout
Discard the checkout of a drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
drive_id | string | Yes | — |
driveItem_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | Yes | — |
download
items.download
Download a file
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
file_name | string | Yes | — |
drive_id | string | No | — |
user_id | string | No | — |
format | pdf | html | No | — |
if_none_match | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
content | string | Yes | — |
downloadAsFormat
items.downloadAsFormat
Download a file converted to a different format
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
path_and_filename | string | Yes | — |
file_name | string | Yes | — |
format | pdf | html | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
content | string | Yes | — |
downloadByPath
items.downloadByPath
Download a file by path
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
item_path | string | Yes | — |
file_name | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
content | string | Yes | — |
downloadVersion
items.downloadVersion
Download a specific version of a file
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
version_id | string | Yes | — |
file_name | string | Yes | — |
drive_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
content | string | Yes | — |
follow
items.follow
Follow a drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
drive_id | string | Yes | — |
driveItem_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | No | — |
size | number | No | — |
webUrl | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
get
items.get
Get a drive item by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
drive_id | string | No | — |
select_fields | string[] | No | — |
expand_relations | string[] | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | No | — |
size | number | No | — |
webUrl | string | No | — |
eTag | string | No | — |
cTag | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
createdBy | object | No | — |
lastModifiedBy | object | No | — |
parentReference | object | No | — |
file | object | No | — |
folder | object | No | — |
deleted | object | No | — |
@microsoft.graph.downloadUrl | string | No | — |
children | object[] | No | — |
createdBy full type
createdBy full type
lastModifiedBy full type
lastModifiedBy full type
parentReference full type
parentReference full type
file full type
file full type
folder full type
folder full type
deleted full type
deleted full type
children full type
children full type
getDriveItemBySharingUrl
items.getDriveItemBySharingUrl
Get a drive item by sharing URL
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
sharing_url | string | No | — |
prefer_redeem | redeemSharingLinkIfNecessary | redeemSharingLink | No | — |
select_fields | string[] | No | — |
expand_children | boolean | No | — |
share_id_or_encoded_url | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | No | — |
size | number | No | — |
webUrl | string | No | — |
eTag | string | No | — |
cTag | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
file | object | No | — |
folder | object | No | — |
@microsoft.graph.downloadUrl | string | No | — |
parentReference | object | No | — |
item_id | string | No | — |
drive_id | string | No | — |
file full type
file full type
folder full type
folder full type
parentReference full type
parentReference full type
getFollowed
items.getFollowed
Get a followed drive item
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
drive_id | string | Yes | — |
driveItem_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
file | object | No | — |
name | string | Yes | — |
size | number | No | — |
folder | object | No | — |
webUrl | string | No | — |
followed | boolean | No | — |
file full type
file full type
folder full type
folder full type
getThumbnails
items.getThumbnails
Get thumbnails for a drive item
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
drive_id | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
group_id | string | No | — |
select | string | No | — |
original_orientation | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
value full type
value full type
getVersions
items.getVersions
Get versions of a drive item
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
drive_id | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
group_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
value full type
value full type
listActivities
items.listActivities
List activities on a drive item
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
drive_id | string | Yes | — |
top | number | No | — |
skip | string | No | — |
expand | string[] | No | — |
filter | string | No | — |
select | string[] | No | — |
orderby | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type
listFolderChildren
items.listFolderChildren
List children of a folder
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
top | number | No | — |
expand | string[] | No | — |
select | string[] | No | — |
orderby | string | No | — |
site_id | string | No | — |
drive_id | string | No | — |
next_link | string | No | — |
skip_token | string | No | — |
folder_path | string | No | — |
use_me_drive | boolean | No | — |
folder_item_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type
move
items.move
Move a drive item to a new location
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
itemId | string | Yes | — |
parentReference | object | Yes | — |
name | string | No | — |
siteId | string | No | — |
userId | string | No | — |
driveId | string | No | — |
groupId | string | No | — |
description | string | No | — |
parentReference full type
parentReference full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | No | — |
size | number | No | — |
webUrl | string | No | — |
parentReference | object | No | — |
parentReference full type
parentReference full type
preview
items.preview
Get a preview URL for a drive item
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
site_id | string | No | — |
user_id | string | No | — |
drive_id | string | No | — |
group_id | string | No | — |
share_id | string | No | — |
page | string | No | — |
zoom | number | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
getUrl | string | No | — |
postUrl | string | No | — |
postParameters | string | No | — |
restore
items.restore
Restore a deleted drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
name | string | No | — |
parent_reference_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
file | object | No | — |
name | string | Yes | — |
size | number | No | — |
folder | object | No | — |
webUrl | string | No | — |
deleted | object | No | — |
createdDateTime | string | No | — |
parentReference | object | No | — |
lastModifiedDateTime | string | No | — |
file full type
file full type
folder full type
folder full type
deleted full type
deleted full type
parentReference full type
parentReference full type
search
items.search
Search for drive items
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
q | string | Yes | — |
top | number | No | — |
expand | string | No | — |
select | string | No | — |
orderby | string | No | — |
drive_id | string | No | — |
skip_token | string | No | — |
search_scope | drive | root | No | — |
stripped_annotations | string[] | No | — |
transformed_path_query | string | No | — |
transformed_kql_operator | string | No | — |
transformed_parent_query | string | No | — |
transformed_wildcard_query | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type
unfollow
items.unfollow
Unfollow a drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | Yes | — |
updateContent
items.updateContent
Update the content of a file
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
name | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
drive_id | string | No | — |
group_id | string | No | — |
file_size | number | No | — |
description | string | No | — |
defer_commit | boolean | No | — |
media_source | object | No | — |
if_match_etag | string | No | — |
file_system_info | object | No | — |
conflict_behavior | string | No | — |
drive_item_source | object | No | — |
if_none_match_etag | string | No | — |
media_source full type
media_source full type
file_system_info full type
file_system_info full type
drive_item_source full type
drive_item_source full type
| Name | Type | Required | Description |
|---|---|---|---|
uploadUrl | string | No | — |
expirationDateTime | string | No | — |
nextExpectedRanges | string[] | No | — |
updateMetadata
items.updateMetadata
Update metadata for a drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
drive_id | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
group_id | string | No | — |
name | string | No | — |
description | string | No | — |
ifMatch | string | No | — |
fileSystemInfo | object | No | — |
parent_reference_id | string | No | — |
parent_reference_drive_id | string | No | — |
additional_properties | object | No | — |
fileSystemInfo full type
fileSystemInfo full type
additional_properties full type
additional_properties full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
cTag | string | No | — |
eTag | string | No | — |
file | object | No | — |
name | string | Yes | — |
size | number | No | — |
folder | object | No | — |
webUrl | string | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
file full type
file full type
folder full type
folder full type
Permissions
createForItem
permissions.createForItem
Create a permission for a drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
drive_id | string | Yes | — |
driveItem_id | string | Yes | — |
roles | string[] | Yes | — |
grantedToV2 | object | Yes | — |
grantedToV2 full type
grantedToV2 full type
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
link | object | No | — |
roles | string[] | No | — |
grantedTo | object | No | — |
grantedToV2 | object | No | — |
hasPassword | boolean | No | — |
expirationDateTime | string | No | — |
link full type
link full type
grantedTo full type
grantedTo full type
grantedToV2 full type
grantedToV2 full type
createLink
permissions.createLink
Create a sharing link for a drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
type | view | edit | embed | Yes | — |
scope | anonymous | organization | users | No | — |
site_id | string | No | — |
user_id | string | No | — |
drive_id | string | No | — |
group_id | string | No | — |
password | string | No | — |
expiration_date_time | string | No | — |
retain_inherited_permissions | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
link | object | No | — |
roles | string[] | No | — |
shareId | string | No | — |
hasPassword | boolean | No | — |
link full type
link full type
deleteFromItem
permissions.deleteFromItem
Delete a permission from a drive item [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
perm_id | string | Yes | — |
drive_id | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
group_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | Yes | — |
deleteSharePermission
permissions.deleteSharePermission
Delete a share permission [DESTRUCTIVE]
Risk: destructive
| Name | Type | Required | Description |
|---|---|---|---|
shared_drive_item_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
message | string | Yes | — |
getForItem
permissions.getForItem
Get permissions for a drive item
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
drive_id | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
group_id | string | No | — |
item_path | string | No | — |
select | string | No | — |
if_none_match | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type
getShare
permissions.getShare
Get a shared item by share ID or encoded URL
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
share_id_or_encoded_sharing_url | string | Yes | — |
prefer_redeem | redeemSharingLinkIfNecessary | redeemSharingLink | No | — |
expand_children | boolean | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
name | string | No | — |
root | object | No | — |
items | object[] | No | — |
owner | object | No | — |
children | object[] | No | — |
root full type
root full type
items full type
items full type
owner full type
owner full type
children full type
children full type
grantSharePermission
permissions.grantSharePermission
Grant a permission on a shared item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
encoded_sharing_url | string | Yes | — |
roles | string[] | Yes | — |
recipients | object[] | Yes | — |
recipients full type
recipients full type
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
value full type
value full type
inviteUser
permissions.inviteUser
Invite a user to access a drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
roles | string[] | Yes | — |
recipients | object[] | Yes | — |
drive_id | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
group_id | string | No | — |
message | string | No | — |
password | string | No | — |
require_sign_in | boolean | No | — |
send_invitation | boolean | No | — |
expiration_date_time | string | No | — |
retain_inherited_permissions | boolean | No | — |
recipients full type
recipients full type
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
value full type
value full type
listSharePermissions
permissions.listSharePermissions
List permissions on a shared drive item
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
shared_drive_item_id | string | Yes | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
link | object | No | — |
roles | string[] | No | — |
hasPassword | boolean | No | — |
link full type
link full type
updateForItem
permissions.updateForItem
Update a permission on a drive item
Risk: write
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | — |
permission_id | string | Yes | — |
roles | string[] | Yes | — |
drive_id | string | No | — |
site_id | string | No | — |
user_id | string | No | — |
group_id | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | No | — |
link | object | No | — |
roles | string[] | No | — |
grantedTo | object | No | — |
grantedToV2 | object | No | — |
hasPassword | boolean | No | — |
expirationDateTime | string | No | — |
link full type
link full type
grantedTo full type
grantedTo full type
grantedToV2 full type
grantedToV2 full type
Sharepoint
getListItems
sharepoint.getListItems
Get items from a SharePoint list
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
site_id | string | Yes | — |
list_id | string | Yes | — |
top | number | No | — |
skip | number | No | — |
count | boolean | No | — |
expand | string | No | — |
filter | string | No | — |
select | string | No | — |
orderby | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.count | number | No | — |
@odata.nextLink | string | No | — |
value full type
value full type
getSite
sharepoint.getSite
Get a SharePoint site by ID
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
site_id | string | Yes | — |
expand | string | No | — |
select | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
eTag | string | No | — |
name | string | No | — |
webUrl | string | No | — |
description | string | No | — |
displayName | string | No | — |
sharepointIds | object | No | — |
isPersonalSite | boolean | No | — |
siteCollection | object | No | — |
createdDateTime | string | No | — |
lastModifiedDateTime | string | No | — |
sharepointIds full type
sharepointIds full type
siteCollection full type
siteCollection full type
getSitePage
sharepoint.getSitePage
Get a page from a SharePoint site
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
site_id | string | Yes | — |
page_id | string | Yes | — |
expand | string | No | — |
select | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | — |
name | string | No | — |
title | string | No | — |
webUrl | string | No | — |
listListItemsDelta
sharepoint.listListItemsDelta
List changes to SharePoint list items using delta
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
site_id | string | Yes | — |
list_id | string | Yes | — |
top | number | No | — |
token | string | No | — |
expand | string | No | — |
select | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
@odata.deltaLink | string | No | — |
value full type
value full type
listSiteColumns
sharepoint.listSiteColumns
List site columns in a SharePoint site
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
site_id | string | Yes | — |
top | number | No | — |
skip | number | No | — |
count | boolean | No | — |
expand | string | No | — |
filter | string | No | — |
select | string | No | — |
orderby | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.count | number | No | — |
@odata.nextLink | string | No | — |
value full type
value full type
listSiteItemsDelta
sharepoint.listSiteItemsDelta
List changes to all drive items in a site using delta
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
site_id | string | Yes | — |
top | number | No | — |
token | string | No | — |
expand | string | No | — |
select | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
@odata.deltaLink | string | No | — |
value full type
value full type
listSiteLists
sharepoint.listSiteLists
List all lists in a SharePoint site
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
site_id | string | Yes | — |
top | number | No | — |
skip | number | No | — |
count | boolean | No | — |
expand | string | No | — |
filter | string | No | — |
select | string | No | — |
orderby | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.count | number | No | — |
@odata.nextLink | string | No | — |
value full type
value full type
listSiteSubsites
sharepoint.listSiteSubsites
List subsites of a SharePoint site
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
site_id | string | Yes | — |
top | number | No | — |
skip | number | No | — |
count | boolean | No | — |
expand | string | No | — |
filter | string | No | — |
select | string | No | — |
orderby | string | No | — |
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.count | number | No | — |
@odata.nextLink | string | No | — |
value full type
value full type
Subscriptions
list
subscriptions.list
List all active subscriptions
Risk: read
| Name | Type | Required | Description |
|---|---|---|---|
value | object[] | Yes | — |
@odata.nextLink | string | No | — |
value full type
value full type