API → UnitConvert force units

Parameters

Name

Type

Req.

  • input_unit

    string
    required
    Possible values
    • dynes:  Dynes <https://en.wikipedia.org/wiki/Dyne>
    • kiloponds:  Kiloponds <https://en.wikipedia.org/wiki/Kilopond>
    • micronewtons:  Micronewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • millinewtons:  Millinewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • newtons:  Newtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • poundals:  Poundals <https://en.wikipedia.org/wiki/Poundal>
    • pounds:  Pounds <https://en.wikipedia.org/wiki/Pound_(force)>
  • output_unit

    string
    required
    Possible values
    • dynes:  Dynes <https://en.wikipedia.org/wiki/Dyne>
    • kiloponds:  Kiloponds <https://en.wikipedia.org/wiki/Kilopond>
    • micronewtons:  Micronewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • millinewtons:  Millinewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • newtons:  Newtons <https://en.wikipedia.org/wiki/Newton_(unit)>
    • poundals:  Poundals <https://en.wikipedia.org/wiki/Poundal>
    • pounds:  Pounds <https://en.wikipedia.org/wiki/Pound_(force)>
  • 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
      • dynes:  Dynes <https://en.wikipedia.org/wiki/Dyne>
      • kiloponds:  Kiloponds <https://en.wikipedia.org/wiki/Kilopond>
      • micronewtons:  Micronewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • millinewtons:  Millinewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • newtons:  Newtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • poundals:  Poundals <https://en.wikipedia.org/wiki/Poundal>
      • pounds:  Pounds <https://en.wikipedia.org/wiki/Pound_(force)>
    • output

      number
      optional
    • output_unit

      string
      optional
      Possible values
      • dynes:  Dynes <https://en.wikipedia.org/wiki/Dyne>
      • kiloponds:  Kiloponds <https://en.wikipedia.org/wiki/Kilopond>
      • micronewtons:  Micronewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • millinewtons:  Millinewtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • newtons:  Newtons <https://en.wikipedia.org/wiki/Newton_(unit)>
      • poundals:  Poundals <https://en.wikipedia.org/wiki/Poundal>
      • pounds:  Pounds <https://en.wikipedia.org/wiki/Pound_(force)>
    • 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/force/{input_unit}/{output_unit}
$ curl "https://api.zoo.dev/unit/conversion/force/{input_unit}/{output_unit}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2024-11-20T19:30:58.904Z",
  "created_at": "2024-11-20T19:30:58.904Z",
  "error": "fggxihYb7Gx6ARivMRsfqf1V",
  "id": "0b6578c8-2f52-4917-908d-a6feff15d8a9",
  "input": 5,
  "input_unit": "newtons",
  "output": 30,
  "output_unit": "kiloponds",
  "started_at": "2024-11-20T19:30:58.904Z",
  "status": "completed",
  "updated_at": "2024-11-20T19:30:58.904Z",
  "user_id": "4288de77-69c9-4349-bd67-375a8b7a09a0"
}