Назад к 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
Бета
Разрешения
Опциональные разрешения
Параметры
| Имя | Тип | Описание | Обязательно |
|---|---|---|---|
| parentFolderId | file | Optional. Select a OneDrive or SharePoint folder to upload into. If not set, uploads to the root of the connected drive. | Нет |
| fileUrl | mustache | Public HTTP/HTTPS URL of the file to download and upload. | Да |
| fileName | mustache | Optional. Name of the file in OneDrive (e.g. "invoice-123.pdf"). If omitted, derived from URL or response headers. | Нет |
| mimeType | mustache | Optional. MIME type to assign to the uploaded file. If omitted, inferred from HTTP response where possible. | Нет |
| overwriteExisting | boolean | If true, overwrite the file if it already exists at the target path. If false, return an error. | Нет |
Возвраты
| Имя | Тип | Описание |
|---|---|---|
| status | string | UPLOADED or ERROR. |
| sensitive.fileId | string | DriveItem ID of the uploaded file. |
| sensitive.name | string | Name of the uploaded file. |
| sensitive.mimeType | string | MIME type as stored in OneDrive. |
| sensitive.size | string | Size of the uploaded file in bytes as a string, or null if unavailable. |
| confidential.webUrl | string | Web URL to open the file (if available). |



