Microsoft OneDrive로 돌아가기
Knoon AI를 Microsoft OneDrive (Microsoft)과 연결하여 AI 워크플로우를 자동화하세요.
Update the contents of an existing text file in OneDrive or SharePoint. Maximum supported file size is 100MB.
microsoftOneDriveUpdateText
베타
권한
선택사항 권한
매개변수
| 이름 | 유형 | 설명 | 필수 |
|---|---|---|---|
| fileId | file | Select the OneDrive or SharePoint text file to update. The file must be text-based and must not exceed 100MB. | 네 |
| mimeType | mustache | Optional. MIME type to assign to the file (e.g. "application/json", "text/plain", "text/markdown"). Defaults to the existing file MIME type or "text/plain". | 아니요 |
| append | boolean | If true, append the content to the end of the file. If false, overwrite the file contents. | 아니요 |
| content | mustache | Plain text content to write to the file. This can include JSON, logs, or any UTF-8 text. The encoded file size must not exceed 100MB. | 네 |
반환값
| 이름 | 유형 | 설명 |
|---|---|---|
| status | string | UPDATED or ERROR. |
| sensitive.fileId | string | DriveItem ID of the updated file. |
| sensitive.name | string | Name of the updated file. |
| sensitive.mimeType | string | MIME type of the updated file as stored in OneDrive. |
| sensitive.size | string | Size of the updated file in bytes as a string, or null if unavailable. |
| confidential.webUrl | string | Web URL to open the file (if available). |



