Support foreign key lookup on API requests #535
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status quo
Until now, further requests e.g. to update an API transmitted entry need to use the internal id of an entry. This id has been returned to the client on the initial creation of the entry before.
Improvement
However, due to current requesting of LBM, we should implement some logic, that does not only work on the internal ids but also supports foreign ids of some other source system. This way, the client would be able to use these foreign ids to perform actions on an entry.
Furthermore we should take into account that foreign ids could change over time. (Of course this should not happen, but doesn't stop reality from becoming true). So multiple different foreign ids should point to the same internal id.