cURL
curl --request GET \ --url https://safe.dfda.earth/api/v3/units \ --header 'Authorization: Bearer <token>'
[ { "abbreviatedName": "<string>", "advanced": 123, "category": "Distance", "categoryId": 123, "categoryName": "<string>", "conversionSteps": [ { "operation": "ADD", "value": 123 } ], "id": 123, "image": "<string>", "manualTracking": 123, "maximumAllowedValue": 123, "maximumValue": 123, "minimumAllowedValue": 123, "minimumValue": 123, "name": "<string>", "unitCategory": { "id": 123, "name": "<string>", "standardUnitAbbreviatedName": "<string>" } } ]
Get a list of the available measurement units
Enter your bearer token in the format Bearer access_token_here
Bearer access_token_here
Successful operation
Array of units