API → Unit → Convert angle units
Parameters
Name
Type
Req.
Possible values
degrees
: Degrees <https://en.wikipedia.org/wiki/Degree_(angle)>radians
: Radians <https://en.wikipedia.org/wiki/Radian>
Possible values
degrees
: Degrees <https://en.wikipedia.org/wiki/Degree_(angle)>radians
: Radians <https://en.wikipedia.org/wiki/Radian>
Returns
- 200 OK
successful operation
Name
Type
Req.
body
objectoptionalObject Properties
Possible values
degrees
: Degrees <https://en.wikipedia.org/wiki/Degree_(angle)>radians
: Radians <https://en.wikipedia.org/wiki/Radian>
Possible values
degrees
: Degrees <https://en.wikipedia.org/wiki/Degree_(angle)>radians
: Radians <https://en.wikipedia.org/wiki/Radian>
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/angle/{input_unit}/{output_unit}$ curl "https://api.zoo.dev/unit/conversion/angle/{input_unit}/{output_unit}" \
--header "Authorization: Bearer $TOKEN"
200 OK
Response{
"completed_at": "2025-01-07T17:18:00.694Z",
"created_at": "2025-01-07T17:18:00.694Z",
"error": "ruzyozQreT4AdNNTpTB4NnunoBp6",
"id": "39f45cd2-d906-4bfb-88f0-0f81b8b3c542",
"input": 11,
"input_unit": "degrees",
"output": 23,
"output_unit": "radians",
"started_at": "2025-01-07T17:18:00.694Z",
"status": "queued",
"updated_at": "2025-01-07T17:18:00.694Z",
"user_id": "66c0d991-b462-40f4-bf56-0032b97ea969"
}