Microsoft One Drive
Node: microsoftOneDrive · Full type: n8n-nodes-base.microsoftOneDrive · Version: 1.1
Credentials
microsoftOneDriveOAuth2Api (alias: @microsoft)
CREDENTIAL @microsoft = microsoftOneDriveOAuth2Api "My Microsoft One Drive"
Operations
Resource: file
copy
| Parameter |
Type |
Default |
Details |
fileId |
string |
"" |
|
additionalFields |
collection |
{} |
keys: name |
parentReference |
collection |
{} |
keys: driveId, driveType, id, listId, name, path, ... |
delete
| Parameter |
Type |
Default |
Details |
fileId |
string |
"" |
|
download
| Parameter |
Type |
Default |
Details |
fileId |
string |
"" |
|
binaryPropertyName |
string |
"data" |
required |
get
| Parameter |
Type |
Default |
Details |
fileId |
string |
"" |
|
rename
| Parameter |
Type |
Default |
Details |
itemId |
string |
"" |
|
newName |
string |
"" |
|
search
| Parameter |
Type |
Default |
Details |
query |
string |
"" |
|
share
| Parameter |
Type |
Default |
Details |
fileId |
string |
"" |
|
type |
options |
"" |
view, edit, embed |
scope |
options |
"" |
anonymous, organization |
upload
| Parameter |
Type |
Default |
Details |
fileName |
string |
"" |
|
parentId |
string |
"" |
required |
binaryData |
boolean |
false |
required |
fileContent |
string |
"" |
required |
binaryPropertyName |
string |
"data" |
required |
Resource: folder
create
| Parameter |
Type |
Default |
Details |
name |
string |
"" |
required |
options |
collection |
{} |
keys: parentFolderId |
delete
| Parameter |
Type |
Default |
Details |
folderId |
string |
"" |
|
getChildren
| Parameter |
Type |
Default |
Details |
folderId |
string |
"" |
|
rename
| Parameter |
Type |
Default |
Details |
itemId |
string |
"" |
|
newName |
string |
"" |
|
search
| Parameter |
Type |
Default |
Details |
query |
string |
"" |
|
share
| Parameter |
Type |
Default |
Details |
folderId |
string |
"" |
|
type |
options |
"" |
view, edit, embed |
scope |
options |
"" |
anonymous, organization |
Parameter Details
additionalFields children:
| Parameter |
Type |
Default |
Details |
name |
string |
"" |
|
parentReference children:
| Parameter |
Type |
Default |
Details |
driveId |
string |
"" |
|
driveType |
string |
"" |
|
id |
string |
"" |
|
listId |
string |
"" |
|
name |
string |
"" |
|
path |
string |
"" |
|
shareId |
string |
"" |
|
siteId |
string |
"" |
|
options children:
| Parameter |
Type |
Default |
Details |
parentFolderId |
string |
"" |
|
Example
NODE "microsoftOneDrive" @microsoft AS "Microsoft One Drive" {
resource: "file",
operation: "get",
binaryPropertyName: {{ $json.binaryPropertyName }},
parentId: {{ $json.parentId }},
fileContent: {{ $json.fileContent }}
}