Summary
Write the full API reference page for the GET /api/score/:userId endpoint.
Content to cover
- Endpoint overview — what it returns, when to use
- Authentication — Bearer token, how to obtain
- Path parameters —
userId
- Response schema —
score, bucket, breakdown[], computed_at
- Score buckets — Beginner / Active / Expert / Elite ranges
- Error responses — 401, 404, 429, 500
- Code examples — cURL, JavaScript fetch, Python requests
Deliverable
/api-reference/score.mdx
Depends on
Summary
Write the full API reference page for the
GET /api/score/:userIdendpoint.Content to cover
userIdscore,bucket,breakdown[],computed_atDeliverable
/api-reference/score.mdxDepends on
corescore API scaffold (patchid/core#10)