Units Resource (GET) for the Server
DoD
-
implement a server resource to view all existing units: -
GET /units/ returns all currently known units -
GET /units/ returns the unit with the given signature e.g. units/m
andunits/metre
return both the same unit. -
GET /units/ returns the unit with the given id. e.g units/23742374283
returns also the unit for "metre".
-
This also is a necessary basis for CUD transactions of user-defined base units.
see also: