pagination-endpoint
CommunityBuild cursor-based paginated APIs.
Authorjanisto
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Cursor-based pagination with RFC 8288 Link headers to efficiently page through large lists in Echo v5 APIs, avoiding offset-based pitfalls.
Core Features & Use Cases
- Built-in pagination primitives: pagination.Cursor, pagination.Paginate, and DecodeCursor with Cursor.Encode()
- Safe, typed input handling and validation for consistent paging behavior
- RFC 8288 compliant Link header generation to enable seamless next/prev navigation
- Preserves query parameters across pages and supports default limits and filters
- Use Case: paginating a /resources endpoint that lists items with optional filters
Quick Start
Configure a new list endpoint to use cursor-based pagination and RFC 8288 Link headers, then verify that a next link appears when more items exist.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pagination-endpoint Download link: https://github.com/janisto/echo-playground/archive/main.zip#pagination-endpoint Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.