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-12-19T17:50:13.574Z",
  "created_at": "2024-12-19T17:50:13.574Z",
  "error": "Jpf8TdNr38",
  "id": "72655c17-550a-4a70-b6ab-9396da07f618",
  "input": 13,
  "input_unit": "poundals",
  "output": 4,
  "output_unit": "dynes",
  "started_at": "2024-12-19T17:50:13.574Z",
  "status": "uploaded",
  "updated_at": "2024-12-19T17:50:13.574Z",
  "user_id": "8c3cd104-8598-471c-9c9d-d18f59a4bc45"
}