API → UnitConvert torque units

Parameters

Name

Type

Req.

  • input_unit

    string
    required
    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)>
  • output_unit

    string
    required
    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)>
  • value

    number
    required

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • completed_at

      string / ISO-8601
      optional
    • created_at

      string / ISO-8601
      optional
    • error

      string
      optional
    • id

      string / UUID
      optional
    • input

      number
      optional
    • input_unit

      string
      optional
      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)>
    • output

      number
      optional
    • output_unit

      string
      optional
      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)>
    • started_at

      string / ISO-8601
      optional
    • status

      string
      optional
      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.
    • updated_at

      string / ISO-8601
      optional
    • user_id

      string / UUID
      optional
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-07-12T16:22:24.649Z",
  "created_at": "2024-07-12T16:22:24.649Z",
  "error": "a9S9IA4dT8wsvOUkb4JkMo6IKhse",
  "id": "67ef00da-96e3-4c77-9524-f347acdcac97",
  "input": 9,
  "input_unit": "newton_metres",
  "output": 29,
  "output_unit": "newton_metres",
  "started_at": "2024-07-12T16:22:24.649Z",
  "status": "uploaded",
  "updated_at": "2024-07-12T16:22:24.649Z",
  "user_id": "53a5a3c4-e8e4-486b-8f3d-afea542966d1"
}