Kingsoft Office/drivesfilesPermissions

Online calls unavailable · details below

Kingsoft OfficeWPS 365 enterprise collaboration open API

GET/v7/drives/{drive_id}/files/{file_id}/permissions

Get permissions resource

Get permissions resource via GET /v7/drives/{drive_id}/files/{file_id}/permissions.

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
drivesfilesPermissions
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

subject_type

querysubject_type

Subject type.

subject_ids

queryarray

Subject ids.

X-Kso-Id-Type

headerid_type

Responses

200

list_file_permissions_resp_bodyapplication/json

Request succeeded.

Properties: data

default

unknownapplication/json

The upstream service returned this status.

{
  "data": {
    "has_custom_permission": true,
    "items": {
      "id": "example-id-0123456789",
      "role_id": "example-id-0123456789",
      "role_name": "example content",
      "subject_avatar": "https://example.com",
      "subject_id": "example-id-0123456789",
      "subject_name": "example content",
      "subject_type": "company"
    }
  }
}