getFeed method

Future<GetFeedResponse> getFeed({
  1. required String id,
})

Retrieves information about the specified feed.

May throw AccessDeniedException. May throw InternalServerErrorException. May throw ResourceNotFoundException. May throw TooManyRequestException.

Parameter id : The ID of the feed to query.

Implementation

Future<GetFeedResponse> getFeed({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/v1/feed/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetFeedResponse.fromJson(response);
}