Compare commits

...

4 Commits

Author SHA1 Message Date
Quentin Dufour 68d23cccdf
disable int64 finally for now 2023-11-23 10:20:36 +01:00
Quentin Dufour 9f1043586c
set layout version as required 2023-11-23 10:16:16 +01:00
Quentin Dufour 1caa6e29e5
capacity is int64 2023-11-23 10:02:41 +01:00
Quentin Dufour 814b3e11d4
fix query parameters for keys 2023-11-23 08:50:10 +01:00
1 changed files with 11 additions and 7 deletions

View File

@ -348,7 +348,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/KeyInfo'
"/key":
get:
tags:
@ -409,8 +409,8 @@ paths:
description: |
Delete a key from the cluster. Its access will be removed from all the buckets. Buckets are not automatically deleted and can be dangling. You should manually delete them before.
parameters:
- name: access_key
in: path
- name: id
in: query
required: true
description: "The exact API access key generated by Garage"
example: "GK31c2f218a2e44f485b94239e"
@ -433,8 +433,8 @@ paths:
*Note: the secret key is not returned in the response, `null` is sent instead.*
parameters:
- name: access_key
in: path
- name: id
in: query
required: true
description: "The exact API access key generated by Garage"
example: "GK31c2f218a2e44f485b94239e"
@ -1081,6 +1081,7 @@ components:
example: dc1
capacity:
type: integer
format: int64
nullable: true
example: 4
tags:
@ -1098,7 +1099,7 @@ components:
- $ref: '#/components/schemas/NodeRoleUpdate'
NodeRoleRemove:
type: object
required: [ remove ]
required: [ id, remove ]
properties:
id:
type: string
@ -1108,7 +1109,7 @@ components:
example: true
NodeRoleUpdate:
type: object
required: [ zone, capacity, tags ]
required: [ id, zone, capacity, tags ]
properties:
id:
type: string
@ -1118,6 +1119,7 @@ components:
example: "dc1"
capacity:
type: integer
format: int64
nullable: true
example: 150000000000
tags:
@ -1165,9 +1167,11 @@ components:
$ref: '#/components/schemas/NodeRoleChange'
LayoutVersion:
type: object
required: [ version ]
properties:
version:
type: integer
#format: int64
example: 13
KeyInfo: