-
Notifications
You must be signed in to change notification settings - Fork 45
refactor: update API endpoints and documentation for new structure #46
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
iamnivekx
commented
May 21, 2025
- Changed DefaultAPIURL to point to the new swap version endpoint.
- Updated various API paths to remove the versioning from the URL.
- Revised comments and documentation links to reflect the new API structure and provide clearer references.
- Changed DefaultAPIURL to point to the new swap version endpoint. - Updated various API paths to remove the versioning from the URL. - Revised comments and documentation links to reflect the new API structure and provide clearer references.
|
Switched to the new Jupiter swap API format used by providers like QuickNode curl -s -L -g 'https://jupiter-swap-api.quiknode.pro/{your_key}/quote?inputMint=So11111111111111111111111111111111111111112&outputMint=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&amount=100000000&slippageBps=50&restrictIntermediateTokens=true'Removed /v1/ versioning from paths to follow their current unversioned API structure. |
|
thanks for your contribution @iamnivekx |
|
I was wondering—do you think it might make more sense to submit a PR directly to the official jupiter-quote-api-node repository regarding the field format unification? That way, we could benefit from more stable updates and stay better aligned with upstream changes from the Jupiter team. This way, we’d just need to sync the Swagger spec and regenerate the code each time, which would make maintenance much easier. |
That's a great idea, @iamnivekx! Do you have time to prepare the PR, or would you like me to take care of it? |
|
@ilkamo prepared the jup-ag/jupiter-quote-api-node#66 |
@iamnivekx I’ve added a comment with additional context under your PR and tagged the team for visibility. Let’s see how they respond. |
…lkamo#46) * refactor: update API endpoints and documentation for new structure - Changed DefaultAPIURL to point to the new swap version endpoint. - Updated various API paths to remove the versioning from the URL. - Revised comments and documentation links to reflect the new API structure and provide clearer references. - fix: add int64 format to integer schema in OpenAPI definition