Kingsoft OfficeWPS 365 enterprise collaboration open API
POST/v7/drives/{drive_id}/files/{file_id}/open_link
Create or run drive resource
Create or run the drive resource.
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
driveLinkOpen- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
drive_id
pathstringrequired
Cloud document drive ID.
example-id-0123456789
file_id
pathstringrequired
File ID.
example-id-0123456789
Request body
Properties: optsrole_idscope
Responses
200
open_file_link_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"created_by": {
"avatar": "https://example.com",
"company_id": "example-id-0123456789",
"id": "example-id-0123456789",
"name": "Example title",
"type": "user"
},
"creator": {
"avatar": "https://example.com",
"company_id": "example-id-0123456789",
"id": "example-id-0123456789",
"name": "Example title",
"type": "user"
},
"ctime": 1,
"drive_id": "example-id-0123456789",
"file_id": "example-id-0123456789",
"id": "example-id-0123456789",
"mtime": 1,
"opts": {
"allow_perm_apply": true,
"check_code": "example content",
"close_after_expire": true,
"expire_period": 0,
"expire_time": 1
}
}
}