Implement Unit of Measure (UoM) ADR #3957
Labels
1-low
priority denoting isolated changes
enhancement
New feature or request
levski
fall 2022 release
Projects
Milestone
🚀 Feature Request
Relevant Package [REQUIRED]
This feature request is for core-metadataDescription [REQUIRED]
Implement the design in the ADR
https://docs.edgexfoundry.org/2.2/design/adr/core/0022-UoM/
GET /api/v2/uom
In addition, I suggest to add a GET API to retrieve the current UoM settings. It will just load the UoMFile and return the content.
Also, use the
Accept
header to determine whether the API should return JSON or TOML format.Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
Furthermore, the
Values
of UoM should be String arrayValues=["lbs", "ounces", "kilos", "grams"]
not
Values="lbs,ounces,kilos,grams"
The text was updated successfully, but these errors were encountered: