ONLYOFFICE DocSpace
onlyoffice_docspaceONLYOFFICE DocSpace provides tenant-hosted APIs for managing rooms, documents, files, folders, users, groups, sharing, and portal settings.
Acciones disponibles (10)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Create FolderONLYOFFICE_DOCSPACE_CREATE_FOLDERAcciónCreate a named subfolder inside an existing DocSpace folder.
ONLYOFFICE_DOCSPACE_CREATE_FOLDERAcciónCreate a named subfolder inside an existing DocSpace folder.
Parámetros de entrada
titlestringObligatorioName for the new folder.
parent_folder_idintegerObligatorioNumeric ID of the parent folder.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create Text FileONLYOFFICE_DOCSPACE_CREATE_TEXT_FILEAcciónCreate a plain-text file with supplied content inside a DocSpace folder.
ONLYOFFICE_DOCSPACE_CREATE_TEXT_FILEAcciónCreate a plain-text file with supplied content inside a DocSpace folder.
Parámetros de entrada
titlestringObligatorioFile title; use a .txt suffix when a specific extension is desired.
contentstringPlain-text content for the new file.
folder_idintegerObligatorioNumeric ID of the destination folder.
create_new_if_existsbooleanCreate a distinct file when a file with the same title already exists.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete File Or FolderONLYOFFICE_DOCSPACE_DELETE_ITEMAcciónMove one file or folder to Trash, or permanently delete it when explicitly requested, then wait for the asynchronous operation to finish.
ONLYOFFICE_DOCSPACE_DELETE_ITEMAcciónMove one file or folder to Trash, or permanently delete it when explicitly requested, then wait for the asynchronous operation to finish.
Parámetros de entrada
item_idintegerObligatorioNumeric ID of the file or folder to delete.
item_typestringObligatorioenumKind of item to delete.
filefolderpermanentlybooleanIf true, delete immediately instead of moving the item to Trash. Use true only for intentional teardown.
delete_after_editingbooleanDelay deletion until an active editing session finishes.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Account ContextONLYOFFICE_DOCSPACE_GET_ACCOUNT_CONTEXTAcciónReturn the connected user's identity, non-secret API-key metadata, available key permissions, portal capabilities, and quota features in one read-only preflight.
ONLYOFFICE_DOCSPACE_GET_ACCOUNT_CONTEXTAcciónReturn the connected user's identity, non-secret API-key metadata, available key permissions, portal capabilities, and quota features in one read-only preflight.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get FileONLYOFFICE_DOCSPACE_GET_FILEAcciónReturn metadata, version information, and effective security flags for one file by ID.
ONLYOFFICE_DOCSPACE_GET_FILEAcciónReturn metadata, version information, and effective security flags for one file by ID.
Parámetros de entrada
file_idintegerObligatorioNumeric ID of the file to retrieve.
versionintegerOptional specific file version to inspect.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get RoomONLYOFFICE_DOCSPACE_GET_ROOMAcciónReturn detailed metadata and effective security flags for one room by ID.
ONLYOFFICE_DOCSPACE_GET_ROOMAcciónReturn detailed metadata and effective security flags for one room by ID.
Parámetros de entrada
room_idintegerObligatorioNumeric ID of the room to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Folder ItemsONLYOFFICE_DOCSPACE_LIST_FOLDER_ITEMSAcciónList files and subfolders in My Documents or a folder selected by numeric ID, with optional text or extension filtering.
ONLYOFFICE_DOCSPACE_LIST_FOLDER_ITEMSAcciónList files and subfolders in My Documents or a folder selected by numeric ID, with optional text or extension filtering.
Parámetros de entrada
limitintegerMaximum combined files and folders to return in this page (1-100).
querystringText used to filter folder contents.
cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
extensionstringOptional file extension filter such as .txt.
folder_idanyNumeric ID of the folder whose contents to list. Omit this field to list My Documents and discover its folder ID in current.id.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List GroupsONLYOFFICE_DOCSPACE_LIST_GROUPSAcciónList or search DocSpace groups, optionally restricted to groups associated with a user or manager role.
ONLYOFFICE_DOCSPACE_LIST_GROUPSAcciónList or search DocSpace groups, optionally restricted to groups associated with a user or manager role.
Parámetros de entrada
limitintegerMaximum groups to return in this page (1-100).
querystringText used to filter or search group data.
cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
managerbooleanWhen user_id is supplied, optionally restrict results by whether that user manages the group.
user_idstringOptional user UUID used to restrict groups.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List PeopleONLYOFFICE_DOCSPACE_LIST_PEOPLEAcciónList visible DocSpace users, optionally filtering by text, group membership, or administrator status.
ONLYOFFICE_DOCSPACE_LIST_PEOPLEAcciónList visible DocSpace users, optionally filtering by text, group membership, or administrator status.
Parámetros de entrada
limitintegerMaximum users to return in this page (1-100).
querystringText used to search user records.
cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
group_idstringOptional group UUID used to restrict results.
without_groupbooleanWhen true, return users who do not belong to a group.
is_administratorbooleanOptionally restrict results by administrator status.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List RoomsONLYOFFICE_DOCSPACE_LIST_ROOMSAcciónList rooms visible to the connected account, optionally filtering by text and continuing from a previous page.
ONLYOFFICE_DOCSPACE_LIST_ROOMSAcciónList rooms visible to the connected account, optionally filtering by text and continuing from a previous page.
Parámetros de entrada
limitintegerMaximum rooms to return in this page (1-100).
querystringText used to filter visible rooms.
cursorstringOpaque continuation cursor returned by a previous call; omit for the first page.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not