(connector.connector_docs)
- get - Get Connector Doc content
Get Connector Doc content
from apideck_unify import Apideck
import os
with Apideck(
api_key=os.getenv("APIDECK_API_KEY", ""),
consumer_id="test-consumer",
app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX",
) as apideck:
res = apideck.connector.connector_docs.get(id="<id>", doc_id="application_owner+oauth_credentials", app_id="dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX")
assert res.get_connector_doc_response is not None
# Handle response
print(res.get_connector_doc_response)
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
id |
str | ✔️ | ID of the record you are acting upon. | |
doc_id |
str | ✔️ | ID of the Doc | application_owner+oauth_credentials |
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. |
models.ConnectorConnectorDocsOneResponse
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 | */* |