Skip to content

GetAttachmentRequest

Source code in docs_src/capo_connectparticipant/types/get_attachment_request.py
class GetAttachmentRequest(TypedDict, closed=True):
    attachment_id: "capo_connectparticipant.types.artifact_id.ArtifactId"
    """<p>A unique identifier for the attachment.</p>"""
    connection_token: "capo_connectparticipant.types.participant_token.ParticipantToken"
    """<p>The authentication token associated with the participant's connection.</p>"""
    url_expiry_in_seconds: NotRequired[
        "capo_connectparticipant.types.url_expiry_in_seconds.URLExpiryInSeconds"
    ]
    """<p>The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.</p>"""
    url_content_disposition: NotRequired[
        "capo_connectparticipant.types.content_disposition.ContentDisposition"
    ]
    """<p>Specifies how a browser handles the file at the pre-signed URL. The following values are valid:</p> <dl> <dt>INLINE</dt> <dd> <p>Displays the file in the browser.</p> </dd> <dt>ATTACHMENT</dt> <dd> <p>Downloads the file. This is the default behavior.</p> </dd> </dl>"""

attachment_id instance-attribute

attachment_id: ArtifactId

A unique identifier for the attachment.

connection_token instance-attribute

connection_token: ParticipantToken

The authentication token associated with the participant's connection.

url_content_disposition instance-attribute

url_content_disposition: NotRequired[ContentDisposition]

Specifies how a browser handles the file at the pre-signed URL. The following values are valid:

INLINE

Displays the file in the browser.

ATTACHMENT

Downloads the file. This is the default behavior.

url_expiry_in_seconds instance-attribute

url_expiry_in_seconds: NotRequired[URLExpiryInSeconds]

The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.