Closed vincentcourtois closed 6 years ago
When a route is premium only, the response must be a 401 unauthorized if no premium token is given, or if the premium token is not the right one.
401 unauthorized
If a service is premium only, all its routes are premium only without distinction. The premium only in a service is just a shortcut.
Premium ony flags should be booleans, set default at "false".
When a route is premium only, the response must be a
401 unauthorized
if no premium token is given, or if the premium token is not the right one.If a service is premium only, all its routes are premium only without distinction. The premium only in a service is just a shortcut.
Premium ony flags should be booleans, set default at "false".