Πίσω στο Microsoft OneDrive

Σύνδεση Knoon AI με Microsoft OneDrive (Microsoft) για αυτοματοποίηση ροών εργασίας AI.

Download a file from a public URL and upload it into OneDrive or SharePoint, optionally inside a specific folder. Uses simple upload for small files and upload sessions for larger files.
microsoftOneDriveUploadURL
ΒΕΤΑ
Άδειες
  • Files.ReadWrite
Προαιρετικές άδειες
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
Παράμετροι
ΌνομαΤύποςΠεριγραφήΑπαραίτητο
parentFolderIdfile Optional. Select a OneDrive or SharePoint folder to upload into. If not set, uploads to the root of the connected drive.Όχι
fileUrlmustache Public HTTP/HTTPS URL of the file to download and upload.Ναι
fileNamemustache Optional. Name of the file in OneDrive (e.g. "invoice-123.pdf"). If omitted, derived from URL or response headers.Όχι
mimeTypemustache Optional. MIME type to assign to the uploaded file. If omitted, inferred from HTTP response where possible.Όχι
overwriteExistingboolean If true, overwrite the file if it already exists at the target path. If false, return an error.Όχι
Επιστροφές
ΌνομαΤύποςΠεριγραφή
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).