correct url pattern list in case api_name is not given