Add hypermedia api.
Output correct links in hypermedia api.