General APIs with JWT

Create a new volume

Changed on

Endpoint to create a new volume.

post/volumes

Request

  • Base URL: https://lium.io/api
  • URL: https://lium.io/api/volumes
  • Auth: one of:
    • HTTP bearer
    • API key in header X-API-Key

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

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status