API → Unit → Convert volume units
Parameters
Name
Type
Req.
Possible values
cm3
: Cubic centimeters (cc or cm³) <https://en.wikipedia.org/wiki/Cubic_centimeter>ft3
: Cubic feet (ft³) <https://en.wikipedia.org/wiki/Cubic_foot>in3
: Cubic inches (cu in or in³) <https://en.wikipedia.org/wiki/Cubic_inch>m3
: Cubic meters (m³) <https://en.wikipedia.org/wiki/Cubic_meter>yd3
: Cubic yards (yd³) <https://en.wikipedia.org/wiki/Cubic_yard>usfloz
: US Fluid Ounces (fl oz) <https://en.wikipedia.org/wiki/Fluid_ounce>usgal
: US Gallons (gal US) <https://en.wikipedia.org/wiki/Gallon>l
: Liters (l) <https://en.wikipedia.org/wiki/Litre>ml
: Milliliters (ml) <https://en.wikipedia.org/wiki/Litre>
Possible values
cm3
: Cubic centimeters (cc or cm³) <https://en.wikipedia.org/wiki/Cubic_centimeter>ft3
: Cubic feet (ft³) <https://en.wikipedia.org/wiki/Cubic_foot>in3
: Cubic inches (cu in or in³) <https://en.wikipedia.org/wiki/Cubic_inch>m3
: Cubic meters (m³) <https://en.wikipedia.org/wiki/Cubic_meter>yd3
: Cubic yards (yd³) <https://en.wikipedia.org/wiki/Cubic_yard>usfloz
: US Fluid Ounces (fl oz) <https://en.wikipedia.org/wiki/Fluid_ounce>usgal
: US Gallons (gal US) <https://en.wikipedia.org/wiki/Gallon>l
: Liters (l) <https://en.wikipedia.org/wiki/Litre>ml
: Milliliters (ml) <https://en.wikipedia.org/wiki/Litre>
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
cm3
: Cubic centimeters (cc or cm³) <https://en.wikipedia.org/wiki/Cubic_centimeter>ft3
: Cubic feet (ft³) <https://en.wikipedia.org/wiki/Cubic_foot>in3
: Cubic inches (cu in or in³) <https://en.wikipedia.org/wiki/Cubic_inch>m3
: Cubic meters (m³) <https://en.wikipedia.org/wiki/Cubic_meter>yd3
: Cubic yards (yd³) <https://en.wikipedia.org/wiki/Cubic_yard>usfloz
: US Fluid Ounces (fl oz) <https://en.wikipedia.org/wiki/Fluid_ounce>usgal
: US Gallons (gal US) <https://en.wikipedia.org/wiki/Gallon>l
: Liters (l) <https://en.wikipedia.org/wiki/Litre>ml
: Milliliters (ml) <https://en.wikipedia.org/wiki/Litre>
Possible values
cm3
: Cubic centimeters (cc or cm³) <https://en.wikipedia.org/wiki/Cubic_centimeter>ft3
: Cubic feet (ft³) <https://en.wikipedia.org/wiki/Cubic_foot>in3
: Cubic inches (cu in or in³) <https://en.wikipedia.org/wiki/Cubic_inch>m3
: Cubic meters (m³) <https://en.wikipedia.org/wiki/Cubic_meter>yd3
: Cubic yards (yd³) <https://en.wikipedia.org/wiki/Cubic_yard>usfloz
: US Fluid Ounces (fl oz) <https://en.wikipedia.org/wiki/Fluid_ounce>usgal
: US Gallons (gal US) <https://en.wikipedia.org/wiki/Gallon>l
: Liters (l) <https://en.wikipedia.org/wiki/Litre>ml
: Milliliters (ml) <https://en.wikipedia.org/wiki/Litre>
Possible values
queued
: The async API call is queued.uploaded
: The async API call was uploaded to be converted.in_progress
: The async API call is in progress.completed
: The async API call has completed.failed
: The async API call has failed.
get
/unit/conversion/volume/{input_unit}/{output_unit}$ curl "https://api.zoo.dev/unit/conversion/volume/{input_unit}/{output_unit}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"completed_at": "2024-11-20T19:31:09.165Z",
"created_at": "2024-11-20T19:31:09.165Z",
"error": "1",
"id": "5f32caa1-ef55-4631-b938-3ea0762e11b0",
"input": 21,
"input_unit": "m3",
"output": 32,
"output_unit": "ft3",
"started_at": "2024-11-20T19:31:09.165Z",
"status": "failed",
"updated_at": "2024-11-20T19:31:09.165Z",
"user_id": "ea0f15eb-4fa8-4627-bf38-ad5db844d8f2"
}