Skip to content

Enhance /queue endpoint with filtering and version bump to 2.2.9#95

Merged
goldlabelapps merged 3 commits intomasterfrom
staging
Apr 20, 2026
Merged

Enhance /queue endpoint with filtering and version bump to 2.2.9#95
goldlabelapps merged 3 commits intomasterfrom
staging

Conversation

@goldlabelapps
Copy link
Copy Markdown
Owner

This pull request updates the queue API endpoint to support filtering by collection and group, and enhances the returned data structure. The version number is also incremented to reflect these changes.

API enhancements to /queue endpoint:

  • Added collection and group query parameters to allow filtering of queue records by these fields.
  • The response now includes both the total record count and the count after applying filters, as well as the "next" record in the queue based on the latest update, instead of returning a random example record.
  • Improved error handling: errors now return a consistent response structure with meta information, rather than raising an HTTP exception.

Version update:

  • Incremented the application version from 2.2.8 to 2.2.9 in app/__init__.py.

Bump version to 2.2.9 and enhance the GET /queue route: accept optional collection and group query params, compute total and filtered counts, return distinct collections/groups, and return the next queue item (most recently updated) for the applied filters instead of a random example. Also simplified schema handling and changed error handling to return a meta error response rather than raising an HTTPException.
@goldlabelapps goldlabelapps merged commit a9d4a5a into master Apr 20, 2026
1 check passed
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