Skip to content

docs(readme): document /v1, auth-gated routes, rate limits, security.txt - #85

Merged
amrtgaber merged 1 commit into
mainfrom
docs/readme-refresh
May 13, 2026
Merged

docs(readme): document /v1, auth-gated routes, rate limits, security.txt#85
amrtgaber merged 1 commit into
mainfrom
docs/readme-refresh

Conversation

@amrtgaber

Copy link
Copy Markdown
Contributor

The README still said "No authentication required. Read-only." — no longer true since the loadout and user routers landed. Replaced that with an API surface section:

  • All data routes are versioned under /v1; infrastructure routes (/, /health, /docs, /.well-known/security.txt) stay unversioned.
  • Game data is public and read-only.
  • /v1/user/inventories/* (inventory CRUD + PS1 memory-card save import) and POST /v1/loadout require a CriticalBit account — they authenticate via the criticalbit_access JWT cookie, verified against criticalbit-auth-api's JWKS.
  • 60 req/min/IP default rate limit (some routes exempt).
  • /.well-known/security.txt for vulnerability reports.

Docs only — no code changes.

@amrtgaber
amrtgaber merged commit d394863 into main May 13, 2026
2 checks passed
@amrtgaber
amrtgaber deleted the docs/readme-refresh branch May 13, 2026 04:20
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