Skip to content

docs(platform): low-level b3 API reference#139

Merged
tamalsaha merged 3 commits into
masterfrom
docs/b3-api-reference
Jul 13, 2026
Merged

docs(platform): low-level b3 API reference#139
tamalsaha merged 3 commits into
masterfrom
docs/b3-api-reference

Conversation

@tamalsaha

Copy link
Copy Markdown
Member

What

Adds a new API Reference section under docs/platform/api/ — low-level, endpoint-by-endpoint documentation of the ACE platform backend (b3) REST API, detailed enough to implement a client directly.

  • 18 API groups (from the b3 HLD grouping) as folders, each with an _index.md and per-subgroup pages — 55 markdown files, 483 documented endpoints.
  • Every endpoint documents: HTTP method + path, description, authentication (incl. site-admin/org-admin/authz notes), path/query parameters, request-body schema + field tables, and response schema + example.
  • Built from the b3 source and its OpenAPI description; examples use real (sanitized) response shapes.
  • Wires into the Hugo site nav as a top-level section (section_menu_id: api, weight 40).

Live verification

GET endpoints were verified against a live deployment (hub + monitoring/dbaas spokes). Each carries an inline > **Verified:** note with the status code and, for non-200s, the reason (e.g. AppsCode-hosted-only or non-billing routes returning 404 = availability gating; missing preconditions returning 500). Only GET requests were issued — no mutating verbs.

Approx outcomes: ~128 × 2xx, 75 × 404 (feature/deployment gating), 22 × 500 (missing precondition), plus a handful of 302/400/403 — all annotated.

Safety

No secrets, tokens, hosts, emails, or names are committed — the tree passed a PII/secret scan.

Notes for reviewers

  • Internal links follow this repo's extra-../ convention; I have not run liche yet — happy to if preferred.
  • A couple of endpoints where the live behavior differed from the schema are documented as-observed (e.g. chart /charts returns name strings; the user billing dashboard lives at /api/v1/dashboard/clusters/*).

kodiak-appscode[bot]
kodiak-appscode Bot previously approved these changes Jul 13, 2026
Add a new "API Reference" section under docs/platform/api/ documenting the
ACE platform backend (b3) REST API at the endpoint level: HTTP method, path,
authentication, path/query parameters, and request/response schemas for every
operation, so a client can be implemented directly against it.

- 18 API groups (hld grouping) as folders, with per-subgroup pages and an
  index; 483 endpoints across 55 markdown files.
- GET endpoints were verified against a live deployment; each carries an inline
  verification note (status + reason for non-200s such as availability gating).
- Examples are sanitized (no secrets, hosts, emails, or tokens).

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha
tamalsaha force-pushed the docs/b3-api-reference branch from e4c5595 to a3553de Compare July 13, 2026 20:24
Hugo's front-matter YAML parser rejected 'name: Identity: Users & Settings'
(mapping values are not allowed in this context). Quote the two affected
group names so the site builds.

Signed-off-by: Tamal Saha <tamal@appscode.com>
kodiak-appscode[bot]
kodiak-appscode Bot previously approved these changes Jul 13, 2026
@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 543ad1b):

https://kubedb-v2-hugo--pr139-docs-b3-api-referenc-knmkd0c4.web.app

(expires Mon, 20 Jul 2026 20:47:31 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 0f29ae8ae0bd54a99bf2b223b6833be47acd5943

…viewer

- Fix intra-group and cross-section relative links to satisfy the repo's
  extra-"../" convention (verified with the CI liche fork + -s): same-directory
  siblings use ../<file>, cross-group/section links get one additional ../.
- Add docs/platform/api/openapi.yaml — the machine-readable OpenAPI 3.0.3 spec,
  served verbatim as a page resource and linked from the API reference index.
- Add api.html at the repo root — a self-contained Swagger UI viewer with the
  spec inlined (kept out of docs/ so the link checker does not scan its inlined
  URLs and Hugo does not wrap it in the site theme).

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha
tamalsaha merged commit 3d540cd into master Jul 13, 2026
6 checks passed
@tamalsaha
tamalsaha deleted the docs/b3-api-reference branch July 13, 2026 20:58
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.

1 participant