You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a GET route handler at /api/items/[itemId]/unallocatedItemRequests that returns all UnallocatedItemRequest records that point to the specified item.
Success Criteria
401 if no session
403 if not STAFF, ADMIN, or SUPER_ADMIN
GET /api/items/[unallocatedItemId]/unallocatedItemRequests returns all UnallocatedItemRequest records that point to the specified item
The route handler is documented with a description of its function, parameters, and responses
There is a test file that covers the success criteria
The text was updated successfully, but these errors were encountered:
kavinphan
changed the title
List Partners Requesting Unallocated Item Query
List Unallocated Item Requests Query
Feb 4, 2025
Description
Create a
GET
route handler at/api/items/[itemId]/unallocatedItemRequests
that returns allUnallocatedItemRequest
records that point to the specified item.Success Criteria
STAFF
,ADMIN
, orSUPER_ADMIN
GET /api/items/[unallocatedItemId]/unallocatedItemRequests
returns allUnallocatedItemRequest
records that point to the specified itemThe text was updated successfully, but these errors were encountered: