docspace

v3.4.1
io.github.ONLYOFFICE/docspace Checked 1 hour ago Published 12 days ago

A room-based collaborative platform

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

delete_file Delete File

Delete a file.

ParameterTypeDescription
fileId *numberThe ID of the file to delete.

get_file_info Get File Info

Get file information.

ParameterTypeDescription
fileId *numberThe ID of the file to get info for.
filters *objectThe filters to apply to the file info. Use them to reduce the size of the response.

update_file Update File

Rename a file by setting a new title. The file content is not changed.

ParameterTypeDescription
fileId *numberThe ID of the file to update.
title *stringThe new title of the file to set.

copy_batch_items Copy Items

Copy to a folder.

ParameterTypeDescription
destFolderIdThe ID of the destination folder to copy the items to.
fileIdsarrayThe IDs of the files to copy.
folderIdsarrayThe IDs of the folders to copy.

move_batch_items Move Items

Move to a folder.

ParameterTypeDescription
destFolderIdThe ID of the destination folder to move the items to.
fileIdsarrayThe IDs of the files to move.
folderIdsarrayThe IDs of the folders to move items to.

download_file_as_text Download File as Text

Download a file as text.

ParameterTypeDescription
fileId *numberThe ID of the file to download as text.

upload_file Upload File

Upload a file.

ParameterTypeDescription
content *stringThe content of the file to upload.
filename *stringThe file name with an extension to upload.
parentId *numberThe ID of the room or folder to upload the file to.

create_folder Create Folder

Create a folder.

ParameterTypeDescription
filters *objectThe filters to apply to the folder creation. Use them to reduce the size of the response.
parentId *numberThe ID of the room or folder to create the folder in.
title *stringThe title of the folder to create.

delete_folder Delete Folder

Delete a folder.

ParameterTypeDescription
folderId *numberThe ID of the folder to delete.

get_folder_content Get Folder Content

Get content of a folder.

ParameterTypeDescription
filters *objectThe filters to apply to the contents of the folder. Use them to reduce the size of the response.
folderId *numberThe ID of the folder to get.

get_folder_info Get Folder Info

Get folder information.

ParameterTypeDescription
filters *objectThe filters to apply to the folder info. Use them to reduce the size of the response.
folderId *numberThe ID of the folder to get info for.

rename_folder Rename Folder

Rename a folder.

ParameterTypeDescription
filters *objectThe filters to apply to the folder renaming. Use them to reduce the size of the response.
folderId *numberThe ID of the folder to rename.
title *stringThe new title of the folder to set.

get_my_folder Get Files Folder

Get the 'My Documents' folder.

ParameterTypeDescription
filters *objectThe filters to apply to the My Documents folder. Use them to reduce the size of the response.

create_room Create Room

Create a room.

ParameterTypeDescription
filters *objectThe filters to apply to the room creation.
roomType *numberThe type of the room to create. 1 - Form Filling Room. Upload PDF forms into the room. Invite members and guests to fill out a PDF form. Review completed forms and analyze data automatically collecte…
title *stringThe title of the room to create.

get_room_info Get Room Info

Get room information.

ParameterTypeDescription
filters *objectThe filters to apply to the room info.
roomId *numberThe ID of the room to get info for.

update_room Update Room

Rename a room by setting a new title. Only the title can be changed; use set_room_security to change access rights and archive_room to archive the room.

ParameterTypeDescription
filters *objectThe filters to apply to the room update.
roomId *numberThe ID of the room to update.
titlestringThe new title of the room to set.

archive_room Archive Room

Archive a room.

ParameterTypeDescription
roomId *numberThe ID of the room to archive.

set_room_security Set Room Access

Invite or remove users from a room.

ParameterTypeDescription
filters *objectThe filters to apply to the room security info.
invitations *arrayThe invitations or removals to perform.
roomId *numberThe ID of the room to invite or remove users from.
culturestringThe languages to use for the invitation.
messagestringThe message to use for the invitation.
notifybooleanWhether to notify the user.

get_room_security_info Get Room Access Info

Get a list of users with their access levels to a room.

ParameterTypeDescription
filters *objectThe filters to apply to the room security info.
roomId *numberThe ID of the room to get a list of users with their access level for.

get_rooms_folder Get Rooms Folder

Get the 'Rooms' folder.

ParameterTypeDescription
filters *objectThe filters to apply to the rooms folder.

get_room_types Get Room Types

Get a list of available room types.

get_room_access_levels Get Room Access Levels

Get a list of available room invitation access levels.

ParameterTypeDescription
roomId *numberThe ID of the room to get the invitation access for.

get_all_people Get All People

Get all people.

ParameterTypeDescription
filters *objectThe filters to apply to the list of people. Use them to reduce the size of the response.