fix revisions list api

revisions right now is not working.