Quay lại Microsoft OneDrive

Kết nối Knoon AI với Microsoft OneDrive (Microsoft) để tự động hóa các quy trình làm việc AI.

Copy a OneDrive or SharePoint file to another folder, with optional rename.
microsoftOneDriveCopyFile
BẢN THỬ NGHIỆM
Quyền hạn
  • Files.ReadWrite
Quyền hạn tùy chọn
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
Tham số
TênLoạiMô tảBắt buộc
fileIdfile Select the file to copy.
destinationFolderIdfile Select the destination folder.
newFileNamemustache Optional. Name for the copied file (e.g. "report-copy.pdf").Không
overwriteExistingboolean If true, overwrite the file if it already exists at destination. If false, return an error.Không
Trả về
TênLoạiMô tả
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).