Skip to content

docs: write score API reference — GET /api/score/:userId #4

Description

@basanth-p

Summary

Write the full API reference page for the GET /api/score/:userId endpoint.

Content to cover

  1. Endpoint overview — what it returns, when to use
  2. Authentication — Bearer token, how to obtain
  3. Path parameters — userId
  4. Response schema — score, bucket, breakdown[], computed_at
  5. Score buckets — Beginner / Active / Expert / Elite ranges
  6. Error responses — 401, 404, 429, 500
  7. Code examples — cURL, JavaScript fetch, Python requests

Deliverable

/api-reference/score.mdx

Depends on

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions