katana_public_api_client.api.webhook.get_webhook¶
katana_public_api_client.api.webhook.get_webhook
¶
Classes¶
Functions¶
asyncio(id, *, client)
async
¶
Retrieve a webhook
Retrieves the details of an existing webhook based on ID
Parameters:
-
id(int) –
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
ErrorResponse | Webhook | None–Union[ErrorResponse, Webhook]
Source code in katana_public_api_client/api/webhook/get_webhook.py
asyncio_detailed(id, *, client)
async
¶
Retrieve a webhook
Retrieves the details of an existing webhook based on ID
Parameters:
-
id(int) –
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[ErrorResponse | Webhook]–Response[Union[ErrorResponse, Webhook]]
Source code in katana_public_api_client/api/webhook/get_webhook.py
sync(id, *, client)
¶
Retrieve a webhook
Retrieves the details of an existing webhook based on ID
Parameters:
-
id(int) –
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
ErrorResponse | Webhook | None–Union[ErrorResponse, Webhook]
Source code in katana_public_api_client/api/webhook/get_webhook.py
sync_detailed(id, *, client)
¶
Retrieve a webhook
Retrieves the details of an existing webhook based on ID
Parameters:
-
id(int) –
Raises:
-
UnexpectedStatus–If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
-
TimeoutException–If the request takes longer than Client.timeout.
Returns:
-
Response[ErrorResponse | Webhook]–Response[Union[ErrorResponse, Webhook]]