assets

List a file's share links

Every share link minted for this file, newest first, revoked ones included — who can reach the file right now, and what has been shut off. Tokens are never included: they are shown once, at creation. Answers 404 when the file does not exist, has been deleted, or belongs to another workspace.

get/v1/assets/{asset_id}/share-links

Request

  • Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
  • URL: https://api.patricia.app/v1/assets/{asset_id}/share-links
  • Auth: HTTP bearer

Path parameters

asset_idstring uuid required

The asset's id.

Headers

X-Tenant-Idstring nullable

Response

Successful Response

password_protectedboolean required
idstring uuid required
created_atstring date-time required
revoked_atstring date-time nullable

When this link was shut off, or null while it still works.

expires_atstring date-time nullable

When this link stops working on its own. Null means it never does: either somebody created it with no end date, or it predates expiry entirely. Such a link is still revoked the moment somebody turns it off, deletes the file, or sets the file to 'Only me' — and a revoked link never comes back.

Changes

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