Access & sharing
Find who holds a source, ask the holder for access, decide on requests to your own sources, and share documents or whole sources you hold, always as yourself.
In a workspace where reads follow access scopes, every source and every person's uploads has a holder: the person who connected it or uploaded the files. Nobody else reads it until the holder shares it, or approves an access request. GET /v1/governance/sharing answers available: false in a workspace that is not on access scopes; the routes below then answer 409.
A share is for reading: one document, several, or a whole source (new documents included), with one member, a workspace group or everyone, for a number of days or until stopped. Everything else in the workspace's access rules still applies to the person you share with. A document share holds while you hold the document's source: when it moves to someone else, or you leave, your shares of it end. Asking for access to a document that does not exist and to one you may not see answer alike (404).
Reads need access:read (any member); asking, deciding and sharing need access:write, which works for Contract Management and above, not for a Viewer. The API answers for the person the key or OAuth token belongs to; a key that belongs to no person is refused with 403 and reason: no_person.
/v1/governance/directory/v1/governance/access-requests/v1/governance/access-requests/v1/governance/access-requests/:id/approve/v1/governance/access-requests/:id/deny/v1/governance/access-requests/:id/stop/v1/governance/sharing/v1/governance/documents/:id/access/v1/governance/documents/:id/shares/v1/governance/access-requests/:id/second/v1/governance/shares/documents/v1/governance/shares/scopes/v1/governance/shares/pass-on/v1/governance/shares/:kind/:id/stopData points share the values of single Spec fields from your own documents, never the documents. The Spec proposes who may read each field; nothing travels until you confirm. A shared value carries its Spec and field, the document type, a date at the precision you choose and your name unless you hide it, and an opaque row key that lines up the shared fields of one record. Sensitive fields stay private.
/v1/governance/data-points/v1/governance/data-points/:specId/v1/governance/data-points/:specId/stop/v1/governance/data-points/shared