- 
                Notifications
    
You must be signed in to change notification settings  - Fork 5.5k
 
Danny/connect proxy docs patch #15854
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
| 
           The latest updates on your projects. Learn more about Vercel for Git ↗︎  | 
    
          
WalkthroughThe pull request updates the documentation in  Changes
 Sequence Diagram(s)sequenceDiagram
    participant C as Client
    participant P as API Proxy
    participant U as Upstream API
    C->>P: Sends request
    P->>U: Forwards request (now to Upstream API)
    U-->>P: Returns response
    P-->>C: Delivers response
    Poem
 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit: 
 Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
 Other keywords and placeholders
 CodeRabbit Configuration File (
 | 
    
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: 0
🧹 Nitpick comments (2)
docs-v2/pages/connect/api-proxy.mdx (2)
16-17: Terminology Update for API Calls.The revised steps now consistently refer to the "upstream API" rather than the previous "downstream API." Additionally, consider ending the sentence on line 17 with a period for grammatical completeness.
🧰 Tools
🪛 LanguageTool
[uncategorized] ~17-~17: A period might be missing here.
Context: ... response from the upstream API back to you 
103-104: Header Example Revision.The header example now shows
hello: "world!"with a comment mentioning that headers are sent to the upstream API. Confirm that this example serves the intended purpose and clearly illustrates the configuration.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (1)
docs-v2/pages/connect/api-proxy.mdx(4 hunks)
🧰 Additional context used
🪛 LanguageTool
docs-v2/pages/connect/api-proxy.mdx
[uncategorized] ~17-~17: A period might be missing here.
Context: ... response from the upstream API back to you  
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Lint Code Base
 - GitHub Check: pnpm publish
 - GitHub Check: validate-links
 
🔇 Additional comments (5)
docs-v2/pages/connect/api-proxy.mdx (5)
19-19: Visualization Link Updated.The updated visualization URL appears to be correctly integrated. Please verify that the new URL is accurate and that the image is accessible.
40-40: Updated Authentication Header Description.The explanation now clearly indicates that headers will be forwarded to the upstream API. This change aligns with the updated terminology.
128-128: HTTP Method Guidance.The instruction to "Use the HTTP method required by the upstream API" now accurately reflects the updated terminology.
132-132: Optional Request Body Clarification.The note clarifying that a body may optionally be included for the upstream API is now consistent with the overall terminology changes.
137-138: REST API Headers Clarification.The revised lines now specify that headers prefixed with
x-pd-proxywill be forwarded to the upstream API and properly instruct users on customizing authorization headers with the macro syntax.
WHY
Summary by CodeRabbit