Permanent identifier for items
In #24 (closed) we change the behavior of UPDATE methods. Updating items will create new version of an item (with a new id) and this new item will point to the previous version.
So we need the additional identifier of an item, that will be the same for all versions of items. And it will be permanent. We agreed that this permanent identifier will be a string of the length 6 built from digits and small letters.
Every item should be accessible via two methods
-
GET /api/{item-type}/{id}
as it's now -
GET /api/{item-type}/{permanentId}
- it should return the newest version of the object.
@matej.durco @klaus.illmayer @sotiris.karampatakis @stefan.probst Any comments on that?