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-09-07T21:57:23.043Z",
"created_at": "2024-09-07T21:57:23.043Z",
"error": "y8BROccOBRIc8Xd",
"id": "a5decd7b-c37d-46b0-92cb-af0ccb325090",
"input": 28,
"input_unit": "newton_metres",
"output": 23,
"output_unit": "pound_foot",
"started_at": "2024-09-07T21:57:23.044Z",
"status": "failed",
"updated_at": "2024-09-07T21:57:23.044Z",
"user_id": "0a4cd668-1375-4478-861e-0e5065780a40"
}