Sharing operations

Share data via links.

Each operation below is reachable at POST /v1/op/{operation_id} or the resource path POST /v1/{resource}/{action}, with a Bearer token (a gpra_ API key or a session token). Back to the Operations Reference index.

share.link.create

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

Scopeshares:write
Side-effectexport
HTTPPOST /v1/op/share.link.create · POST /v1/share/link/create
Python / TypeScriptclient.share.link.create(…)
CLIgeopera share link create …

RequestShareLinkCreate

FieldTypeRequiredDescription
target_typeShareTargetTypeyes
target_idstringyes
permissionSharePermission
passwordstringyesPlaintext password (will be bcrypt-hashed)
expires_atstring (date-time)yes

ResponseShareLinkCreateOutput.

share.link.revoke

Revoke a share link (editor/admin on the shared target’s project).

Scopeshares:write
Side-effectdestructive
HTTPPOST /v1/op/share.link.revoke · POST /v1/share/link/revoke
Python / TypeScriptclient.share.link.revoke(…)
CLIgeopera share link revoke …

RequestShareLinkRevokeInput

FieldTypeRequiredDescription
link_idstringyes

ResponseShareLinkRevokeOutput.

share.link.validate

Validate a share link (token + password) and return the shared target.

Scopeshares:read
Side-effectread
HTTPPOST /v1/op/share.link.validate · POST /v1/share/link/validate
Python / TypeScriptclient.share.link.validate(…)
CLIgeopera share link validate …

RequestShareLinkValidateInput

FieldTypeRequiredDescription
tokenstringyes
passwordstring

ResponseShareLinkValidateOutput.

share.tile.render

Render a map tile for a publicly-shared item (sharer-billed).

Scopeshares:read
Side-effectread
HTTPPOST /v1/op/share.tile.render · POST /v1/share/tile/render
Python / TypeScriptclient.share.tile.render(…)
CLIgeopera share tile render …

RequestShareTileInput

FieldTypeRequiredDescription
tokenstringyes
passwordstring
zintegeryes
xintegeryes
yintegeryes
formatstring
profilestring

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.

share.tilejson

TileJSON for a publicly-shared item (token + password).

Scopeshares:read
Side-effectread
HTTPPOST /v1/op/share.tilejson · POST /v1/share/tilejson
Python / TypeScriptclient.share.tilejson(…)
CLIgeopera share tilejson …

RequestShareTilejsonInput

FieldTypeRequiredDescription
tokenstringyes
passwordstring
profilestring

Response — a streaming or binary payload (NDJSON / file / tile). Call the HTTP endpoint directly; the JSON SDK return does not apply.