Skip to content

docs: move gas policy Admin APIs under Tools (option E: wallets CRUD guide) - #1576

Open
CodesMcCabe wants to merge 1 commit into
mainfrom
docs/gas-policies-admin-option-e
Open

docs: move gas policy Admin APIs under Tools (option E: wallets CRUD guide)#1576
CodesMcCabe wants to merge 1 commit into
mainfrom
docs/gas-policies-admin-option-e

Conversation

@CodesMcCabe

Copy link
Copy Markdown
Contributor

Summary

  • Moves Gas Policy Admin API endpoints from Wallets → API Reference into Tools → Admin API → Gas Policies.
  • Replaces the wallets policy-management endpoint table with a Manage gas policies via API guide: dashboard vs API, create/activate, update/inspect/delete, and an endpoint reference table.
  • Adds wallets sidebar links from API Reference and Sponsor gas to that guide so wallets owns the CRUD workflow and Admin API owns the reference.

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

  • Confirm Tools → Admin API shows a Gas Policies section
  • Confirm Wallets API Reference links to the new guide, not the Admin API spec
  • Confirm Sponsor gas has a "Manage policies via API" sidebar link to the guide
  • Confirm Low-level infra → Policy Management now shows "Manage policies via API" with create/activate steps and links to Admin API endpoints
  • Confirm old wallets Admin API endpoint URLs redirect to /docs/admin-api/gas-policies/:method

Made with Cursor

…uide

Canonical reference lives under Admin API → Gas Policies. Wallets replaces the endpoint table with a policy CRUD guide.
@CodesMcCabe
CodesMcCabe requested a review from a team as a code owner August 27, 2026 19:29
@github-actions

github-actions Bot commented Aug 27, 2026

Copy link
Copy Markdown

🔗 Preview Mode

Name Status Preview Updated (UTC)
Alchemy Docs ✅ Ready 🔗 Visit Preview Aug 27, 2026, 7:30 PM

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment on lines +44 to +46
"rules": {
"maxSpendUsd": "100"
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

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.

1 participant