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-01T17:02:03.260Z",
  "created_at": "2024-11-01T17:02:03.260Z",
  "error": "PBEqq4wagsTZGEm",
  "id": "d130f8d3-5d19-4fd5-a840-ecc87b3a2962",
  "input": 14,
  "input_unit": "kiloponds",
  "output": 25,
  "output_unit": "dynes",
  "started_at": "2024-11-01T17:02:03.260Z",
  "status": "in_progress",
  "updated_at": "2024-11-01T17:02:03.260Z",
  "user_id": "41363289-b903-47a7-847c-5b117be13bb7"
}