Fix #29(unify url pattern for apis)