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-03-12T01:37:41.055Z",
"created_at": "2025-03-12T01:37:41.055Z",
"error": "0NFhfDPMm4LthxGLgm7WmB8cqEPf0",
"id": "0b32faf6-d52c-4609-b51d-82386086b34f",
"input": 30,
"input_unit": "radians",
"output": 18,
"output_unit": "radians",
"started_at": "2025-03-12T01:37:41.055Z",
"status": "failed",
"updated_at": "2025-03-12T01:37:41.055Z",
"user_id": "e3999a70-6f42-4c04-b129-b726f75e5d7c"
}