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.

Update the contents of an existing text file in OneDrive or SharePoint. Maximum supported file size is 100MB.
microsoftOneDriveUpdateText
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 OneDrive or SharePoint text file to update. The file must be text-based and must not exceed 100MB.
mimeTypemustache Optional. MIME type to assign to the file (e.g. "application/json", "text/plain", "text/markdown"). Defaults to the existing file MIME type or "text/plain".Không
appendboolean If true, append the content to the end of the file. If false, overwrite the file contents.Không
contentmustache Plain text content to write to the file. This can include JSON, logs, or any UTF-8 text. The encoded file size must not exceed 100MB.
Trả về
TênLoạiMô tả
statusstring UPDATED or ERROR.
sensitive.fileIdstring DriveItem ID of the updated file.
sensitive.namestring Name of the updated file.
sensitive.mimeTypestring MIME type of the updated file as stored in OneDrive.
sensitive.sizestring Size of the updated file in bytes as a string, or null if unavailable.
confidential.webUrlstring Web URL to open the file (if available).