API → UnitConvert area units

Parameters

Name

Type

Req.

  • input_unit

    string
    required
    Possible values
    • cm2:  Square centimeters <https://en.wikipedia.org/wiki/Square_centimeter>
    • dm2:  Square decimeters <https://en.wikipedia.org/wiki/Square_decimeter>
    • ft2:  Square feet <https://en.wikipedia.org/wiki/Square_foot>
    • in2:  Square inches <https://en.wikipedia.org/wiki/Square_inch>
    • km2:  Square kilometers <https://en.wikipedia.org/wiki/Square_kilometer>
    • m2:  Square meters <https://en.wikipedia.org/wiki/Square_meter>
    • mm2:  Square millimeters <https://en.wikipedia.org/wiki/Square_millimeter>
    • yd2:  Square yards <https://en.wikipedia.org/wiki/Square_mile>
  • output_unit

    string
    required
    Possible values
    • cm2:  Square centimeters <https://en.wikipedia.org/wiki/Square_centimeter>
    • dm2:  Square decimeters <https://en.wikipedia.org/wiki/Square_decimeter>
    • ft2:  Square feet <https://en.wikipedia.org/wiki/Square_foot>
    • in2:  Square inches <https://en.wikipedia.org/wiki/Square_inch>
    • km2:  Square kilometers <https://en.wikipedia.org/wiki/Square_kilometer>
    • m2:  Square meters <https://en.wikipedia.org/wiki/Square_meter>
    • mm2:  Square millimeters <https://en.wikipedia.org/wiki/Square_millimeter>
    • yd2:  Square yards <https://en.wikipedia.org/wiki/Square_mile>
  • 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
      • cm2:  Square centimeters <https://en.wikipedia.org/wiki/Square_centimeter>
      • dm2:  Square decimeters <https://en.wikipedia.org/wiki/Square_decimeter>
      • ft2:  Square feet <https://en.wikipedia.org/wiki/Square_foot>
      • in2:  Square inches <https://en.wikipedia.org/wiki/Square_inch>
      • km2:  Square kilometers <https://en.wikipedia.org/wiki/Square_kilometer>
      • m2:  Square meters <https://en.wikipedia.org/wiki/Square_meter>
      • mm2:  Square millimeters <https://en.wikipedia.org/wiki/Square_millimeter>
      • yd2:  Square yards <https://en.wikipedia.org/wiki/Square_mile>
    • output

      number
      optional
    • output_unit

      string
      optional
      Possible values
      • cm2:  Square centimeters <https://en.wikipedia.org/wiki/Square_centimeter>
      • dm2:  Square decimeters <https://en.wikipedia.org/wiki/Square_decimeter>
      • ft2:  Square feet <https://en.wikipedia.org/wiki/Square_foot>
      • in2:  Square inches <https://en.wikipedia.org/wiki/Square_inch>
      • km2:  Square kilometers <https://en.wikipedia.org/wiki/Square_kilometer>
      • m2:  Square meters <https://en.wikipedia.org/wiki/Square_meter>
      • mm2:  Square millimeters <https://en.wikipedia.org/wiki/Square_millimeter>
      • yd2:  Square yards <https://en.wikipedia.org/wiki/Square_mile>
    • 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/area/{input_unit}/{output_unit}
$ curl "https://api.zoo.dev/unit/conversion/area/{input_unit}/{output_unit}" \
	--header "Authorization: Bearer $TOKEN"
200 OK
Response
{
  "completed_at": "2024-11-20T19:30:58.190Z",
  "created_at": "2024-11-20T19:30:58.190Z",
  "error": "Q852kFfv2IwgmDE1DiAE7V6w4AFAPt",
  "id": "dd40e9cf-915b-4c39-892e-649f258cc094",
  "input": 11,
  "input_unit": "dm2",
  "output": 3,
  "output_unit": "cm2",
  "started_at": "2024-11-20T19:30:58.190Z",
  "status": "in_progress",
  "updated_at": "2024-11-20T19:30:58.190Z",
  "user_id": "7c888af0-026f-45b6-97a5-40602a4b810b"
}