Skip to content

fix: update curl examples to use production API URL (CPL-203)#263

Merged
GTC6244 merged 2 commits intomainfrom
feature/cpl-203-fix-more-curls-in-the-mdx-files
Apr 2, 2026
Merged

fix: update curl examples to use production API URL (CPL-203)#263
GTC6244 merged 2 commits intomainfrom
feature/cpl-203-fix-more-curls-in-the-mdx-files

Conversation

@GTC6244
Copy link
Copy Markdown
Contributor

@GTC6244 GTC6244 commented Apr 2, 2026

Summary

  • Replace all http://localhost:8000 and https://api.dev.litprotocol.com references in cURL examples with https://api.chipotle.litprotocol.com (production API)
  • Update introductory text to describe the cURL BASE as "hosted production API" instead of "local dev node"
  • 3 files, 29 lines changed: docs/api_direct.mdx, docs/management/api_direct.mdx, docs/management/api_keys.mdx

Closes CPL-203

Pre-Landing Review

No issues found. Docs-only change (URL replacements in MDX curl examples).

Adversarial Review

Claude + Codex both flagged the cURL→prod vs JS SDK→dev split as a potential confusion point. This is intentional and documented in the intro text of each file ("cURL snippets use production API, JS snippets use dev API").

Test plan

  • No localhost:8000 references remain in any MDX file
  • No api.dev.litprotocol.com references remain in cURL examples
  • JS SDK examples intentionally still reference api.dev.litprotocol.com (dev environment)

🤖 Generated with Claude Code

Replace localhost:8000 and api.dev.litprotocol.com references in curl
examples across MDX docs with https://api.chipotle.litprotocol.com.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@GTC6244 GTC6244 requested review from a team and Copilot April 2, 2026 02:54
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates documentation cURL examples to target the hosted production Chipotle API instead of localhost/dev URLs.

Changes:

  • Replaced http://localhost:8000 and https://api.dev.litprotocol.com with https://api.chipotle.litprotocol.com in cURL snippets.
  • Updated introductory text to describe cURL examples as using the hosted production API.
  • Kept JavaScript SDK examples pointing at the hosted dev API (as described in the intro text).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
docs/api_direct.mdx Switches cURL example endpoints to the production API and updates the intro environment description.
docs/management/api_direct.mdx Switches management cURL example endpoints to the production API and updates the intro environment description.
docs/management/api_keys.mdx Switches API key management cURL example endpoints to the production API.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@GTC6244 GTC6244 changed the base branch from next to main April 2, 2026 03:21
@GTC6244 GTC6244 merged commit 2f61cba into main Apr 2, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants