Takaisin Microsoft OneDrive -kohtaan

Yhdistä Knoon AI kohteen Microsoft OneDrive (Microsoft) kanssa automatisoidaksesi AI-työnkulut.

Copy a OneDrive or SharePoint file to another folder, with optional rename.
microsoftOneDriveCopyFile
BETA
Oikeudet
  • Files.ReadWrite
Valinnaiset oikeudet
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
Parametrit
NimiTyyppiKuvausPakollinen
fileIdfile Select the file to copy.Kyllä
destinationFolderIdfile Select the destination folder.Kyllä
newFileNamemustache Optional. Name for the copied file (e.g. "report-copy.pdf").Ei
overwriteExistingboolean If true, overwrite the file if it already exists at destination. If false, return an error.Ei
Palautukset
NimiTyyppiKuvaus
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).