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-07-27T01:16:18.352Z",
  "created_at": "2024-07-27T01:16:18.352Z",
  "error": "NUpCthRxCDcJ",
  "id": "dcbaa78d-30ed-4a49-801d-5cc523dfd92d",
  "input": 10,
  "input_unit": "kiloponds",
  "output": 2,
  "output_unit": "millinewtons",
  "started_at": "2024-07-27T01:16:18.352Z",
  "status": "failed",
  "updated_at": "2024-07-27T01:16:18.352Z",
  "user_id": "6a6bce87-8f3f-410d-8bc9-a3741cb0ab28"
}