def METHOD_NAME(self, request, document_url):
    """
    Get a VIA url for a document.
    :param request: Pyramid request
    :param document_url: The URL to annotate
    :return: A URL for Via configured to launch the requested document
    :raises ExternalRequestError: If we get a value which doesn't look like
        a public URL from JSTOR
    """
    # Get a signed S3 URL for the given JSTOR URL.
    s3_url = self._api_request(
        "/pdf/{doi}", doi=document_url.replace("jstor://", "")
    ).text
    if not s3_url.startswith("https://"):
        raise ExternalRequestError(
            f"Expected to get an S3 URL but got: '{s3_url}' instead"
        )
    return METHOD_NAME(
        request,
        document_url=s3_url,
        content_type="pdf",
        # Show content partner banner in client for JSTOR.
        options={"via.client.contentPartner": "jstor"},
    )