retrieveBucketById

open suspend fun retrieveBucketById(bucketId: String): Bucket?(source)

Deprecated

Use getBucket instead

Replace with

getBucket(bucketId)

Retrieves a bucket by its bucketId

Throws

RestException

or one of its subclasses if receiving an error response

HttpRequestTimeoutException

if the request timed out

HttpRequestException

on network related issues