Return information about a volume.
If successful, this endpoint will return a 200 OK status.
The following arguments are supported for this endpoint.
| Name | Type | Default Value |
|---|---|---|
|
backend Required |
Backend Lookup | None |
|
volume Required |
Volume Lookup | None |
The following errors may occur during this request.
| Details | HTTP status |
|---|---|
|
Request to backend API failed to establish a connection |
504 Gateway Timeout |
|
Received an unexpected response from backend API |
500 Internal Server Error |
|
No backend was found matching any of the criteria provided in the arguments |
404 Not Found |
|
Request to backend API timed out |
504 Gateway Timeout |
|
No volume was found matching any of the criteria provided in the arguments |
404 Not Found |
When the request is successful, you can expect an object matching the specification below to be returned.
{ volume: Volume { id: VolumeId path: String? allowed_hosts: [ IPv4Address? ] size_limit: Integer? used_bytes: Integer? } }