Refactor API endpoints in a way that to separate private and public ones entirely. Example: - All publice endpoints can live under `api/...` - All private endpoints can live under `api/edit/...` (given the private ones are only for logged in delegates to edit their accounts)
Refactor API endpoints in a way that to separate private and public ones entirely.
Example:
api/...api/edit/...(given the private ones are only for logged in delegates to edit their accounts)