resource-facade

Create a password-protected share link for an item or collection.

post/v1/share/link/create

Request

  • Base URL: https://api.geopera.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.geopera.com/v1/share/link/create
  • Auth: HTTP bearer

Headers

x-api-keystring nullable

Request body

target_type'item' | 'collection' required
target_idstring required
permission'view' | 'download'
passwordstring required

Plaintext password (will be bcrypt-hashed)

expires_atstring date-time required

Response

Successful Response

idstring required
tokenstring required
target_typestring required
target_idstring required
permissionstring required
organization_idstring required
project_idstring required
expires_atstring date-time required
revoked_atstring date-time nullable
access_countinteger
last_accessed_atstring date-time nullable
created_bystring nullable
created_atstring date-time required

Changes

No recorded changes to this operation across all 8 revisions of this API.