API → Unit → Convert pressure units
Parameters
Name
Type
Req.
Possible values
atmospheres
: Atmospheres <https://en.wikipedia.org/wiki/Standard_atmosphere_(unit)>bars
: Bars <https://en.wikipedia.org/wiki/Bar_(unit)>hectopascals
: Hectopascals <https://en.wikipedia.org/wiki/Hectopascal>kilopascals
: Kilopascals <https://en.wikipedia.org/wiki/Kilopascal>millibars
: Millibars <https://en.wikipedia.org/wiki/Bar_(unit)>pascals
: Pascals <https://en.wikipedia.org/wiki/Pascal_(unit)>psi
: Pounds per square inch (PSI) - <https://en.wikipedia.org/wiki/Pound_per_square_inch>
Possible values
atmospheres
: Atmospheres <https://en.wikipedia.org/wiki/Standard_atmosphere_(unit)>bars
: Bars <https://en.wikipedia.org/wiki/Bar_(unit)>hectopascals
: Hectopascals <https://en.wikipedia.org/wiki/Hectopascal>kilopascals
: Kilopascals <https://en.wikipedia.org/wiki/Kilopascal>millibars
: Millibars <https://en.wikipedia.org/wiki/Bar_(unit)>pascals
: Pascals <https://en.wikipedia.org/wiki/Pascal_(unit)>psi
: Pounds per square inch (PSI) - <https://en.wikipedia.org/wiki/Pound_per_square_inch>
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
atmospheres
: Atmospheres <https://en.wikipedia.org/wiki/Standard_atmosphere_(unit)>bars
: Bars <https://en.wikipedia.org/wiki/Bar_(unit)>hectopascals
: Hectopascals <https://en.wikipedia.org/wiki/Hectopascal>kilopascals
: Kilopascals <https://en.wikipedia.org/wiki/Kilopascal>millibars
: Millibars <https://en.wikipedia.org/wiki/Bar_(unit)>pascals
: Pascals <https://en.wikipedia.org/wiki/Pascal_(unit)>psi
: Pounds per square inch (PSI) - <https://en.wikipedia.org/wiki/Pound_per_square_inch>
Possible values
atmospheres
: Atmospheres <https://en.wikipedia.org/wiki/Standard_atmosphere_(unit)>bars
: Bars <https://en.wikipedia.org/wiki/Bar_(unit)>hectopascals
: Hectopascals <https://en.wikipedia.org/wiki/Hectopascal>kilopascals
: Kilopascals <https://en.wikipedia.org/wiki/Kilopascal>millibars
: Millibars <https://en.wikipedia.org/wiki/Bar_(unit)>pascals
: Pascals <https://en.wikipedia.org/wiki/Pascal_(unit)>psi
: Pounds per square inch (PSI) - <https://en.wikipedia.org/wiki/Pound_per_square_inch>
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.
get
/unit/conversion/pressure/{input_unit}/{output_unit}$ curl "https://api.zoo.dev/unit/conversion/pressure/{input_unit}/{output_unit}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"completed_at": "2025-01-13T17:38:11.414Z",
"created_at": "2025-01-13T17:38:11.414Z",
"error": "GQpjCy6",
"id": "48b1c9b7-7e0b-4095-a8f1-6d6e218f8481",
"input": 25,
"input_unit": "hectopascals",
"output": 7,
"output_unit": "hectopascals",
"started_at": "2025-01-13T17:38:11.415Z",
"status": "in_progress",
"updated_at": "2025-01-13T17:38:11.415Z",
"user_id": "73fe468c-10cb-489f-bc43-f7299cf8e3f0"
}