Creating service entries based on endpoints


So for example, I have a nodejs application that contains these endpoints:

I have then other applications calling the nodejs application. For example a Golang application calling the nodejs application, but it is only requesting the /car endpoint. So instead of visualising that golang application is dependent of the nodejs application I want to make it seem it is dependent of the /car endpoint. So, there would be a service entry called car that is mapped to nodejs-application/car.

The example I have seen on service entries are more on external services. Anyone know how to do this?

Welcome kenkaneki !
See this link. May this will help you.

Already read it but can’t find information on what I want to achieve.