Skip to content

Commit

Permalink
Add version endpoint and model.
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunrd0 committed Jan 21, 2025
1 parent 79b065f commit 3795105
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions openapi-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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"

0 comments on commit 3795105

Please sign in to comment.