Document the interfaces an outside provisioning system uses #98

Merged
calvin merged 1 commit from integration-contracts into master 2026-11-13 16:51:51 +00:00
Owner

Documentation only.

What is documented

  • New guide guides/api/integrations.md: roles, the interfaces that exist, authentication (provisioning keys, scopes, rotation, what a leaked key can do, a way to test a key), the lifecycle create, change, suspend, resume, delete and what happens to data, error codes, retries, rate limit, ordering, a curl walk-through with fake values, versioning (no stability promise yet), and a "Not available yet" list.
  • guides/api/provisioning-api.md: the suspension reason limit and default, the list shape ({"data": [...]}), trust_level and suspension_reason in the organisation answer, a pointer to the error table.
  • Linked from the README, added to the docs site extras, CHANGELOG line under Unreleased.

Checked against the code (read, not run)
Routes in router.ex for /api/v2/provisioning, ProvisioningAuth (600 requests a minute, key format), ProvisioningScope, Provisioning (suspend, resume, delete, limits defaults), Provisioning.Keys, Provisioning.Access (50 credentials), the provisioning controllers (statuses and error codes), JSON.organisation, Release.provisioning_key. mix.exs parses; mix docs was not run.

Left out on purpose
The optional messaging module is not part of the published interfaces yet.

🤖 Generated with Claude Code

Documentation only. **What is documented** - New guide `guides/api/integrations.md`: roles, the interfaces that exist, authentication (provisioning keys, scopes, rotation, what a leaked key can do, a way to test a key), the lifecycle create, change, suspend, resume, delete and what happens to data, error codes, retries, rate limit, ordering, a curl walk-through with fake values, versioning (no stability promise yet), and a "Not available yet" list. - `guides/api/provisioning-api.md`: the suspension reason limit and default, the list shape (`{"data": [...]}`), `trust_level` and `suspension_reason` in the organisation answer, a pointer to the error table. - Linked from the README, added to the docs site extras, CHANGELOG line under Unreleased. **Checked against the code (read, not run)** Routes in `router.ex` for `/api/v2/provisioning`, `ProvisioningAuth` (600 requests a minute, key format), `ProvisioningScope`, `Provisioning` (suspend, resume, delete, limits defaults), `Provisioning.Keys`, `Provisioning.Access` (50 credentials), the provisioning controllers (statuses and error codes), `JSON.organisation`, `Release.provisioning_key`. `mix.exs` parses; `mix docs` was not run. **Left out on purpose** The optional messaging module is not part of the published interfaces yet. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Document the interfaces an outside provisioning system uses
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
98b68925ce
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
calvin merged commit c7cb170b9f into master 2026-11-13 16:51:51 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
external/karta!98
No description provided.