Personal Rankings

Generate Share Link

Generate or regenerate a share link for a collection.

  • If no share code exists, creates one
  • If regenerate=true, creates a new code (invalidates old one)
  • Optionally set expiration with expires_in_days
post/api/v1/personal/collections/{collection_id}/share

Request

  • Base URL: https://app.aimrank.io (the document declares no server; this is the origin it was published from)
  • URL: https://app.aimrank.io/api/v1/personal/collections/{collection_id}/share
  • Auth: none declared

Path parameters

collection_idstring required

Request body

expires_in_daysinteger nullable

Days until link expires (null = never)

regenerateboolean

Generate a new code even if one exists

Response

Successful Response

share_codestring required
share_urlstring required
created_atstring date-time required
expires_atstring date-time nullable required
view_countinteger required
last_viewed_atstring date-time nullable required
is_activeboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.