API → Unit → Convert torque units
Parameters
Name
Type
Req.
Possible values
newton_metres
: Newton metres <https://en.wikipedia.org/wiki/Newton_metre>pound_foot
: Pound foot <https://en.wikipedia.org/wiki/Pound-foot_(torque)>
Possible values
newton_metres
: Newton metres <https://en.wikipedia.org/wiki/Newton_metre>pound_foot
: Pound foot <https://en.wikipedia.org/wiki/Pound-foot_(torque)>
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
newton_metres
: Newton metres <https://en.wikipedia.org/wiki/Newton_metre>pound_foot
: Pound foot <https://en.wikipedia.org/wiki/Pound-foot_(torque)>
Possible values
newton_metres
: Newton metres <https://en.wikipedia.org/wiki/Newton_metre>pound_foot
: Pound foot <https://en.wikipedia.org/wiki/Pound-foot_(torque)>
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/torque/{input_unit}/{output_unit}$ curl "https://api.zoo.dev/unit/conversion/torque/{input_unit}/{output_unit}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"completed_at": "2024-04-26T17:03:38.609Z",
"created_at": "2024-04-26T17:03:38.609Z",
"error": "J3J08jZM7W5gr3",
"id": "533ad50f-23da-48f6-b7c4-f25dae7d42b0",
"input": 13,
"input_unit": "pound_foot",
"output": 2,
"output_unit": "newton_metres",
"started_at": "2024-04-26T17:03:38.609Z",
"status": "failed",
"updated_at": "2024-04-26T17:03:38.609Z",
"user_id": "f000bea8-5b8f-46d3-9a9b-253656e7590e"
}