From 3795105970801f24f945b7b93b5220f9d35bc550 Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Tue, 21 Jan 2025 09:28:43 -0500 Subject: [PATCH] Add version endpoint and model. --- openapi-v1.yaml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/openapi-v1.yaml b/openapi-v1.yaml index c1a95c6..898eded 100644 --- a/openapi-v1.yaml +++ b/openapi-v1.yaml @@ -5024,6 +5024,14 @@ definitions: type: string x-nullable: false + RestVersion: + description: Model representing REST TileDB version capabilities + type: object + properties: + tiledbVersion: + description: Version of TileDB core library + type: string + paths: /.stats: get: @@ -10765,3 +10773,27 @@ paths: description: error response schema: $ref: "#/definitions/Error" + + /version: + get: + description: Get REST TileDB version capabilities + consumes: + - application/json + - application/capnp + produces: + - application/json + - application/capnp + tags: + - version + operationId: HandleGetTileDBVersion + responses: + 200: + description: Retrieved REST TileDB version + schema: + $ref: "#/definitions/RestVersion" + 502: + description: Bad Gateway + default: + description: error response + schema: + $ref: "#/definitions/Error"