Skip to content

ResponseExtractionMapping

Source code in docs_src/capo_glue/types/response_extraction_mapping.py
class ResponseExtractionMapping(TypedDict, closed=True):
    content_path: NotRequired["capo_glue.types.json_path_string.JsonPathString"]
    """<p>A JSON path expression that specifies how to extract a value from the response body content.</p>"""
    header_key: NotRequired[
        "capo_glue.types.connector_property_key.ConnectorPropertyKey"
    ]
    """<p>The name of an HTTP response header from which to extract the value.</p>"""

content_path instance-attribute

content_path: NotRequired[JsonPathString]

A JSON path expression that specifies how to extract a value from the response body content.

header_key instance-attribute

header_key: NotRequired[ConnectorPropertyKey]

The name of an HTTP response header from which to extract the value.