Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
Adds a new API integration guide that documents how partners can view and manage vault fee settings (fee rate, fee receiver, and fee distribution) and links it into the docs navigation.
Changes:
- Added a new “Setting Partner Fees” guide with step-by-step API calls and workflow summary.
- Updated the docs table of contents to include the new guide under “Guides and Tutorials”.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| apps/docs/api-integration-guide/guides-and-tutorials/setting-partner-fees.md | New guide describing partner fee configuration and distribution flows via API endpoints. |
| apps/docs/SUMMARY.md | Adds the new guide to the GitBook navigation. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| ```bash | ||
| curl -X GET "https://api.defindex.io/vault/YOUR_VAULT_ADDRESS?network=mainnet" \ | ||
| -H "Authorization: Bearer YOUR_JWT_TOKEN" |
There was a problem hiding this comment.
The guide’s prerequisites call this credential an “API key”, but the curl examples use YOUR_JWT_TOKEN. Elsewhere in the docs (e.g., API guide / troubleshooting) the value passed in Authorization: Bearer … is the API key itself (typically sk_…), not a JWT. Consider renaming the placeholder to YOUR_API_KEY (or similar) throughout this guide and adjusting the surrounding text so readers don’t think they need an extra JWT-exchange step.
| -H "Authorization: Bearer YOUR_JWT_TOKEN" | |
| -H "Authorization: Bearer YOUR_API_KEY" |
Summary
Closes #786