Retrieve a single unit by its external ID.
Response with a single unit
Bad Request
curl -i -X GET \ 'https://api.cognitedata.com/api/v1/projects/publicdata/units/{externalId}' \ -H 'Authorization: Bearer <YOUR_OpenID Connect or OAuth2 token_HERE>'
{- "items": [
- {
- "externalId": "temperature:deg_c",
- "name": "DEG_C",
- "longName": "degree Celsius",
- "symbol": "°C",
- "aliasNames": [
- "°C",
- "C",
- "deg C",
- "degC",
- "DegC"
], - "quantity": "Temperature",
- "conversion": {
- "multiplier": 1,
- "offset": 273.15
}, - "source": "qudt.org",
}
]
}