API → Unit → Convert current units
Parameters
Name
Type
Req.
Possible values
amperes
: Amperes <https://en.wikipedia.org/wiki/Ampere>microamperes
: Microamperes <https://en.wikipedia.org/wiki/Microampere>milliamperes
: Milliamperes <https://en.wikipedia.org/wiki/Milliampere>nanoamperes
: Nanoamperes <https://en.wikipedia.org/wiki/Nanoampere>
Possible values
amperes
: Amperes <https://en.wikipedia.org/wiki/Ampere>microamperes
: Microamperes <https://en.wikipedia.org/wiki/Microampere>milliamperes
: Milliamperes <https://en.wikipedia.org/wiki/Milliampere>nanoamperes
: Nanoamperes <https://en.wikipedia.org/wiki/Nanoampere>
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
amperes
: Amperes <https://en.wikipedia.org/wiki/Ampere>microamperes
: Microamperes <https://en.wikipedia.org/wiki/Microampere>milliamperes
: Milliamperes <https://en.wikipedia.org/wiki/Milliampere>nanoamperes
: Nanoamperes <https://en.wikipedia.org/wiki/Nanoampere>
Possible values
amperes
: Amperes <https://en.wikipedia.org/wiki/Ampere>microamperes
: Microamperes <https://en.wikipedia.org/wiki/Microampere>milliamperes
: Milliamperes <https://en.wikipedia.org/wiki/Milliampere>nanoamperes
: Nanoamperes <https://en.wikipedia.org/wiki/Nanoampere>
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/current/{input_unit}/{output_unit}$ curl "https://api.zoo.dev/unit/conversion/current/{input_unit}/{output_unit}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"completed_at": "2025-02-05T02:30:40.255Z",
"created_at": "2025-02-05T02:30:40.255Z",
"error": "NtJ97wVaw8XbykWFZu0bjSk74y5BpU",
"id": "970cf31e-8aeb-4c36-83fb-79d3824e93a6",
"input": 13,
"input_unit": "microamperes",
"output": 26,
"output_unit": "milliamperes",
"started_at": "2025-02-05T02:30:40.255Z",
"status": "queued",
"updated_at": "2025-02-05T02:30:40.255Z",
"user_id": "f9465cc9-7628-497e-b445-3e0a67b3f9a6"
}