Skip to main content

Module api

Module api 

Source
Expand description

REST API endpoints for collaboration

Structs§

AddMemberRequest
Request to add a member to a workspace
ApiState
API state
AuthResponse
Authentication response with JWT token
ChangeRoleRequest
Request to change a member’s role
CreateBackupRequest
Request to create a workspace backup
CreateCommitRequest
Request to create a new commit
CreateSnapshotRequest
Request to create a named snapshot
CreateWorkspaceRequest
Request to create a new workspace
ForkWorkspaceRequest
Request to fork a workspace
MergeWorkspacesRequest
Request to merge workspaces
PaginationQuery
Pagination query parameters
RegisterRequest
User registration request
RestoreWorkspaceRequest
Request to restore a workspace from a backup
UpdateWorkspaceRequest
Request to update workspace settings
UpdateWorkspaceStateRequest
Request to update workspace state via sync

Functions§

create_router
Create API router