Is using magic (me/self) resource identifiers going against REST principles? : <p>I've seen URIs that support magic ids for the authenticated user like below:</p>

<pre><code>GET /user/me - list my profile
GET /user/me/photos - list my photos
</code></pre>

<p>where the ones below use the actual user id</p>

<pre><code>GET /user/742924
GET /user/742924/photos
</code></pre>

<p>The problem I see is that the same resource id points to a different resource depending on the authenticated user. </p>

<p>Is this going against any REST principles?</p>
