[HELP] Building a project based on existing structure

Thank you for your answer. But these expensive, cheap etc. are not condition. These are actually endpoints. I mean, I should have send request like restaurant/expensive/self-service/have-garden, then I want to get response as { attributeA: ‘bla’, attributeB: ‘bla’ }

And also I may send request like restaurant/expensive and should have get a response like {self-service: { have_garden: { attributeA: ‘bla’, attributeB: ‘bla’ } }}.

Apart from these, these are actually based on roles. One user which has permission to create an entry for expensive, should not see the cheap entries while doing this from Strapi UI.