Skip to content

feat: Implement API Pagination for Assets and Transactions#40

Open
ogazboiz wants to merge 2 commits into
parkerwinner:mainfrom
playground-ogazboiz:feature/implement-pagination
Open

feat: Implement API Pagination for Assets and Transactions#40
ogazboiz wants to merge 2 commits into
parkerwinner:mainfrom
playground-ogazboiz:feature/implement-pagination

Conversation

@ogazboiz
Copy link
Copy Markdown
Contributor

Overview

This pull request implements a flexible and reusable pagination system for the kor-AssetForge backend API.

Key Changes

  • Pagination Utility: Created a reusable Paginate helper in backend/utils/pagination.go.
  • Asset List Pagination: Updated GET /api/v1/assets to support page and limit query parameters.
  • Transaction List Endpoint: Implemented GET /api/v1/transactions with full pagination and optional filtering by asset_id.

Closes #30

@parkerwinner
Copy link
Copy Markdown
Owner

fix conflicts

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 Pagination and Filtering to Asset List Endpoint

2 participants