Kingsoft OfficeWPS 365 enterprise collaboration open API
POST/v7/coop/dbsheet/{file_id}/attachments/upload
Create or run upload resource
Create or run upload resource via POST /v7/coop/dbsheet/{file_id}/attachments/upload.
Manage contacts and organization, cloud documents, DBSheet/smart sheets, messaging, meetings, calendars, mail, todo, approvals, and event subscriptions through the official WPS 365 OpenAPI (v7); the official machine contract is the OpenAPI 3.0.0 published on open.wps.cn (827 endpoints / 3,119 schemas). Enterprise data is private business data; Pontx does not proxy, cache, or aggregate it and callers use the local SDK/CLI directly.
Request
- operationId
coopdbsheetAttachmentsUpload- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
file_id
pathstringrequired
File ID.
example-id-0123456789
Request body
coop_dbsheet_upload_attachment_req_body
Properties: filetype
Responses
200
dbsheet_upload_attachment_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"new_content_type": "example content",
"object_id": "example-id-0123456789",
"old_content_type": "example content"
}
}