API → Unit → Convert power units
Parameters
Name
Type
Req.
Possible values
btu_per_minute
: British thermal units (BTU) per minute <https://en.wikipedia.org/wiki/British_thermal_unit>horsepower
: Horsepower (hp) <https://en.wikipedia.org/wiki/Horsepower>kilowatts
: Kilowatts <https://en.wikipedia.org/wiki/Kilowatt>metric_horsepower
: Metric horsepower (PS) <https://en.wikipedia.org/wiki/Horsepower#Metric_horsepower>microwatts
: Microwatts <https://en.wikipedia.org/wiki/Microwatt>milliwatts
: Millwatts <https://en.wikipedia.org/wiki/Milliwatt>watts
: Watts <https://en.wikipedia.org/wiki/Watt>
Possible values
btu_per_minute
: British thermal units (BTU) per minute <https://en.wikipedia.org/wiki/British_thermal_unit>horsepower
: Horsepower (hp) <https://en.wikipedia.org/wiki/Horsepower>kilowatts
: Kilowatts <https://en.wikipedia.org/wiki/Kilowatt>metric_horsepower
: Metric horsepower (PS) <https://en.wikipedia.org/wiki/Horsepower#Metric_horsepower>microwatts
: Microwatts <https://en.wikipedia.org/wiki/Microwatt>milliwatts
: Millwatts <https://en.wikipedia.org/wiki/Milliwatt>watts
: Watts <https://en.wikipedia.org/wiki/Watt>
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
btu_per_minute
: British thermal units (BTU) per minute <https://en.wikipedia.org/wiki/British_thermal_unit>horsepower
: Horsepower (hp) <https://en.wikipedia.org/wiki/Horsepower>kilowatts
: Kilowatts <https://en.wikipedia.org/wiki/Kilowatt>metric_horsepower
: Metric horsepower (PS) <https://en.wikipedia.org/wiki/Horsepower#Metric_horsepower>microwatts
: Microwatts <https://en.wikipedia.org/wiki/Microwatt>milliwatts
: Millwatts <https://en.wikipedia.org/wiki/Milliwatt>watts
: Watts <https://en.wikipedia.org/wiki/Watt>
Possible values
btu_per_minute
: British thermal units (BTU) per minute <https://en.wikipedia.org/wiki/British_thermal_unit>horsepower
: Horsepower (hp) <https://en.wikipedia.org/wiki/Horsepower>kilowatts
: Kilowatts <https://en.wikipedia.org/wiki/Kilowatt>metric_horsepower
: Metric horsepower (PS) <https://en.wikipedia.org/wiki/Horsepower#Metric_horsepower>microwatts
: Microwatts <https://en.wikipedia.org/wiki/Microwatt>milliwatts
: Millwatts <https://en.wikipedia.org/wiki/Milliwatt>watts
: Watts <https://en.wikipedia.org/wiki/Watt>
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/power/{input_unit}/{output_unit}$ curl "https://api.zoo.dev/unit/conversion/power/{input_unit}/{output_unit}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"completed_at": "2024-09-07T21:57:21.600Z",
"created_at": "2024-09-07T21:57:21.600Z",
"error": "6Vh",
"id": "793db8ce-2a2d-43eb-a461-5a81f46a17e0",
"input": 26,
"input_unit": "btu_per_minute",
"output": 7,
"output_unit": "watts",
"started_at": "2024-09-07T21:57:21.600Z",
"status": "queued",
"updated_at": "2024-09-07T21:57:21.600Z",
"user_id": "ce8b8f0e-401c-474f-b4b3-e865a5b5373d"
}