Add api path option to adapter