Kingsoft OfficeWPS 365 enterprise collaboration open API
GET/v7/drives/{drive_id}/files/{file_id}/versions
Get drive resource
Get 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
driveFileVersionList- 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
page_size
queryintegerint64required
Number of results per page.
1
page_token
querystring
Pagination start token; opaque and passed back verbatim.
example-page-token
with_comment
queryboolean
With comment.
true
with_ext_attrs
queryboolean
With ext attrs.
true
X-Kso-Id-Type
headerid_type
Responses
200
list_versions_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"items": {
"comment": "example content",
"created_by": {},
"ctime": 1,
"ext_attrs": {},
"file_id": "example-id-0123456789",
"hash": {},
"id": "example-id-0123456789",
"modified_by": {}
},
"next_page_token": "example-page-token"
}
}