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-10-21T18:00:06.619Z",
"created_at": "2024-10-21T18:00:06.619Z",
"error": "apQSqZOBCTueilAdxsSMm0OerZktm",
"id": "e525a8b9-2d59-4dc9-bb8b-473448ce8630",
"input": 10,
"input_unit": "newton_metres",
"output": 16,
"output_unit": "newton_metres",
"started_at": "2024-10-21T18:00:06.619Z",
"status": "uploaded",
"updated_at": "2024-10-21T18:00:06.619Z",
"user_id": "b1c2911c-fb64-47d7-8249-49f2562527ae"
}