sorting tweaks to api methods
correctly reverse url