SpaceService
AUTH_API_KEY_HEADER_PREFIX: strAUTH_HEADER_KEY: strUSER_ID_HEADER_KEY: strConstructor of the SpaceService
str | NoneAdd or replace tags on a folder object in space. The tags are created if they don't exist. If a tag with the same key exists, it is replaced by the new tag.
strlistlistAdd tags to a folder object in space. The tags are created if they don't exist. It does not replace tags with the same key (use add_or_replace_tags_on_object for that).
strlistlistCheck the credential of an email/password by calling space and return true if ok
UserCredentials2FaUserSpacestrboolCheck the credential of an email/password by calling space, with 2Fa if needed
UserCredentialsDTObool - TrueExternalCheckCredentialResponseCreate a child folder in the lab space.
strExternalSpaceCreateFolderExternalSpaceFolderCreate a root folder in the lab space. The root folder will be shared to the current user and mark as created by the current user.
ExternalSpaceCreateFolderExternalSpaceFolderDelete a document by moving it to trash
strSpaceHierarchyObjectDTOMove a folder to trash
strstrstrstrstrDelete tags on a folder object in space.
strlistDownload a document from space and return the bytes directly
strstrbytesGet all the root folders accessible by the current user
listGet all the folder trees (from root) accessible by the lab
ExternalSpaceFoldersGet all the users of the lab
listGet all groups for the current lab
listGet all users who have access to a folder
strlistGet the root folder tree information. The folder must be accessible by the lab.
strExternalSpaceFolderRichTextDTORichTextDTOgws_core.impl.rich_text.rich_text_modification.RichTextModificationsDTO | NoneRichTextModificationsDTOGet the reflex access token
strGet the list of notes synced with space
listGet the list of scenarios synced with space
listRichTextDTORichTextModificationsDTOstrRichTextDTOGet the information of a user. The user must be in the same space as the lab.
strUserFullDTOCentralized error handler for all space service operations. Converts connection errors to user-friendly messages.
ExceptionstrNoReturnCall the space api to mark the lab as started
LabConfigModelDTOboolRename a document in space
strstrstrSaveNoteToSpaceDTOFormDataSpaceHierarchyObjectDTOstrSaveScenarioToSpaceDTOSpaceHierarchyObjectDTOGet paginated children of a folder with search capabilities
strSpaceHierarchyObjectSearchParamsintintPageDTO[SpaceHierarchyObjectDTO]Send a mail to a list of users. To send a custom mail, use the template 'generic' and provide mail content in the data.
SpaceSendMailToUsersDTOResponseSend a mail to a list of mails. To send a custom mail, use the template 'generic' and provide mail content in the data.
SpaceSendMailToMailsDTOResponseSend a notification to a list of users in a space
SpaceSendNotificationDTOResponseUpdate a folder in the lab space.
strExternalSpaceCreateFolderExternalSpaceFolderUpdate the role of a user for a folder. This is an alias for update_share_folder.
strstrSpaceRootFolderUserRolestrstrstrstrstrstrUpload a document to a folder in space
strstrDocumentUploadOverrideModestrSpaceHierarchyObjectDTOReturn a new instance of the SpaceService that use the access token for authentication
SpaceServiceBaseTypeReturn a new instance of the SpaceService that use the current user for authentication
SpaceServiceBaseTypeBuild a PageDTO from Space API JSON response format (ClPageI).
The Space API returns paginated data in the ClPageI format: { "objects": T[], "first": boolean, "last": boolean, "totalElements": number, "currentPage": number, "pageSize": number, "totalIsApproximate"?: boolean }
This method converts it to the internal PageDTO format.
dictCallablePageDTO[~T]