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
See this section in #549 for context on the scope of this ticket. The rationale laid out there applies to this budget requests endpoint as well.
Acceptance Criteria
Update the existing community district filtering functionality on the findCommunityBoardBudgetRequests endpoint to use two separate query parameters: boroughId and communityDistrictId. communityDistrictId should only represent the Id of a CD.
Add new boroughId query parameter to findCommunityBoardBudgetRequests endpoint OpenAPI documentation
Update OpenAPI documentation for communityDistrictId to reflect changes
When a valid boroughId is passed, but no communityDistrictId is passed, only projects that intersect with the given borough are returned.
When a valid boroughId and communityDistrictId are passed, only projects that intersect with the given community district are returned
When communityDistrictId is passed with no boroughId, throw an error and return a 400 Invalid client request error.
Context
See this section in #549 for context on the scope of this ticket. The rationale laid out there applies to this budget requests endpoint as well.
Acceptance Criteria
findCommunityBoardBudgetRequestsendpoint to use two separate query parameters:boroughIdandcommunityDistrictId.communityDistrictIdshould only represent the Id of a CD.boroughIdquery parameter tofindCommunityBoardBudgetRequestsendpoint OpenAPI documentationcommunityDistrictIdto reflect changes400Invalid client request error.