Kingsoft Office/driveFileSearch

Online calls unavailable · details below

Kingsoft OfficeWPS 365 enterprise collaboration open API

GET/v7/files/search

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
driveFileSearch
Server
https://openapi.wps.cn
Authentication
app, delegated

Request parameters

keyword

querystring

Search keyword.

example-keyword

type

queryfile_search_typerequired

file_type

queryenum_file_type

file_exts

queryarray

File exts.

drive_ids

queryarray

Drive ids.

parent_ids

queryarray

Parent ids.

creator_ids

queryarray

Creator ids.

modifier_ids

queryarray

Modifier ids.

sharer_ids

queryarray

Sharer ids.

receiver_ids

queryarray

Receiver ids.

time_type

querytime_type

start_time

queryintegerint64

Start time (RFC3339).

1

end_time

queryintegerint64

End time (RFC3339).

1

with_permission

queryboolean

With permission.

true

with_link

queryboolean

With link.

true

with_total

queryboolean

With total.

true

page_size

queryintegerint64required

Number of results per page.

1

page_token

querystring

Pagination start token; opaque and passed back verbatim.

example-page-token

channels

queryarray

Channels.

device_ids

queryarray

Device ids.

exclude_channels

queryarray

Exclude channels.

exclude_file_exts

queryarray

Exclude file exts.

filter_user_id

queryintegerint64

Filter user id.

1

file_ext_groups

queryarray

File ext groups.

with_folder

queryboolean

With folder.

true

with_drive

queryboolean

With drive.

true

order

queryenum_order

order_by

queryfile_search_enum_order_by

scope

queryfile_search_enum_scope

Authorization scope.

search_operator_name

queryboolean

Search operator name.

true

X-Kso-Id-Type

headerid_type

Responses

200

search_files_resp_bodyapplication/json

Request succeeded.

Properties: data

default

unknownapplication/json

The upstream service returned this status.

{
  "data": {
    "items": {
      "file": {},
      "file_src": {},
      "highlights": {},
      "otime": 1
    },
    "next_page_token": "example-page-token",
    "total": 1
  }
}