返回 Microsoft OneDrive
Microsoft / Microsoft OneDrive
Upload File from URL
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). |
在工具中安装
查看如何在您的工具中安装应用
请按照以下快速指南,将市场应用添加到您的工具流程中。
步骤 01
打开你的工具设置
从您想添加新应用的工具工作区开始。
步骤 02
前往工具并点击创建按钮
打开工具页面,然后点击创建按钮开始添加新的应用。
步骤 03
选择内部或外部工作
选择内部或外部工作,然后选择一个应用操作。
步骤 04
选择要安装到 knoon 的应用
选择您想要安装到 Knoon 的应用并完成设置流程。
步骤 05
成功!
应用已成功安装,现可在您的工作流中使用。
立即使用 Knoon 的 Agentic AI 为您的业务赋能。
加入已经通过Knoon解决数千个客户咨询和销售线索的企业。