Update the content of given file, if it does not exit, a new file will be created with given content.
Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Body Params application/octet-stream
Responses
application/json {
"code": 0,
"data": {
"type": 0,
"id": "6ZeV3dUg",
"name": "1234.md",
"permission": null,
"created_at": "2024-06-01T09:56:08+08:00",
"updated_at": "2025-06-10T11:21:45+08:00",
"size": 1775,
"metadata": null,
"path": "cloudreve://my/1234.md",
"capability": "39/9AQ==",
"owned": true,
"primary_entity": "JBxJf5"
},
"msg": ""
}
Modified at 2025-08-12 07:15:19