Skip to content

docs(api): describe user stats zeros for non-VIP users as temporary - #1104

Merged
kevincador merged 1 commit into
masterfrom
docs/api-user-stats-non-vip-zeros
Nov 27, 2026
Merged

kevincador merged 1 commit into
masterfrom
docs/api-user-stats-non-vip-zeros

Conversation

@kevincador

Copy link
Copy Markdown
Contributor

Update the GET /users/{id}/stats description to match current behavior. Stats are only available for VIP users, and clients should check the user's vip flag before using the body. Non-VIP users currently get a 200 with every count set to 0, documented as temporary placeholders that clients should treat as "no stats available". The contract response types are unchanged.

Closes #1099.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-27T08:59:50.578094Z ad77733 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@kevincador
kevincador merged commit 3dfca3d into master Nov 27, 2026
9 checks passed
@kevincador
kevincador deleted the docs/api-user-stats-non-vip-zeros branch November 27, 2026 09:00
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.

GET /users/{id}/stats answers 200 with all-zero counts for a non-VIP user, contract documents 204

1 participant