Skip to content

feat(api): Add endpoint to list all user images without pagination#115

Open
tirthpatell wants to merge 1 commit intoCaramelFur:masterfrom
tirthpatell:feat/list-all-images-api
Open

feat(api): Add endpoint to list all user images without pagination#115
tirthpatell wants to merge 1 commit intoCaramelFur:masterfrom
tirthpatell:feat/list-all-images-api

Conversation

@tirthpatell
Copy link

This commit adds a new API endpoint that allows retrieving all images uploaded
by a user in a single request, without pagination limits. The existing endpoint
is limited to 100 images per page.

Changes:

  • Added new DTOs: ImageListAllRequest and ImageListAllResponse
  • Added findAll method to ImageDBService to fetch all images for a user
  • Added corresponding method to ImageManagerService
  • Added new endpoint POST /api/image/list/all to ImageManageController
  • Added frontend service methods to consume the new API

The new endpoint requires the same permissions as the existing paginated endpoint
(ImageManage) and follows the same authentication pattern.

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.

1 participant