describeThumbnails method

Future<DescribeThumbnailsResponse> describeThumbnails({
  1. required String channelId,
  2. required String pipelineId,
  3. required String thumbnailType,
})

Describe the latest thumbnails data.

May throw BadGatewayException. May throw BadRequestException. May throw ConflictException. May throw ForbiddenException. May throw GatewayTimeoutException. May throw InternalServerErrorException. May throw NotFoundException. May throw TooManyRequestsException.

Parameter channelId : Unique ID of the channel

Parameter pipelineId : Pipeline ID ("0" or "1")

Parameter thumbnailType : thumbnail type

Implementation

Future<DescribeThumbnailsResponse> describeThumbnails({
  required String channelId,
  required String pipelineId,
  required String thumbnailType,
}) async {
  final $query = <String, List<String>>{
    'pipelineId': [pipelineId],
    'thumbnailType': [thumbnailType],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/prod/channels/${Uri.encodeComponent(channelId)}/thumbnails',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return DescribeThumbnailsResponse.fromJson(response);
}