Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ amp flags list --project <project_id> --limit 5
amp flags create --project <project_id> --key my-flag --name "My Flag"
amp flags get --project <project_id> --flag <flag_id>
amp flags archive --project <project_id> --flag <flag_id> --dry-run
amp heatmaps click-map --project <project_id> --page-url https://example.com/pricing
amp zoning zone-metrics --project <project_id> --page-url https://example.com/pricing --metric click_rate_pageview
```

## Smoke test
Expand Down
12 changes: 6 additions & 6 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ granular `read:`/`write:` scopes below plus the legacy `mcp:read`/`mcp:write`
org scopes), so all commands work immediately after login. The per-command
scopes below document what each command needs.

| Command family | Scopes |
| -------------------------- | --------------------------------- |
| `context`, `projects list` | `projects:read` |
| `events *` | `taxonomy:read`, `taxonomy:write` |
| `flags *` | `flags:read`, `flags:write` |
| `charts *` | `analytics:read` |
| Command family | Scopes |
| ------------------------------------ | --------------------------------- |
| `context`, `projects list` | `projects:read` |
| `events *` | `taxonomy:read`, `taxonomy:write` |
| `flags *` | `flags:read`, `flags:write` |
| `charts *`, `heatmaps *`, `zoning *` | `analytics:read` |

Route-level scopes are defined on each OpenAPI operation (`x-required-scopes`).

Expand Down
Loading
Loading