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

Changes

Changed in 1 of the 30 revisions of this API.6

    • ○

      added optional request body

      request-body-added-optional

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the optional property to the response with the status

      response-optional-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added