-
Notifications
You must be signed in to change notification settings - Fork 871
DR-6257 Management API Docs Updates #7389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Dangerous URL checkNo absolute URLs to prisma.io/docs found. |
Redirect checkThis PR probably requires the following redirects to be added to static/_redirects:
|
WalkthroughAdded detailed response examples and environment guidance to the POST /projects documentation and introduced a new GET /databases/{databaseId}/usage endpoint with query parameters, full response schema, and status code documentation. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (1)
Comment |
Deploying docs with
|
| Latest commit: |
f1cba2e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://577f0a1d.docs-51g.pages.dev |
| Branch Preview URL: | https://dr-6257-management-api-docs.docs-51g.pages.dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
content/250-postgres/100-introduction/230-management-api.mdx (1)
370-405: SpecifystartDate/endDateformat + semantics (timezone, inclusivity, defaults, validation rules)The endpoint is clear, but readers will get stuck on what values are accepted/expected for
startDateandendDate(ISO-8601? date-only vs timestamp? UTC required? inclusive/exclusive? what happens if omitted? max range?).A small doc add would prevent 400s and support tickets—for example:
startDate,endDate: ISO 8601 timestamps (UTC recommended), e.g.2025-12-01T00:00:00.000Z- If omitted: default period (e.g., “last 30 days”) — whatever the API does
- Validation:
startDate <= endDate, max period length, and whether future dates are allowedIf the OpenAPI spec already defines this, mirror it here verbatim to keep the guide aligned.
📜 Review details
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
content/250-postgres/100-introduction/230-management-api.mdx(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
- GitHub Check: Check internal links
- GitHub Check: Cloudflare Pages
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.