factory(idea-070): Deploy Gate API documentation — public endpoint reference#226
factory(idea-070): Deploy Gate API documentation — public endpoint reference#226rodchalski merged 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🔒 Permission Protocol✅ Safe to merge — This PR adds static documentation pages and UI navigation without modifying backend logic. What changed: Users can now access a new API reference page via the Developers navigation menu. 🔒 Permission Protocol · AI deploy review |
|
✅ Permission Protocol: Approved |
🔍 PR Pre-ScreenTier 2: Deep Logic Review (R1 70B)⏱️ 129.7s 🟡 [MEDIUM] Recommendation: Request Changes
Automated review by Charles (Llama 8B + DeepSeek R1 70B on DGX Spark) |
🏭 Create Factory
Idea: idea-070 — Deploy Gate API documentation — public endpoint reference
PRD: View PRD
PRD: idea-070 — Deploy Gate API Documentation Page
Issue: #15
Priority: P2
Repo: permission-protocol/site
Size: M
Problem
No public API documentation. Developers who want to integrate programmatically have to read source code or guess endpoints.
Current API Surface (from codebase)
POST /api/review/[id]/approve— approve a deploy requestPOST /api/review/[id]/reject— deny a deploy requestPOST /api/review/[id]/merge— merge after approvalPOST /api/review/[id]/rerun— re-run CI checksPOST /api/review/[id]/update-branch— update PR branchGET /api/review/[id]— get request detailsGET /api/review/[id]/summary— get AI summaryGET /api/reviews— list all deploy requestsGET /api/review/author/[username]— get author track recordPOST /api/contact— contact formGET /api/r/[id]— get receiptRequirements
New Page:
/developers/apiContent Structure
Design
CodeBlockcomponent fromsrc/components/CodeBlock.tsx)/developers/quickstartpage stylingUser Journey
/developers/apifrom navFiles to Create/Change
app/developers/api/page.tsxapp/developers/api/ApiDocsClient.tsx(client component for sidebar nav highlighting)src/components/SiteHeader.tsx— add "API Reference" to Developers dropdown (if dropdown exists) or navWhat NOT to Change
This PR was generated by the Create Factory pipeline.
Built with Codex
--full-autofrom a Charles-authored PRD.