fetchContainerById

abstract suspend fun fetchContainerById(containerId: String): RainbowResult<Container>

Retrieves the details of a specific room container identified by its unique ID.

This method fetches the container information from the server based on the provided containerId. If the operation is successful, the resulting RainbowResult will contain the requested Container.

Return

A RainbowResult containing the requested Container if the fetch is successful, or error details if the operation fails.

Parameters

containerId

The unique identifier of the container to fetch. This parameter is required.