Does REST specify any way to hide some properties in response based on client access level?
For example, I'm building an application in which I have a user which has profile.
It is exposed via /users/:userId/profile. Let's assume that user wants to hide some informations in his profile from other users. However, if profile owner wants to see his profile he should be able to view all the information. Is it REST-full to do this with only 1 endpoint, or would I need to have more than one endpoint for this, e.g. /users/:userId/fullProfile, /user/:userId/publicProfile?