Ideas for Arc XP

Expand the included_fields query parameter to support inclusion of items within an array auch as the content_elements array.

As groups get larger and embedded content is distributed to more and more properties, it is quickly becoming evident that there should be a way to only include only selected field nested within the content_elements array. This is especially evident when someone is using the /ids endpoint as we have to do to get additional info that is not available in the /collections endpoint on our homepages.

We now have embedded videos and galleries that are shared with more than 100 properties. Not having a way to minimize the data that is returned deep within the content_elements means our requests are extremely bloated. For instance, a single video element in content_elements can easily be 55kb (minified json) each. When all we need is under 300 bytes (see screenshot).

This ability is something that is available when using _sourceInclude on the /search feeds and it works well. It would be of great benefit to mimic that on the included_fields param as well.



  • Sebe Dale
  • Jun 9 2023
  • Future consideration
  • Attach files
  • Admin
    Ryan Gladstone commented
    June 27, 2023 19:30

    Thanks for the feature enhancement suggestion. It is clear how this capability would materially help your site performance.

    I have routed this request to the relevant team to dig into what's possible here.

    Thanks

    Ryan