Skip to content

ResponseConfiguration

Source code in docs_src/capo_glue/types/response_configuration.py
class ResponseConfiguration(TypedDict, closed=True):
    result_path: "capo_glue.types.json_path_string.JsonPathString"
    """<p>The JSON path expression that identifies where the actual result data is located within the API response.</p>"""
    error_path: NotRequired["capo_glue.types.json_path_string.JsonPathString"]
    """<p>The JSON path expression that identifies where error information is located within API responses when requests fail.</p>"""

error_path instance-attribute

error_path: NotRequired[JsonPathString]

The JSON path expression that identifies where error information is located within API responses when requests fail.

result_path instance-attribute

result_path: JsonPathString

The JSON path expression that identifies where the actual result data is located within the API response.