Tillbaka till Microsoft OneDrive

Anslut Knoon AI med Microsoft OneDrive (Microsoft) för att automatisera AI-flöden.

Upload a text file to OneDrive from plain text (JSON, logs, Markdown).
microsoftOneDriveUploadText
BETA
Behörigheter
  • Files.ReadWrite
Valfria behörigheter
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
Parametrar
NamnTypBeskrivningObligatoriskt
parentFolderIdfile Optional. Select a OneDrive or SharePoint folder to upload into.Nej
fileNamemustache Name of the text file (e.g. "notes.txt", "data.json").Ja
mimeTypemustache Optional MIME type (e.g. "text/plain", "application/json"). Defaults to "text/plain".Nej
contentmustache Plain UTF-8 text content.Ja
overwriteExistingboolean If true, overwrite the file if it already exists. If false, return an error.Nej
Returer
NamnTypBeskrivning
statusstring UPLOADED or ERROR.
sensitive.fileIdstring DriveItem ID of the uploaded file.
sensitive.namestring Name of the uploaded file.
sensitive.mimeTypestring MIME type as stored in OneDrive.
sensitive.sizestring Size of the uploaded file in bytes as a string, or null if unavailable.
confidential.webUrlstring Web URL to open the file (if available).