Zum Hauptinhalt springen

Get a Volume belonging to a Stack

GET /v2/stacks/{stackId}/volumes/{volumeId}/
v2
GET
container-get-volume

Request

  • stackIdstring (uuid)
    required

    ID of the Stack the Volume belongs too. ID of the default Stack equals the ID of the Project.

  • volumeIdstring (uuid)
    required

    ID of the Volume to be retrieved.

Responses

application/json

OK

  • idstring (uuid)
    required
  • namestring
    required
  • orphanedboolean
    required

    Whether the Volume is attached to a Stack.

  • stackIdstring (uuid)
    required

Usage examples

$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/stacks/f0f86186-0a5a-45b2-aa33-502777496347/volumes/f0f86186-0a5a-45b2-aa33-502777496347