We have one database instance for all non-production environments. I have created the dataModal, which can be accessed by /api/items/post.
I want to have different api for different env. e.g.
SIT api path - api/sit/items
DEV api path - api/dev/items
As dataModel is common for both environments, only the data can be different.
I don’t want to create a different modal for each environment.
How to handle such a scenario. Is there any way to create a data model under a folder or something?
So above api path can be achieved.