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": "2024-12-19T17:50:03.187Z",
"created_at": "2024-12-19T17:50:03.187Z",
"error": "sXQTu",
"id": "8abad7fe-8eaf-4eb3-89b8-ec32c1b8df86",
"input": 24,
"input_unit": "radians",
"output": 22,
"output_unit": "degrees",
"started_at": "2024-12-19T17:50:03.187Z",
"status": "in_progress",
"updated_at": "2024-12-19T17:50:03.187Z",
"user_id": "e2d1e777-8678-44d4-bab8-d45e8b225477"
}