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

Add capital projects in community district endpoint #296

Merged
merged 1 commit into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,29 @@ paths:
'404':
$ref: "#/components/responses/NotFound"
'500':
$ref: "#/components/responses/InternalServerError"
$ref: "#/components/responses/InternalServerError"
/boroughs/{boroughId}/community-districts/{communityDistrictId}/capital-projects:
get:
summary: Find paginated capital projects within a specified community district
operationId: findCapitalProjectsByBoroughIdCommunityDistrictId
tags:
- Capital Projects
parameters:
- $ref: "#/components/parameters/boroughIdParam"
- $ref: "#/components/parameters/communityDistrictIdParam"
responses:
'200':
description: An object containing pagination metadata and an array of capital projects for the community district
content:
TangoYankee marked this conversation as resolved.
Show resolved Hide resolved
application/json:
schema:
$ref: "#/components/schemas/CapitalProjectPage"
'400':
$ref: "#/components/responses/BadRequest"
'404':
$ref: "#/components/responses/NotFound"
'500':
$ref: "#/components/responses/InternalServerError"
/land-uses:
get:
summary: List land uses
Expand Down