返回 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
權限
  • 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).
安裝於工具

查看如何在您的工具中安裝應用程式

請依照以下快速導覽將市場應用程式新增至您的工具流程中。

第 01 步骤
打開您的工具設定
從您想要新增應用程式的工具工作區開始。
第 02 步骤
前往工具並創建按鈕
打開工具頁面,然後點擊創建按鈕以開始添加新的應用程式。
第 03 步骤
選擇內部或外部工作
選擇內部或外部工作,然後選擇一個應用程式動作。
第 04 步骤
選擇要安裝到 Knoon 的應用程式
選擇您想要安裝到 knoon 的應用程式並完成設定流程。
第 05 步骤
成功!
應用程式已成功安裝,並可在您的工作流程中使用。
立即使用 Knoon 的 Agentic AI 強化您的業務。
加入已經使用 Knoon 解決數千個客戶詢問和銷售線索的企業。