incident_io_client.api.catalog_v2.catalog_v2_list_types
asyncio
async
asyncio(
*, client: Union[AuthenticatedClient, Client]
) -> Optional[CatalogV2ListTypesResponseBody]
ListTypes Catalog V2
List all catalog types for an organisation, including those synced from external resources.
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[CatalogV2ListTypesResponseBody]
|
CatalogV2ListTypesResponseBody |
Source code in incident_io_client/api/catalog_v2/catalog_v2_list_types.py
asyncio_detailed
async
asyncio_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[CatalogV2ListTypesResponseBody]
ListTypes Catalog V2
List all catalog types for an organisation, including those synced from external resources.
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[CatalogV2ListTypesResponseBody]
|
Response[CatalogV2ListTypesResponseBody] |
Source code in incident_io_client/api/catalog_v2/catalog_v2_list_types.py
sync
ListTypes Catalog V2
List all catalog types for an organisation, including those synced from external resources.
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[CatalogV2ListTypesResponseBody]
|
CatalogV2ListTypesResponseBody |
Source code in incident_io_client/api/catalog_v2/catalog_v2_list_types.py
sync_detailed
sync_detailed(
*, client: Union[AuthenticatedClient, Client]
) -> Response[CatalogV2ListTypesResponseBody]
ListTypes Catalog V2
List all catalog types for an organisation, including those synced from external resources.
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[CatalogV2ListTypesResponseBody]
|
Response[CatalogV2ListTypesResponseBody] |