Tencent Docs integration (Productivity, Storage). Imported from open-connector.
https://api.tencent_docs.com/oauth/v2/userinfo
/openapi/drive/v2/files
| Param | Type | Required | Description |
|---|---|---|---|
| title | string | required | The document title. Tencent Docs limits it to 36 characters. |
| type | string | required | The Tencent Docs file type to create. |
| templateID | string | optional | The Tencent Docs official template ID to use. |
| templateVersion | string | optional | The template version to use. Defaults to 0. |
| folderID | string | optional | The parent folder ID. Defaults to the root folder. |
| ext | string | optional | The Drive plugin thumbnail type. Required only for addon documents. |
/openapi/drive/v2/files/{fileID}/metadata
| Param | Type | Required | Description |
|---|---|---|---|
| fileID | string | required | The Tencent Docs file ID. |
/openapi/drive/v2/files/{fileID}
| Param | Type | Required | Description |
|---|---|---|---|
| fileID | string | required | The Tencent Docs file ID. |
| title | string | optional | The new file title. Tencent Docs limits it to 36 characters. |
/openapi/drive/v2/folders{folderID}
| Param | Type | Required | Description |
|---|---|---|---|
| folderID | string | required | The folder ID to list. Omit it to list the root folder. |
| sortType | string | optional | The sort type, such as browse. |
| asc | integer | optional | The sort direction. Use 1 for ascending or 0 for descending. |
| start | integer | optional | The start offset. Defaults to 0. |
| limit | integer | optional | The maximum number of items to return. Defaults to 20. |
/openapi/drive/v2/search
| Param | Type | Required | Description |
|---|---|---|---|
| searchKey | string | required | The keyword to search for. |
| searchType | string | required | The search mode. |
| resultType | string | optional | The result type filter. |
| folderID | string | optional | The folder ID that limits the search scope. |
| offset | integer | optional | The result offset. Defaults to 0. |
| size | integer | optional | The maximum result count. Tencent Docs allows up to 50. |
| sortType | string | optional | The tie-break sort rule. |
| asc | integer | optional | The sort direction. Use 1 for ascending or 0 for descending. |
| byOwnership | integer | optional | Whether to filter by files owned by the requester. Use 1 for yes or 0 for no. |
| fileTypes | string | optional | A Tencent Docs file-type filter. Use hyphen-separated values for multiple types. |
/openapi/drive/v2/files/{fileID}/async-export
| Param | Type | Required | Description |
|---|---|---|---|
| fileID | string | required | The Tencent Docs file ID to export. |
| exportType | string | optional | The target export type when converting document type. |
/openapi/drive/v2/files/{fileID}/export-progress
| Param | Type | Required | Description |
|---|---|---|---|
| exportHandle | string | optional | The opaque export handle returned by start_export. |
| fileID | string | required | The Tencent Docs file ID being exported. |
| operationID | string | optional | The export operation ID returned by start_export. |
/openapi/drive/v2/util/converter
| Param | Type | Required | Description |
|---|---|---|---|
| type | integer | optional | The conversion type. Use 1 for fileID to encodedID or 2 for encodedID to fileID. |
| value | string | optional | The ID value to convert. |
/openapi/spreadsheet/v3/files/{fileID}/{sheetID}/{range}
| Param | Type | Required | Description |
|---|---|---|---|
| fileID | string | required | The Tencent Docs spreadsheet file ID. |
| sheetID | string | required | The Tencent Docs spreadsheet sheet ID. |
| range | string | required | The A1-style range to read, such as A1:D10. |
/openapi/spreadsheet/v3/files/{fileID}/batchUpdate
| Param | Type | Required | Description |
|---|---|---|---|
| fileID | string | required | The Tencent Docs spreadsheet file ID. |
| requests | array | optional | The Tencent Docs spreadsheet batch update requests. |
/openapi/doc/v3/{fileID}
| Param | Type | Required | Description |
|---|---|---|---|
| fileID | string | required | The Tencent Docs file ID. |
/openapi/smartbook/v2/files/{fileID}/sheets
| Param | Type | Required | Description |
|---|---|---|---|
| fileID | string | required | The Tencent Docs file ID. |
/openapi/drive/v2/forms/{formID}/release
| Param | Type | Required | Description |
|---|---|---|---|
| formID | string | required | The Tencent Docs form ID. |
| endTime | integer | optional | The collection end timestamp in seconds. Use 0 to publish without an end time. |
/openapi/drive/v2/forms/{formID}/result
| Param | Type | Required | Description |
|---|---|---|---|
| formID | string | required | The Tencent Docs form ID. |