project

Generate Share Link

Changed on

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

  • Base URL
    https://api.maia-analytics.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maia-analytics.com/api/v1/project/{project_id}/share
  • Auth
    HTTP bearer

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

    • info

      added optional request body

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status