add api url definition