appBskyFeedGetFeed function

Future<XRPCResponse<FeedGetFeedOutput>> appBskyFeedGetFeed({
  1. required AtUri feed,
  2. int? limit,
  3. String? cursor,
  4. required ServiceContext $ctx,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Get a hydrated feed from an actor's selected feed generator. Implemented by App View.

Implementation

Future<XRPCResponse<FeedGetFeedOutput>> appBskyFeedGetFeed({
  required AtUri feed,
  int? limit,
  String? cursor,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.appBskyFeedGetFeed,
  headers: $headers,
  parameters: {
    ...?$unknown,
    'feed': feed.toString(),
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
  },
  to: const FeedGetFeedOutputConverter().fromJson,
);