Not so restfull api.