Both authentication required and non-authentication required endpoints in one
Sometimes it's useful to give away some resources with small differences to authenticated and non-authenticated users. For example, to hide some paid content from non-authenticated users. As of now, we should implement both endpoints (almost same) for authenticated and non-authenticated users. It's not convenient. It could be better to create one endpoint with some conditional, which allows to check if user is authenticated or no.