Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 3.56 KB

File metadata and controls

56 lines (37 loc) · 3.56 KB

APIResourceCoverageSDK

(connector.api_resource_coverage)

Overview

Available Operations

  • get - Get API Resource Coverage

get

Get API Resource Coverage

Example Usage

from apideck_unify import Apideck
import os


with Apideck(
    app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
    api_key=os.getenv("APIDECK_API_KEY", ""),
) as apideck:

    res = apideck.connector.api_resource_coverage.get(id="<id>", resource_id="<id>")

    assert res.get_api_resource_coverage_response is not None

    # Handle response
    print(res.get_api_resource_coverage_response)

Parameters

Parameter Type Required Description Example
id str ✔️ ID of the record you are acting upon.
resource_id str ✔️ ID of the resource you are acting upon.
app_id Optional[str] The ID of your Unify application dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX
retries Optional[utils.RetryConfig] Configuration to override the default retry behavior of the client.

Response

models.ConnectorAPIResourceCoverageOneResponse

Errors

Error Type Status Code Content Type
models.UnauthorizedResponse 401 application/json
models.PaymentRequiredResponse 402 application/json
models.NotFoundResponse 404 application/json
models.APIError 4XX, 5XX */*