Kingsoft OfficeWPS 365 enterprise collaboration open API
POST/v7/documents/{file_id}/attachments/upload/complete
Create or run complete resource
Create or run complete resource via POST /v7/documents/{file_id}/attachments/upload/complete.
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
documentsattachmentsUploadComplete- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
file_id
pathstringrequired
File ID.
example-id-0123456789
Request body
documents_attachments_upload_complete_req_body
Properties: paramsupload_id
Responses
200
documents_attachments_upload_complete_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"attachment_id": "example-id-0123456789",
"kind": "example content"
}
}