appBskyFeedGetListFeed function

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

Get a feed of recent posts from a list (posts and reposts from any actors on the list). Does not require auth.

Implementation

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