Kingsoft OfficeWPS 365 enterprise collaboration open API
POST/v7/aidocs/drive/{drive_id}/file/{parent_id}/upload
Create or run upload resource
Create or run upload resource via POST /v7/aidocs/drive/{drive_id}/file/{parent_id}/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
aidocsdriveFileUpload- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
drive_id
pathstringrequired
Cloud document drive ID.
example-id-0123456789
parent_id
pathstringrequired
Parent id.
example-id-0123456789
Request body
Properties: filename
Responses
200
aidocs_file_upload_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"file_id": "example-id-0123456789"
}
}