Include edit_link in data passed to api