From edbe0caf8c3193769c5d712896edfe439d07152d Mon Sep 17 00:00:00 2001 From: Gordon Inggs Date: Wed, 11 Dec 2024 22:41:53 +0200 Subject: [PATCH] Adding new service regions --- service-alerts-api.yaml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/service-alerts-api.yaml b/service-alerts-api.yaml index d5f6e8d..a8fc5a1 100644 --- a/service-alerts-api.yaml +++ b/service-alerts-api.yaml @@ -83,6 +83,26 @@ paths: type: array items: $ref: '#/components/schemas/ServiceAlertV1.1' + /v1.2/service-alerts/{timeFrame}/{planned}: + get: + tags: + - "v1.1" + summary: list service alerts + description: Get all service alerts, according to the parameters set with additional status field. + parameters: + - $ref: '#/components/parameters/timeFrame' + name: timeFrame + - $ref: '#/components/parameters/planned' + name: planned + responses: + '200': + description: Successful response + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/ServiceAlertV1.2' /alerts/{alertId}.json: get: tags: @@ -259,7 +279,9 @@ components: - Official Planning Suburb - Solid Waste Regional Service Area - Citywide - - Driving Licence Testing Centre + - Driving License Testing Centre + - Electricity Service Region + - Water Service Region geospatial_footprint: type: string description: Best effort geospatial location of the issue, based upon the contents of the area_type, area and location fields. Provided in Well-Known Text (WKT), ISO/IEC 13249-3:2016 compliant format, using the EPSG 4326 CRS.