[ui] Edit volumes (#7061)

* Update volumes

* Proxy use ipv4

* Static ui files

* e2e tests
This commit is contained in:
Philippe Martin
2023-08-31 10:49:27 +02:00
committed by GitHub
parent 9089f9a637
commit 7ff38b7965
21 changed files with 387 additions and 14 deletions

View File

@@ -939,6 +939,47 @@ paths:
example:
message: "Error deleting the volume"
patch:
tags:
- devstate
description: "Update a volume"
parameters:
- name: volumeName
in: path
description: Volume name to update
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
size:
description: Minimal size of the volume
type: string
ephemeral:
description: True if the Volume is Ephemeral
type: boolean
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/GeneralSuccess'
example:
message: "Volume has been updated"
description: "Volume has been updated"
'500':
description: Error updating the volume
content:
application/json:
schema:
$ref: '#/components/schemas/GeneralError'
example:
message: "Error updating the volume"
/devstate/applyCommand:
post:
tags: