incident_io_client.api.catalog_v2.catalog_v2_show_type
asyncio
async
asyncio(
id: str, *, client: Union[AuthenticatedClient, Client]
) -> Optional[CatalogV2ShowTypeResponseBody]
ShowType Catalog V2
Show a single catalog type.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
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[CatalogV2ShowTypeResponseBody]
|
CatalogV2ShowTypeResponseBody |
Source code in incident_io_client/api/catalog_v2/catalog_v2_show_type.py
asyncio_detailed
async
asyncio_detailed(
id: str, *, client: Union[AuthenticatedClient, Client]
) -> Response[CatalogV2ShowTypeResponseBody]
ShowType Catalog V2
Show a single catalog type.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
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[CatalogV2ShowTypeResponseBody]
|
Response[CatalogV2ShowTypeResponseBody] |
Source code in incident_io_client/api/catalog_v2/catalog_v2_show_type.py
sync
sync(
id: str, *, client: Union[AuthenticatedClient, Client]
) -> Optional[CatalogV2ShowTypeResponseBody]
ShowType Catalog V2
Show a single catalog type.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
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[CatalogV2ShowTypeResponseBody]
|
CatalogV2ShowTypeResponseBody |
Source code in incident_io_client/api/catalog_v2/catalog_v2_show_type.py
sync_detailed
sync_detailed(
id: str, *, client: Union[AuthenticatedClient, Client]
) -> Response[CatalogV2ShowTypeResponseBody]
ShowType Catalog V2
Show a single catalog type.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
id |
str
|
|
required |
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[CatalogV2ShowTypeResponseBody]
|
Response[CatalogV2ShowTypeResponseBody] |