# Shares

A space manager shares one object with people by email: shares.create with
object_type document, folder (with every subfolder and document below it, also
documents moved in later), page (published only) or record_type. Guests are
signed-in Adlass users without a seat in the space's organization; they read
that object only and count against the plan's guest limit.

As a guest: shares.mine lists what was shared with you. Read a document with
documents.get, data.read (by document id), documents.facts_cat or documents.download
(one file per call); a folder with documents.folder_contents or documents.ls
starting at the shared folder; a data type with records.types.describe,
records.rows.query (at most 100 rows per call) and data.read (by record id); a page
with pages.shared_open. A shared app page runs like a visit through a hidden link
of the share: signed in with the guest's verified email (`:viewer_email`), without
link values (a policy on `:link_*` shows no rows), downloads or actions, and
following every publish by a person. Space-wide operations (spaces.*, records.sql,
records.schema, documents.facts_grep, documents.facts_read, bulk downloads,
exports, runs) answer not_found for guests. shares.leave gives access up.

As a manager: shares.list shows who has access (also through a parent
folder), shares.revoke removes it, shares.resend sends the email again,
shares.guests (tenant admins) shows the count against the limit.
