Skip to content

API-235: document global --limit/--page pagination flags in nansen schema - #500

Merged
gulshngill merged 1 commit into
mainfrom
docs/api-235-schema-pagination-globaloptions
Aug 19, 2026
Merged

API-235: document global --limit/--page pagination flags in nansen schema#500
gulshngill merged 1 commit into
mainfrom
docs/api-235-schema-pagination-globaloptions

API-235: document global --limit/--page pagination flags in nansen sc…

9ccf8a2
Select commit
Loading
Failed to load commit list.
Nansen PR Reviewer / pr-reviewer succeeded Aug 19, 2026 in 1m 4s

No issues found

Review Status

Passed

Review effort: 1/5 (Trivial)

Details

This PR adds limit and page to globalOptions in src/schema.json, making global pagination flags discoverable via nansen schema. No runtime code is touched.

The descriptions are accurate: the endpoint-type split (general default 10/max 1000 vs. profiler default 20/max 100), the carve-outs for commands with their own limit semantics (search, token top-tokens, trade limit-order list), and the non-supporting endpoints (token ohlcv, profiler perp-positions, historical-token-flow-summary) all match the implementation in src/cli.js and src/commands/research.js. The limit entry correctly omits a default (since API-side defaults differ by endpoint) and page correctly carries default: 1 consistent with buildPagination. The changeset names the right package and uses an appropriate patch bump. No findings.


Note: Claude suggested: APPROVE. Final status determined by severity thresholds.