latestOpenAPI 3.1.02026-08-22290519653.4 KB

136e4af4d514

project

Generate Share Link

Generate a share link for a project (idempotent).

If an active share link already exists, returns it. Otherwise creates a new one with a unique token. Requires write access to the project.

Args: project_id: UUID of the project (validated for write access) share_service: ProjectShareService for share link operations

Returns: Share link details including full URL, token, and status

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

Request body

duration_daysinteger
consumer_domain_overrideboolean

Response

Successful Response

share_urlstring required
share_tokenstring required
is_activeboolean required
view_countinteger required
created_atstring date-time nullable
access_mode'geometry_only' | 'gated' required
duration_daysinteger nullable
expires_atstring date-time nullable
consumer_domain_overrideboolean