Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the List (Unclaimed) Items Query #27

Open
4 tasks
kavinphan opened this issue Feb 4, 2025 · 0 comments
Open
4 tasks

Update the List (Unclaimed) Items Query #27

kavinphan opened this issue Feb 4, 2025 · 0 comments
Assignees
Labels

Comments

@kavinphan
Copy link
Contributor

kavinphan commented Feb 4, 2025

Description

Update the existing "List Unclaimed Items" query to support filtering by expiration date based on a start and end date given as the query params expirationDateAfter and expirationDateBefore. Both query params will be datetimes formatted as ISO-8601 strings.

Also update it to use the new Item table. It should return all fields.

Success Criteria

  • 400 if either expirationDateAfter or expirationDateBefore are invalid ISO-8601 timestamps
  • The expirationDateAfter and expirationDateBefore params are applied to the expirationDate column
  • The route handler's documentation is updated
  • There is a test file that covers the success criteria
@kavinphan kavinphan changed the title Update the List Unallocated Items Query Update the List (Unclaimed) Items Query Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants