/api/account/cla
The Contributor License Agreement gates contribution to the public SynC Standards wiki. Read it, and accept it to be granted the wiki:standard:read and wiki:standard:create permissions.
GET /api/account/claGet the active Contributor License Agreement and whether you have accepted it. The CLA is the licence under which you contribute content to the public SynC Standards wiki; accepting it is what grants contributor rights. Returns id (pass it back to the accept endpoint), version, full markdown content, effective_date, and accepted / accepted_version / accepted_at for the calling account. Works with an API key or a session.
POST /api/account/cla/acceptAccept the active Contributor License Agreement. This grants the SiteContributor role, which carries the wiki:standard:read and wiki:standard:create permissions — the gate on wiki authoring. Call this when /api/whoami reports a wiki permission in `dormant` with remedy "POST /api/account/cla/accept". Send the `id` from GET /api/account/cla as document_id; a stale id returns 409 CLA_VERSION_STALE (re-read the CLA and retry). 403 CONTRIBUTION_BARRED means an administrator has withheld contribution rights — acceptance is recorded but no role is granted, and only an administrator can clear it. Accepting twice is harmless. Works with an API key as well as a session; an API key that already lists the wiki permissions in its grant picks them up on its next request. The key still only gains what its owner gained — a wiki permission the key was never granted stays unavailable.
document_id — integer — the `id` returned by GET /api/account/cla