Strapi v4.x REST API results one-to-many collections

System Information
  • Strapi Version: 4.1.2 (node v16.14.0)
  • Operating System: MacOS
  • Database: MySQL
  • Node Version: 16.14
  • NPM Version:
  • Yarn Version: v1.22.17

Hi Folks,

I have a collection called Orders and another called Items, for which I created a relationship many-to-one with Orders.

When I execute a GET into /orders, I can see only its attributes, but not its relationships fields.

Any idea how to fix it?

Thanks

Edgar

I believe that I found the answer:

Just add this query parameter option:

&populate=*