Compare commits
4 Commits
2d37e7fa39
...
68d23cccdf
Author | SHA1 | Date |
---|---|---|
Quentin Dufour | 68d23cccdf | |
Quentin Dufour | 9f1043586c | |
Quentin Dufour | 1caa6e29e5 | |
Quentin Dufour | 814b3e11d4 |
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue