Skip to content

Commit 77e2b44

Browse files
authored
Merge pull request #159 from togethercomputer/blainekasten-patch-8
Add API to fetch availability zones
2 parents 61283bc + ecb6725 commit 77e2b44

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

openapi.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2864,6 +2864,19 @@ paths:
28642864
application/json:
28652865
schema:
28662866
$ref: '#/components/schemas/ErrorData'
2867+
/clusters/availability-zones:
2868+
get:
2869+
tags: ['endpoints']
2870+
summary: List all available availability zones.
2871+
description: List all available availability zones.
2872+
operationId: availabilityZones
2873+
responses:
2874+
'200':
2875+
description: Success
2876+
content:
2877+
application/json:
2878+
schema:
2879+
$ref: '#/components/schemas/ListAvailibilityZonesResponse'
28672880
/endpoints:
28682881
get:
28692882
tags: ['Endpoints']
@@ -4408,6 +4421,12 @@ components:
44084421
x-default: default
44094422

44104423
schemas:
4424+
ListAvailibilityZonesResponse:
4425+
description: List of unique availability zones
4426+
type: array
4427+
items:
4428+
type: string
4429+
44114430
RerankRequest:
44124431
type: object
44134432
properties:

0 commit comments

Comments
 (0)