Skip to content

feat(config): add cursor pagination - #423

Open
Jagadeeshftw wants to merge 1 commit into
Agentpay-Org:mainfrom
Jagadeeshftw:feature/config-01-pagination
Open

feat(config): add cursor pagination#423
Jagadeeshftw wants to merge 1 commit into
Agentpay-Org:mainfrom
Jagadeeshftw:feature/config-01-pagination

Conversation

@Jagadeeshftw

Copy link
Copy Markdown

Closes #372

Summary

  • Adds cursor-based pagination to GET /api/v1/config with bounded page size
  • Returns paged config entries as { key, value } items plus total and nextCursor
  • Keeps the existing config snapshot in the response for compatibility

Validation

  • npm run lint
  • npm run build
  • node --test dist/config-pagination.test.js dist/config-patch.test.js dist/routes/operational.test.js

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.

Add cursor pagination to the config listing endpoint

1 participant