Skip to content

Commit 550b79f

Browse files
committed
adds array evolution definition and endpoint
1 parent bd81bbc commit 550b79f

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

openapi-v1.yaml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,21 @@ definitions:
609609
alias: "tiledb"
610610
type: "ArraySchema"
611611

612+
ArraySchemaEvolution:
613+
type: object
614+
description: Array schema evolution
615+
properties:
616+
attributesToDrop:
617+
type: array
618+
description: List of attribute names to drop
619+
items:
620+
type: string
621+
attributesToAdd:
622+
type: array
623+
description: List of attributes to add
624+
items:
625+
$ref: "#/definitions/Attribute"
626+
612627
AttributeBufferHeader:
613628
description: Represents an attribute buffer header information
614629
type: object
@@ -3584,6 +3599,38 @@ paths:
35843599
message: "Error try again"
35853600
code: 1
35863601

3602+
/arrays/{namespace}/{array}/evolve:
3603+
parameters:
3604+
- name: namespace
3605+
in: path
3606+
description: namespace array is in (an organization name or user's username)
3607+
type: string
3608+
required: true
3609+
- name: array
3610+
in: path
3611+
description: name/uri of array that is url-encoded
3612+
type: string
3613+
required: true
3614+
post:
3615+
description: evolve array schema by applying list of actions in body
3616+
tags:
3617+
- array
3618+
operationId: evolveSchema
3619+
parameters:
3620+
- name: arraySchemaEvolution
3621+
in: body
3622+
description: actions to take for schema evolution
3623+
schema:
3624+
$ref: "#/definitions/ArraySchemaEvolution"
3625+
required: true
3626+
responses:
3627+
204:
3628+
description: schema evolved successfully
3629+
default:
3630+
description: error response
3631+
schema:
3632+
$ref: "#/definitions/Error"
3633+
35873634
/arrays/last_accessed:
35883635
get:
35893636
tags:

0 commit comments

Comments
 (0)