← Tools Reference

Tencent Docs

Tencent Docs integration (Productivity, Storage). Imported from open-connector.

OAuth15 toolshttps://api.tencent_docs.com
GET
tencent_docs_get_current_user
Get the current Tencent Docs user profile for the OAuth access token.

/oauth/v2/userinfo

POST
tencent_docs_create_file
Create a Tencent Docs online document, sheet, form, slide, or smart sheet.

/openapi/drive/v2/files

6 parameters
ParamTypeRequiredDescription
titlestringrequiredThe document title. Tencent Docs limits it to 36 characters.
typestringrequiredThe Tencent Docs file type to create.
templateIDstringoptionalThe Tencent Docs official template ID to use.
templateVersionstringoptionalThe template version to use. Defaults to 0.
folderIDstringoptionalThe parent folder ID. Defaults to the root folder.
extstringoptionalThe Drive plugin thumbnail type. Required only for addon documents.
GET
tencent_docs_get_file_metadata
Get Tencent Docs metadata for one file by file ID.

/openapi/drive/v2/files/{fileID}/metadata

1 parameter
ParamTypeRequiredDescription
fileIDstringrequiredThe Tencent Docs file ID.
PATCH
tencent_docs_rename_file
Rename a Tencent Docs file by file ID.

/openapi/drive/v2/files/{fileID}

2 parameters
ParamTypeRequiredDescription
fileIDstringrequiredThe Tencent Docs file ID.
titlestringoptionalThe new file title. Tencent Docs limits it to 36 characters.
GET
tencent_docs_list_folder
List files and folders in a Tencent Docs folder.

/openapi/drive/v2/folders{folderID}

5 parameters
ParamTypeRequiredDescription
folderIDstringrequiredThe folder ID to list. Omit it to list the root folder.
sortTypestringoptionalThe sort type, such as browse.
ascintegeroptionalThe sort direction. Use 1 for ascending or 0 for descending.
startintegeroptionalThe start offset. Defaults to 0.
limitintegeroptionalThe maximum number of items to return. Defaults to 20.
GET
tencent_docs_search_files
Search Tencent Docs files by title keyword or owner nickname.

/openapi/drive/v2/search

10 parameters
ParamTypeRequiredDescription
searchKeystringrequiredThe keyword to search for.
searchTypestringrequiredThe search mode.
resultTypestringoptionalThe result type filter.
folderIDstringoptionalThe folder ID that limits the search scope.
offsetintegeroptionalThe result offset. Defaults to 0.
sizeintegeroptionalThe maximum result count. Tencent Docs allows up to 50.
sortTypestringoptionalThe tie-break sort rule.
ascintegeroptionalThe sort direction. Use 1 for ascending or 0 for descending.
byOwnershipintegeroptionalWhether to filter by files owned by the requester. Use 1 for yes or 0 for no.
fileTypesstringoptionalA Tencent Docs file-type filter. Use hyphen-separated values for multiple types.
POST
tencent_docs_start_export
Start an asynchronous Tencent Docs file export and return the operation ID.

/openapi/drive/v2/files/{fileID}/async-export

2 parameters
ParamTypeRequiredDescription
fileIDstringrequiredThe Tencent Docs file ID to export.
exportTypestringoptionalThe target export type when converting document type.
GET
tencent_docs_get_export_progress
Check a Tencent Docs asynchronous export operation and return the download URL when ready.

/openapi/drive/v2/files/{fileID}/export-progress

3 parameters
ParamTypeRequiredDescription
exportHandlestringoptionalThe opaque export handle returned by start_export.
fileIDstringrequiredThe Tencent Docs file ID being exported.
operationIDstringoptionalThe export operation ID returned by start_export.
GET
tencent_docs_convert_file_id
Convert between Tencent Docs fileID and encodedID values.

/openapi/drive/v2/util/converter

2 parameters
ParamTypeRequiredDescription
typeintegeroptionalThe conversion type. Use 1 for fileID to encodedID or 2 for encodedID to fileID.
valuestringoptionalThe ID value to convert.
GET
tencent_docs_get_sheet_range
Read cell values and metadata from a Tencent Docs spreadsheet range.

/openapi/spreadsheet/v3/files/{fileID}/{sheetID}/{range}

3 parameters
ParamTypeRequiredDescription
fileIDstringrequiredThe Tencent Docs spreadsheet file ID.
sheetIDstringrequiredThe Tencent Docs spreadsheet sheet ID.
rangestringrequiredThe A1-style range to read, such as A1:D10.
POST
tencent_docs_batch_update_sheet
Apply up to five Tencent Docs spreadsheet V3 batch update operations.

/openapi/spreadsheet/v3/files/{fileID}/batchUpdate

2 parameters
ParamTypeRequiredDescription
fileIDstringrequiredThe Tencent Docs spreadsheet file ID.
requestsarrayoptionalThe Tencent Docs spreadsheet batch update requests.
GET
tencent_docs_get_doc_content
Get the structured content and version of a Tencent Docs document.

/openapi/doc/v3/{fileID}

1 parameter
ParamTypeRequiredDescription
fileIDstringrequiredThe Tencent Docs file ID.
GET
tencent_docs_list_smartsheet_sheets
List child sheets inside a Tencent Docs Smartsheet file.

/openapi/smartbook/v2/files/{fileID}/sheets

1 parameter
ParamTypeRequiredDescription
fileIDstringrequiredThe Tencent Docs file ID.
PUT
tencent_docs_update_form_collection_deadline
Publish, pause, or update the collection deadline for a Tencent Docs form.

/openapi/drive/v2/forms/{formID}/release

2 parameters
ParamTypeRequiredDescription
formIDstringrequiredThe Tencent Docs form ID.
endTimeintegeroptionalThe collection end timestamp in seconds. Use 0 to publish without an end time.
POST
tencent_docs_generate_form_result
Generate the result spreadsheet for a Tencent Docs form.

/openapi/drive/v2/forms/{formID}/result

1 parameter
ParamTypeRequiredDescription
formIDstringrequiredThe Tencent Docs form ID.