Skip to content

fix(docs): separate SDK routes from dashboard routes in API reference#38

Merged
beonde merged 1 commit into
mainfrom
fix/docs-p2-server-auth
May 2, 2026
Merged

fix(docs): separate SDK routes from dashboard routes in API reference#38
beonde merged 1 commit into
mainfrom
fix/docs-p2-server-auth

Conversation

@beonde
Copy link
Copy Markdown
Member

@beonde beonde commented May 2, 2026

Summary

Clarify the authentication split between SDK/CLI routes and dashboard routes in the server API reference documentation.

Documentation Audit Reference

Phase: P2-15
Severity: Medium

Changes

  • docs/reference/server/index.md: Split endpoint summary into SDK, Dashboard, and Public route groups with correct auth methods
  • docs/reference/server/badge-ca.md: Fix IAL-0 example to show Clerk JWT (dashboard auth), fix IAL-1 examples to use /v1/sdk/ paths
  • docs/getting-started/complete-workflow.md: Use /v1/sdk/agents for agent registration, replace raw curl badge request with CLI command

Verification

  • mkdocs build --strict passes
  • Routes verified against capiscio-server/internal/api/router.go
  • Auth patterns match actual middleware configuration

P2-15: Clarify authentication split between SDK/CLI routes
(/v1/sdk/* with X-Capiscio-Registry-Key) and dashboard routes
(/v1/* with Clerk JWT).

Changes:
- reference/server/index.md: Split endpoint table into SDK, Dashboard, and Public sections
- reference/server/badge-ca.md: Fix IAL-0 to show Clerk auth, IAL-1 to use /v1/sdk/ paths
- getting-started/complete-workflow.md: Use /v1/sdk/agents for registration, CLI for badge request
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 2, 2026

✅ Documentation Build Successful

The documentation build completed successfully and passed validation checks.

  • ✅ Build completed without errors
  • ✅ Critical files present (index.html, sitemap.xml, robots.txt)
  • ✅ Link validation completed

This PR will deploy to dev-docs.capisc.io when merged to main.

@beonde beonde merged commit 5a52d9b into main May 2, 2026
4 checks passed
@beonde beonde deleted the fix/docs-p2-server-auth branch May 2, 2026 18:46
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