How:
Add a REST endpoint that returns the links a given LinkEntity belongs to, for example:
GET /api/v1.0.0/linkentities/{linkEntityId}/linksSupporting linkEntityId as a criterion in entities:fetchdata would also work.
Why:
The Remoting API has DataService.GetLinksForLinkEntity(int linkEntityId), but the REST API has no equivalent. Given a LinkEntity id, REST-based integrations can't directly find out which entities it connects. The only workaround, is to:
Query the ids of all possible source entities
Call entities:fetchdata for all of them, including outbound links with link entity data.
Search the response client-side for the matching linkEntityId.
This means fetching link data for potentially every entity of a type in order to find a single link.
For Who:
Partners and customers who build integrations on the REST API and use LinkEntityTypes to store relationship data.
Impact:
Brings the REST API to parity with the Remoting API for LinkEntities.
Replaces several heavy requests and client-side filtering with one lightweight call.
Reduces load on both the API and client systems, and stops the workaround from degrading as data volume grows.
Makes LinkEntities practical to use in REST-only integrations.
Additional context:
Please, add your suggestion and feedback above to add to the insights used by Product team when deciding priorities and direction of the Inriver PIM.