incident_io_client.api.actions_v2.actions_v2_list
asyncio
async
asyncio(
*,
client: Union[AuthenticatedClient, Client],
incident_id: Union[Unset, str] = UNSET,
incident_mode: Union[
Unset, ActionsV2ListIncidentMode
] = UNSET
) -> Optional[ActionsV2ListResponseBody]
List Actions V2
List all actions for an organisation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
incident_id |
Union[Unset, str]
|
|
UNSET
|
incident_mode |
Union[Unset, ActionsV2ListIncidentMode]
|
|
UNSET
|
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[ActionsV2ListResponseBody]
|
ActionsV2ListResponseBody |
Source code in incident_io_client/api/actions_v2/actions_v2_list.py
asyncio_detailed
async
asyncio_detailed(
*,
client: Union[AuthenticatedClient, Client],
incident_id: Union[Unset, str] = UNSET,
incident_mode: Union[
Unset, ActionsV2ListIncidentMode
] = UNSET
) -> Response[ActionsV2ListResponseBody]
List Actions V2
List all actions for an organisation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
incident_id |
Union[Unset, str]
|
|
UNSET
|
incident_mode |
Union[Unset, ActionsV2ListIncidentMode]
|
|
UNSET
|
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[ActionsV2ListResponseBody]
|
Response[ActionsV2ListResponseBody] |
Source code in incident_io_client/api/actions_v2/actions_v2_list.py
sync
sync(
*,
client: Union[AuthenticatedClient, Client],
incident_id: Union[Unset, str] = UNSET,
incident_mode: Union[
Unset, ActionsV2ListIncidentMode
] = UNSET
) -> Optional[ActionsV2ListResponseBody]
List Actions V2
List all actions for an organisation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
incident_id |
Union[Unset, str]
|
|
UNSET
|
incident_mode |
Union[Unset, ActionsV2ListIncidentMode]
|
|
UNSET
|
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[ActionsV2ListResponseBody]
|
ActionsV2ListResponseBody |
Source code in incident_io_client/api/actions_v2/actions_v2_list.py
sync_detailed
sync_detailed(
*,
client: Union[AuthenticatedClient, Client],
incident_id: Union[Unset, str] = UNSET,
incident_mode: Union[
Unset, ActionsV2ListIncidentMode
] = UNSET
) -> Response[ActionsV2ListResponseBody]
List Actions V2
List all actions for an organisation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
incident_id |
Union[Unset, str]
|
|
UNSET
|
incident_mode |
Union[Unset, ActionsV2ListIncidentMode]
|
|
UNSET
|
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[ActionsV2ListResponseBody]
|
Response[ActionsV2ListResponseBody] |