POST

/api/im/remote/bindings/{bindingId}/fs/write

Relay filesystem write to daemon

Mobile → Cloud → Daemon filesystem write. Body is forwarded verbatim (15s timeout).

Daemon writes the file subject to PermissionRule; may trigger a remote approval

request if the target path is high-risk. Returns { bytesWritten } on success.

当前语言暂无代码示例

参数

FieldTypeReqDefaultDescription
bindingIdstringY

请求体

FieldTypeReqDefaultDescription
pathstringN
contentstringN
encodingstring (utf8 | base64)Nutf8
createDirsbooleanNCreate parent directories if missing.

响应示例

{
  "ok": true,
  "data": {
    "bytesWritten": 12
  }
}

Try it out

Path Parameters
/api/im/remote/bindings/{bindingId}/fs/write
Sign in to use your API key
Request Body
Response
Click Execute to test