docs(organizations): member/domain error envelope is {status, error}#263
Conversation
…tatus, error} The api converged these endpoints' error paths on the shared errorResponse helper (recoupable/api#749), which emits {status:"error", error} — the same shape validateAuthContext's 401s always had. New ErrorEnvelope schema; the 16 error responses across the five member/domain operations now reference it. The pre-existing artists endpoint keeps OrganizationsErrorResponse ({status, message}), which is what it actually emits. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 24 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
What
Reconciles the contract with reality after api#749's review round converged the members+domains endpoints on the shared
errorResponsehelper:ErrorEnvelopeschema:{status: "error", error: string}error(sharedvalidateAuthContext), but were documented asmessageOrganizationsErrorResponse(message) — that is what its handler actually emitsTracking: chat#1841. Merge after api#749 (contract follows the implementation in this reconcile step).
🤖 Generated with Claude Code
Summary by cubic
Aligns org members/domains API docs with the implementation by adding a shared ErrorEnvelope schema {status: "error", error} and pointing all 400/401/403/409 responses to it. Fixes the 401 mismatch (docs said message; API returns error); the artists endpoint stays on OrganizationsErrorResponse {status, message}.
Written for commit d03b099. Summary will update on new commits.