Microsoft OneDrive に戻る

Microsoft OneDrive (Microsoft) と Knoon AI を接続して 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).