added per-endpoint scopes

Added the possibility to define different scopes for each endpoint, which is nice if you are working with a bigger API.