Hello im about to create dasbord for my website..
Dashboard will have multiple subpages like users, posts, roles etc..
I was thinking i would use only one rest api endpoint for those resources like
/admin/{users}
/admin/{projects}
/admin/{roles}
and create enum for each of those which will be used later on to query data.
Is this good practice, or i should create rest api endpoint for each of those