-
-
Notifications
You must be signed in to change notification settings - Fork 979
chore(docs): Add deployment API docs #2963
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
base: main
Are you sure you want to change the base?
Conversation
|
WalkthroughThe PR adds API documentation for a Deployments API with three new endpoints. It introduces a new documentation group in the navigation structure pointing to three new MDX documentation files. The OpenAPI specification is extended with three new endpoints under the /api/v1/deployments path: one to retrieve a specific deployment by ID, one to retrieve the latest deployment, and one to promote a deployment version. Each endpoint includes responses, security configurations, and code samples in TypeScript and curl. Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 🧹 Recent nitpick comments
📜 Recent review detailsConfiguration used: Repository UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (5)
🧰 Additional context used📓 Path-based instructions (1)**/*.{js,ts,jsx,tsx,json,md,yaml,yml}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🪛 Checkov (3.2.334)docs/v3-openapi.yaml[medium] 569-582: Ensure that arrays have a maximum number of items (CKV_OPENAPI_21) 🪛 Gitleaks (8.30.0)docs/v3-openapi.yaml[high] 602-605: Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource. (curl-auth-header) [high] 665-668: Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource. (curl-auth-header) [high] 730-733: Discovered a potential authorization token provided in a curl command header, which could compromise the curl accessed resource. (curl-auth-header) 🔇 Additional comments (6)
✏️ Tip: You can disable this entire section by setting 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 |
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.
Review CompleteYour review story is ready! Comment !reviewfast on this PR to re-generate the story. |
Adds documentation for deployment management APIs (promote, retrieve, get-latest)