appBskyFeedGetPostVersions function

Future<XRPCResponse<FeedGetPostVersionsOutput>> appBskyFeedGetPostVersions({
  1. required AtUri uri,
  2. required ServiceContext $ctx,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Get the version history of a post. Only versions the AppView accepted as valid edits are included.

Implementation

Future<XRPCResponse<FeedGetPostVersionsOutput>> appBskyFeedGetPostVersions({
  required AtUri uri,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.appBskyFeedGetPostVersions,
  service: $service,
  headers: $headers,
  parameters: {...?$unknown, 'uri': uri.toString()},
  to: const FeedGetPostVersionsOutputConverter().fromJson,
);