Reverted change in default_api_path function