Назад к 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).