Replace `self.get_apipath()` template helper with `self.apiPath`.