def METHOD_NAME(self, api, resource):
    return "/{api_root}/{api}/{version}/{resource}".format(
        api_root=self.api_root,
        api=api,
        version=self.api_version,
        resource=resource,
    )