General APIs with JWT

Create a new volume

Endpoint to create a new volume.

post/volumes

Request body

namestring required
descriptionstring nullable

Example request

{
  "description": "my volume description",
  "name": "my volume"
}

Response

Volume created successfully

idstring uuid required
namestring required
descriptionstring nullable
created_atstring required
updated_atstring required
current_size_bytesinteger nullable
current_file_countinteger nullable
current_size_gbnumber nullable
current_size_mbnumber nullable
last_metrics_updatestring nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.