Who would benefit? |
Anybody using REST API and supporting users who activate/deactivate links |
What impact would it make? |
Add to the already extensive list of information that can be retrieved by the fetchdata query |
How should it work? |
I envision adding a "LinkSummary" for the "objects" list that is applicable to only the inbound and outbound links wherein the result of the links endpoint could be included: /api/v1.0.1/entities/{entityId}/links So for example, if we take the following fetchdata request: { this currently returns the following (snippet): }, We could use the above "LinkSummary" as follows: { and have the result include what one would normally get from the links endpoint (snippet): }, Alternatively, the "isActive" property could be added to the inbound/outbound LinkModel. |
Why is it needed? |
Currently the only way to retrieve the isActive property of a link is to use the endpoint: /api/v1.0.1/entities/{entityId}/links The unfortunate side effect is the necessity to run multiple queries. The fetchdata endpoint already supports multiple ids, but if 2 ids are in the fetchdata query, I need to run the above "links" endpoint 2 times to get the isActive property of the links. |
Additional feedback, background or context:
And I also see others asking for similar functionality: https://community.inriver.com/hc/en-us/community/posts/360006042260-REST-API-Add-support-for-link-status-active-inactive-in-fetchdata-method