Skip to main content

List Shares

GET 

/v1/viz/:viz_id/shares

List a viz's named shares, newest first, revoked and expired ones included.

Each carries its id, label, filters, state (active, revoked or expired, an open string), expiresAt, revokedAt and linkHint — the first characters of its link, to recognise it. The link itself is not here: it is shown once, when the share is created. Editors of the viz only, because a label and its filters name who a link was made for.

Cursor-paginated: pass the returned nextKey back as exclusiveStartKey; nextKey: null means the last page.

Cursor-paginated. The wire query parameter is exclusiveStartKey (what the cURL tab and the parameter table show); the TypeScript SDK takes it as the exclusiveStartKey option and the Python SDK as the exclusive_start_key keyword — one parameter, spelled per language. Pass the previous page's nextKey and stop when it comes back null — or let iterAll() / iter_all() drive the cursor for you (see the SDKs page, "Pagination").

Request​

Responses​

Successful Response