Add resource urls to api representation