Accept a direct-share link
Accept a direct-share token as the recipient.
DirectShareAcceptance that is the grant (full batch edit, schema view). A foreign or spent token is 404.Authorizations
Organisation API key from Settings → API / /api/keys/. The secret is
shown once. Send Authorization: Bearer sk-abacus-…. One active key
per organisation. Ingest (/api/v2/ingest/*) refuses API keys — that
surface is Auth0-only with ingest:read / ingest:write scopes.
Path Parameters
Response
Output projection for a single :class:DirectShareAcceptance row.
Used as a roster element inside :class:DirectShareLinkSerializer
(owner-side roster on the link detail) AND as the response body of
the recipient-side accept / remove endpoints (so the SPA can update
its local cache from the response without a follow-up GET).
Compact user projection for created_by / revoked_by
/ accepted_by.
Named with a _DirectShare prefix to avoid a drf-spectacular
component-name collision with
:class:deckmonkey.api_v2.library.serializers._ActorSerializer.

