Kingsoft OfficeWPS 365 enterprise collaboration open API
GET/v7/opendocs/files/{file_id}/preview/link
Get link resource
Get link resource via GET /v7/opendocs/files/{file_id}/preview/link.
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
opendocsfilesPreviewLink- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
file_id
pathstringrequired
File ID.
example-id-0123456789
type
querystringrequired
Type.
example-
preview_mode
querystring
Preview mode.
example content
wpsPreview
querystring
Wps Preview.
example content
Responses
200
opendocs_files_preview_get_file_link_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"link": "https://example.com"
}
}