This example constructs a singleton (user) resource. Navigate to the resource from the root via the ‘me’ link relation.
Note: while this tutorial creates the user singleton resource, the link to it from home is completed in the redirect page. The reason is that the home api must be highly cacheable and thus you don’t create user specific content (ie adding the user singleton would be an example of this) and thus we create virtual resources that are not cacheable to provide redirects. This tutorial picks up after the redirect.
Below, you see on overview of the code, then you see the implementation.