Назад к Microsoft OneDrive
Подключите Knoon AI к Microsoft OneDrive (Microsoft), чтобы автоматизировать AI рабочие процессы.
Upload a text file to OneDrive from plain text (JSON, logs, Markdown).
microsoftOneDriveUploadText
Бета
Разрешения
Опциональные разрешения
Параметры
| Имя | Тип | Описание | Обязательно |
|---|---|---|---|
| parentFolderId | file | Optional. Select a OneDrive or SharePoint folder to upload into. | Нет |
| fileName | mustache | Name of the text file (e.g. "notes.txt", "data.json"). | Да |
| mimeType | mustache | Optional MIME type (e.g. "text/plain", "application/json"). Defaults to "text/plain". | Нет |
| content | mustache | Plain UTF-8 text content. | Да |
| overwriteExisting | boolean | If true, overwrite the file if it already exists. 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). |



