### 馃幆 **Acceptance Criteria** <!-- Define the conditions that must be met for this story to be complete: --> - [ ] Returns 200 with { images: [...], hasMore: true } when more pages exist - [ ] Returns 200 with { images: [...], hasMore: false } when on the last page - [ ] Returns 200 with { images: [], hasMore: false } when no gallery images exist - [ ] Returns 400 for a request missing page or limit params - [ ] Returns 400 for non-numeric page or limit value - [ ] Uses a mocked Payload client so tests do not require a running CMS instance - [ ] Test file lives in app/api/gallery/route.test.ts --- ### 馃搳 **Definition of Done (DoD)** <!-- Checklist of requirements that must be fulfilled before the issue can be considered complete --> - [ ] Acceptance criteria met - [ ] Agreed tests written - [ ] Agreed documentation in GitHub wiki - [ ] PR reviewed --- ### 馃敆 **Dependencies** <!-- List any related issues or blockers, for example: - #123 --> --- ### 馃摎 **Additional Context** <!-- Include screenshots, wireframes, or references that provide more context. -->
馃幆 Acceptance Criteria
馃搳 Definition of Done (DoD)
馃敆 Dependencies
馃摎 Additional Context