appBskyFeedGetPosts function
Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.
Implementation
Future<XRPCResponse<FeedGetPostsOutput>> appBskyFeedGetPosts({
required List<AtUri> uris,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.appBskyFeedGetPosts,
headers: $headers,
parameters: {...?$unknown, 'uris': uris.map((e) => e.toString()).toList()},
to: const FeedGetPostsOutputConverter().fromJson,
);