docs: move gas policy Admin APIs under Tools (option E: wallets CRUD guide) - #1576
docs: move gas policy Admin APIs under Tools (option E: wallets CRUD guide)#1576CodesMcCabe wants to merge 1 commit into
Conversation
…uide Canonical reference lives under Admin API → Gas Policies. Wallets replaces the endpoint table with a policy CRUD guide.
🔗 Preview Mode
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1b8080ed0e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "rules": { | ||
| "maxSpendUsd": "100" | ||
| } |
There was a problem hiding this comment.
Fix the invalid create-policy payload
The new copy-paste example does not conform to the Create Policy schema: Rules.startTimeUnix is required by src/openapi/admin/admin.yaml, and maxSpendUsd must be a number rather than the string sent here. Users following this guide can receive request-validation errors before reaching the activation step; include startTimeUnix and send maxSpendUsd as 100.
Useful? React with 👍 / 👎.
Summary
This is option E of four IA variants (recommended, A, B, E). Heaviest wallets content: a real CRUD guide instead of a link table.
Test plan
/docs/admin-api/gas-policies/:methodMade with Cursor