v4

latestOpenAPI 3.1.02026-08-08278476614.0 KB
project

Get Share Info

Get share link info for a project.

Returns one of three states:

  • Never shared: is_shared=False, share=None
  • Previously shared (revoked): is_shared=False, share={is_active: False, ...}
  • Currently shared: is_shared=True, share={is_active: True, ...}

Also includes workspace context (name, member count, project visibility) for the share dialog. Requires write access to the project.

Args: project_id: UUID of the project (validated for write access) user_profile: Current user's profile (for workspace_id) share_service: ProjectShareService for share link operations

Returns: Share info with is_shared flag, optional share details, and workspace context

get/api/v1/project/{project_id}/share

Response

Successful Response

is_sharedboolean required
workspace_namestring nullable
workspace_member_countinteger nullable
workspace_visibilitystring nullable
restricted_layer_namesstring[]