incident_io_client.api.webhooks.webhooks_all
asyncio
async
All Webhooks
Enables us to generate a type for all webhook types, so we can use a single serializer.
Raises:
Type | Description |
---|---|
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:
Type | Description |
---|---|
Optional[WebhooksAllResponseBody]
|
WebhooksAllResponseBody |
Source code in incident_io_client/api/webhooks/webhooks_all.py
asyncio_detailed
async
asyncio_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[WebhooksAllResponseBody]
All Webhooks
Enables us to generate a type for all webhook types, so we can use a single serializer.
Raises:
Type | Description |
---|---|
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:
Type | Description |
---|---|
Response[WebhooksAllResponseBody]
|
Response[WebhooksAllResponseBody] |
Source code in incident_io_client/api/webhooks/webhooks_all.py
sync
All Webhooks
Enables us to generate a type for all webhook types, so we can use a single serializer.
Raises:
Type | Description |
---|---|
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:
Type | Description |
---|---|
Optional[WebhooksAllResponseBody]
|
WebhooksAllResponseBody |
Source code in incident_io_client/api/webhooks/webhooks_all.py
sync_detailed
All Webhooks
Enables us to generate a type for all webhook types, so we can use a single serializer.
Raises:
Type | Description |
---|---|
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:
Type | Description |
---|---|
Response[WebhooksAllResponseBody]
|
Response[WebhooksAllResponseBody] |