WorkspacesApi class
Methods
acceptWorkspaceInvitation (String token )
→ Future <Map <String , Object > ? >
Accept a workspace invitation by token. The signed-in user's email must match the invitation. Organization-token accept lives at POST /v1/organizations/{org}/accept-invitation.
acceptWorkspaceInvitationWithHttpInfo (String token )
→ Future <Response >
Accept a workspace invitation by token. The signed-in user's email must match the invitation. Organization-token accept lives at POST /v1/organizations/{org}/accept-invitation.
addWorkspaceMember (String workspaceId , AddWorkspaceMemberRequest addWorkspaceMemberRequest )
→ Future <Map <String , Object > ? >
Add a member directly (skips invitation flow).
addWorkspaceMemberWithHttpInfo (String workspaceId , AddWorkspaceMemberRequest addWorkspaceMemberRequest )
→ Future <Response >
Add a member directly (skips invitation flow).
createWorkspace (CreateWorkspaceRequest createWorkspaceRequest )
→ Future <WorkspaceEnvelope ? >
Create a workspace. Requires organizationId in the body — bare "personal" workspaces aren't supported on the public API.
createWorkspaceInvitation (String workspaceId , CreateWorkspaceInvitationRequest createWorkspaceInvitationRequest )
→ Future <WorkspaceInvitation ? >
Invite a user to a workspace.
createWorkspaceInvitationWithHttpInfo (String workspaceId , CreateWorkspaceInvitationRequest createWorkspaceInvitationRequest )
→ Future <Response >
Invite a user to a workspace.
createWorkspaceWithHttpInfo (CreateWorkspaceRequest createWorkspaceRequest )
→ Future <Response >
Create a workspace. Requires organizationId in the body — bare "personal" workspaces aren't supported on the public API.
getPublicInvitation (String token )
→ Future <PublicInvitationPayload ? >
Fetch invitation details by token (unauthenticated). Used by the renderer to show invitation context before the user signs in.
getPublicInvitationWithHttpInfo (String token )
→ Future <Response >
Fetch invitation details by token (unauthenticated). Used by the renderer to show invitation context before the user signs in.
getWorkspace (String workspaceId )
→ Future <WorkspaceEnvelope ? >
Fetch a single workspace by id.
getWorkspaceWithHttpInfo (String workspaceId )
→ Future <Response >
Fetch a single workspace by id.
listMyWorkspaces ()
→ Future <WorkspaceListResponse ? >
List the caller's workspaces (across organizations).
listMyWorkspacesWithHttpInfo ()
→ Future <Response >
List the caller's workspaces (across organizations).
listWorkspaceInvitations (String workspaceId )
→ Future <WorkspaceInvitationListResponse ? >
List pending workspace invitations.
listWorkspaceInvitationsWithHttpInfo (String workspaceId )
→ Future <Response >
List pending workspace invitations.
listWorkspaceMembers (String workspaceId )
→ Future <WorkspaceMemberListResponse ? >
List members of a workspace.
listWorkspaceMembersWithHttpInfo (String workspaceId )
→ Future <Response >
List members of a workspace.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeWorkspaceMember (String workspaceId , String memberId )
→ Future <void >
Remove a member from the workspace.
removeWorkspaceMemberWithHttpInfo (String workspaceId , String memberId )
→ Future <Response >
Remove a member from the workspace.
revokeWorkspaceInvitation (String workspaceId , String invitationId )
→ Future <void >
Revoke a pending workspace invitation.
revokeWorkspaceInvitationWithHttpInfo (String workspaceId , String invitationId )
→ Future <Response >
Revoke a pending workspace invitation.
toString ()
→ String
A string representation of this object.
inherited
updateWorkspace (String workspaceId , UpdateWorkspaceRequest updateWorkspaceRequest )
→ Future <WorkspaceEnvelope ? >
Update workspace metadata.
updateWorkspaceMember (String workspaceId , String memberId , UpdateWorkspaceMemberRequest updateWorkspaceMemberRequest )
→ Future <Map <String , Object > ? >
Update a member's role.
updateWorkspaceMemberWithHttpInfo (String workspaceId , String memberId , UpdateWorkspaceMemberRequest updateWorkspaceMemberRequest )
→ Future <Response >
Update a member's role.
updateWorkspaceWithHttpInfo (String workspaceId , UpdateWorkspaceRequest updateWorkspaceRequest )
→ Future <Response >
Update workspace metadata.