Skip to content

CP-8994 Document organisation API keys - #118

Merged
mattkepple merged 2 commits into
mainfrom
CP-8994-api-keys
Oct 31, 2026
Merged

mattkepple merged 2 commits into
mainfrom
CP-8994-api-keys

Conversation

@mattkepple

@mattkepple mattkepple commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Companion to the Rails PRs for CP-8994: MakerbleDev/makerble#17243 (authentication with a key) and MakerbleDev/makerble#17250 (the API v2 /api_keys endpoints). MCP tools: MakerbleDev/makerble-mcp#111.

  • openapi.yaml:
    • An "Organisation API keys" part in the introduction's Authentication section, and an apiKeyAuth (Bearer) security scheme.
    • An API keys tag and four operations: listApiKeys, createApiKey, getApiKey, revokeApiKey.
    • The schemas ApiKey, ApiKeyWithSecret, ApiKeyRequest and PaginatedApiKeys.
  • server.js:
    • An "API keys" nav link under Integrations.
    • A tip in Authentication pointing to it.
    • A new API keys section with four endpoint cards.

The same openapi.yaml additions are vendored in the Rails repo (spec/support/api_schemas/openapi.yaml), where contract specs check the responses against them.

npm run check passes. The diff touches only openapi.yaml and the nav and endpoint cards in server.js.

When to merge: the API docs are still pre-launch, so per CLAUDE.md this can be merged once it has been reviewed, without waiting for the Rails change to reach production.

🤖 Generated with Claude Code

https://claude.ai/code/session_01F1a5xqkxSnHWhH2odkqnP2

Add the API keys endpoints (list, create, get, revoke) to openapi.yaml
and as endpoint cards, and explain how to authenticate with a key:
Authorization: Bearer mk_live_..., acting as the colleague chosen,
limited to the key's organisation and to the endpoints a connected app
can call.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F1a5xqkxSnHWhH2odkqnP2
@vercel

vercel Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api-docs Ready Ready Preview Oct 31, 2026 8:43am UTC

@mattkepple
mattkepple marked this pull request as ready for review October 31, 2026 08:43
@mattkepple
mattkepple merged commit 2eb1715 into main Oct 31, 2026
2 of 3 checks passed

This branch was successfully deployed

1 active deployment
Preview — 83ebf00d Deployed Oct 31, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants