Cannot use populate in plugin route

System Information
  • Strapi Version: 4.10.6
  • Operating System: MacOs
  • Database: Postgres
  • Node Version: 18

I am building a plugin for Strapi. On this strapi plugin I have some internal routes for the back-office integration, that works well.
I also have some objects that I want to expose to the client of the user-permissions, as well as the ones that have an API token.

For example, I have a wallet that have a one to one relation

Here are an example of the routes object:

export const ExposedRoutes = {
  type: 'content-api',
  routes: [
    {
      method: 'GET',
      path: '/wallet',
      handler: 'wallet.find',
      config: {
        auth: false
      }
    },
    {
      method: 'GET',
      path: '/wallet/:id',
      handler: 'wallet.findOne',
      config: {
        auth: false
      }
    },
    {
      method: 'GET',
      path: '/coin',
      handler: 'coin.find',
      config: {
        auth: false
      }
    },
    {
      method: 'GET',
      path: '/coin/:id',
      handler: 'coin.findOne',
      config: {
        auth: false
      }
    }
  ]
}

I allowed access to the 2 routes, and the 2 routes are working fine (with …/api/plugin-name/wallet for example).
However, the populate keyword does not work, populate=* does not show the coin for each wallet …