def METHOD_NAME(domain_link, upstream_app_id, upstream_version):
    url = reverse('linked_domain:app_by_version', args=[domain_link.master_domain,
                                                        upstream_app_id,
                                                        upstream_version])
    response = _do_request_to_remote_hq_json(url, domain_link.remote_details, domain_link.linked_domain)
    return response['app']