Tilbage til Microsoft OneDrive
Forbind Knoon AI med Microsoft OneDrive (Microsoft) for at automatisere AI-arbejdsgange.
Copy a OneDrive or SharePoint file to another folder, with optional rename.
microsoftOneDriveCopyFile
BETA
Tilladelser
Valgfrie tilladelser
Parametre
| Navn | Type | Beskrivelse | Obligatorisk |
|---|---|---|---|
| fileId | file | Select the file to copy. | Ja |
| destinationFolderId | file | Select the destination folder. | Ja |
| newFileName | mustache | Optional. Name for the copied file (e.g. "report-copy.pdf"). | Nej |
| overwriteExisting | boolean | If true, overwrite the file if it already exists at destination. If false, return an error. | Nej |
Retur
| Navn | Type | Beskrivelse |
|---|---|---|
| status | string | COPIED or ERROR. |
| sensitive.fileId | string | DriveItem ID of the copied file. |
| sensitive.name | string | Copied file name. |
| sensitive.mimeType | string | File MIME type. |
| sensitive.size | string | Size (bytes). |
| sensitive.parentReference | object | Parent reference metadata for the copied file. |
| confidential.webUrl | string | Web URL to open the item (if available). |



