返回 Microsoft OneDrive

將 Knoon AI 與 Microsoft OneDrive (Microsoft) 連接以自動化 AI 工作流程。

Copy a OneDrive or SharePoint file to another folder, with optional rename.
microsoftOneDriveCopyFile
測試版
權限
  • Files.ReadWrite
可選權限
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
參數
名稱類型說明必填
fileIdfile Select the file to copy.是的
destinationFolderIdfile Select the destination folder.是的
newFileNamemustache Optional. Name for the copied file (e.g. "report-copy.pdf").
overwriteExistingboolean If true, overwrite the file if it already exists at destination. If false, return an error.
退貨
名稱類型說明
statusstring COPIED or ERROR.
sensitive.fileIdstring DriveItem ID of the copied file.
sensitive.namestring Copied file name.
sensitive.mimeTypestring File MIME type.
sensitive.sizestring Size (bytes).
sensitive.parentReferenceobject Parent reference metadata for the copied file.
confidential.webUrlstring Web URL to open the item (if available).