katana_public_api_client.api.webhook.get_all_webhooks¶
katana_public_api_client.api.webhook.get_all_webhooks
¶
Classes¶
Functions¶
asyncio(*, client, ids=UNSET, url_query=UNSET, enabled=UNSET, limit=50, page=1)
async
¶
List all webhooks
Returns a list of webhooks you've previously created. The entries are returned in a sorted order, with the most recent ones appearing first.
Parameters:
-
ids(Union[Unset, list[int]], default:UNSET) – -
url_query(Union[Unset, str], default:UNSET) – -
enabled(Union[Unset, bool], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –Default: 1.
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 | WebhookListResponse | None–Union[ErrorResponse, WebhookListResponse]
Source code in katana_public_api_client/api/webhook/get_all_webhooks.py
asyncio_detailed(*, client, ids=UNSET, url_query=UNSET, enabled=UNSET, limit=50, page=1)
async
¶
List all webhooks
Returns a list of webhooks you've previously created. The entries are returned in a sorted order, with the most recent ones appearing first.
Parameters:
-
ids(Union[Unset, list[int]], default:UNSET) – -
url_query(Union[Unset, str], default:UNSET) – -
enabled(Union[Unset, bool], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –Default: 1.
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 | WebhookListResponse]–Response[Union[ErrorResponse, WebhookListResponse]]
Source code in katana_public_api_client/api/webhook/get_all_webhooks.py
sync(*, client, ids=UNSET, url_query=UNSET, enabled=UNSET, limit=50, page=1)
¶
List all webhooks
Returns a list of webhooks you've previously created. The entries are returned in a sorted order, with the most recent ones appearing first.
Parameters:
-
ids(Union[Unset, list[int]], default:UNSET) – -
url_query(Union[Unset, str], default:UNSET) – -
enabled(Union[Unset, bool], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –Default: 1.
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 | WebhookListResponse | None–Union[ErrorResponse, WebhookListResponse]
Source code in katana_public_api_client/api/webhook/get_all_webhooks.py
sync_detailed(*, client, ids=UNSET, url_query=UNSET, enabled=UNSET, limit=50, page=1)
¶
List all webhooks
Returns a list of webhooks you've previously created. The entries are returned in a sorted order, with the most recent ones appearing first.
Parameters:
-
ids(Union[Unset, list[int]], default:UNSET) – -
url_query(Union[Unset, str], default:UNSET) – -
enabled(Union[Unset, bool], default:UNSET) – -
limit(Union[Unset, int], default:50) –Default: 50.
-
page(Union[Unset, int], default:1) –Default: 1.
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 | WebhookListResponse]–Response[Union[ErrorResponse, WebhookListResponse]]