What i need to do to display the refference object instead of the id?

I have…

I’m submitting a…

  • Regression (a behavior that stopped working in a new release)
  • Bug report
  • Performance issue
  • Documentation issue or request

Current behavior

I followed this steps from this topic: Getting References by Id

Expected behavior

when i call the API: api/content/appName/parent, i want to receive the response like that:

{
    "id": "b11bb6d8-7aed-44f7-aaab-2bfb7757ec2c",
    "data": {
        "string": {
            "iv": "parentString"
        },
        "references": {
            "iv": [
                "string": "childTitle",
		"number": "11122"
            ]
        }
    },

}

Minimal reproduction of the problem

parent:

API response:

{
    "string": {
        "iv": "parentString"
    },
    "references": {
        "iv": [
            "35f3537c-5725-426f-aa98-c0f8632fe02c"
        ]
    }
}

What i need to do to get the response from “Expected behavior?”

Environment

App Name:

  • Self hosted with docker
  • Self hosted with IIS
  • Self hosted with other version
  • Cloud version

Version: [VERSION]

Browser:

  • Chrome (desktop)
  • Chrome (Android)
  • Chrome (iOS)
  • Firefox
  • Safari (desktop)
  • Safari (iOS)
  • IE
  • Edge

Others: