@atproto/api 0.32.11 → 0.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3722,6 +3722,11 @@ export const schemaDict = {
3722
3722
  type: 'string',
3723
3723
  format: 'datetime',
3724
3724
  },
3725
+ editedAt: {
3726
+ type: 'string',
3727
+ format: 'datetime',
3728
+ description: 'Present if the record has been edited. Timestamp when the current version of the record was indexed. indexedAt is unchanged by edits.',
3729
+ },
3725
3730
  },
3726
3731
  },
3727
3732
  viewNotFound: {
@@ -3955,6 +3960,11 @@ export const schemaDict = {
3955
3960
  type: 'string',
3956
3961
  format: 'datetime',
3957
3962
  },
3963
+ editedAt: {
3964
+ type: 'string',
3965
+ format: 'datetime',
3966
+ description: 'Present if the post has been edited. Timestamp when the version of the post in this view was indexed. indexedAt is unchanged by edits.',
3967
+ },
3958
3968
  viewer: {
3959
3969
  type: 'ref',
3960
3970
  ref: 'lex:app.bsky.feed.defs#viewerState',
@@ -5133,6 +5143,53 @@ export const schemaDict = {
5133
5143
  },
5134
5144
  },
5135
5145
  },
5146
+ AppBskyFeedGetPostVersions: {
5147
+ lexicon: 1,
5148
+ id: 'app.bsky.feed.getPostVersions',
5149
+ defs: {
5150
+ main: {
5151
+ type: 'query',
5152
+ description: 'Get the version history of a post. Only versions the AppView accepted as valid edits are included.',
5153
+ parameters: {
5154
+ type: 'params',
5155
+ required: ['uri'],
5156
+ properties: {
5157
+ uri: {
5158
+ type: 'string',
5159
+ format: 'at-uri',
5160
+ description: 'Reference (AT-URI) of post record',
5161
+ },
5162
+ },
5163
+ },
5164
+ output: {
5165
+ encoding: 'application/json',
5166
+ schema: {
5167
+ type: 'object',
5168
+ required: ['uri', 'versions'],
5169
+ properties: {
5170
+ uri: {
5171
+ type: 'string',
5172
+ format: 'at-uri',
5173
+ },
5174
+ versions: {
5175
+ type: 'array',
5176
+ description: "Versions of the post, newest first. Includes the current version, so an unedited post has a single entry. Each view describes the version at its CID: counts and viewer state are scoped to that CID, editedAt is when that version was indexed (absent on the original), and indexedAt is the original post's.",
5177
+ items: {
5178
+ type: 'ref',
5179
+ ref: 'lex:app.bsky.feed.defs#postView',
5180
+ },
5181
+ },
5182
+ },
5183
+ },
5184
+ },
5185
+ errors: [
5186
+ {
5187
+ name: 'NotFound',
5188
+ },
5189
+ ],
5190
+ },
5191
+ },
5192
+ },
5136
5193
  AppBskyFeedGetPosts: {
5137
5194
  lexicon: 1,
5138
5195
  id: 'app.bsky.feed.getPosts',
@@ -24608,6 +24665,16 @@ export const schemaDict = {
24608
24665
  knownValues: ['approved', 'denied'],
24609
24666
  description: 'Decision on a resolved appeal.',
24610
24667
  },
24668
+ appealedAction: {
24669
+ type: 'string',
24670
+ knownValues: ['takedown', 'label'],
24671
+ description: 'The action linked when the appeal was filed, when known.',
24672
+ },
24673
+ resolutionAction: {
24674
+ type: 'string',
24675
+ knownValues: ['takedownReversed', 'labelRemoved'],
24676
+ description: 'The corrective action linked to an approved appeal, when known.',
24677
+ },
24611
24678
  appealableUntil: {
24612
24679
  type: 'string',
24613
24680
  format: 'datetime',
@@ -33085,6 +33152,7 @@ export const ids = {
33085
33152
  AppBskyFeedGetLikes: 'app.bsky.feed.getLikes',
33086
33153
  AppBskyFeedGetListFeed: 'app.bsky.feed.getListFeed',
33087
33154
  AppBskyFeedGetPostThread: 'app.bsky.feed.getPostThread',
33155
+ AppBskyFeedGetPostVersions: 'app.bsky.feed.getPostVersions',
33088
33156
  AppBskyFeedGetPosts: 'app.bsky.feed.getPosts',
33089
33157
  AppBskyFeedGetQuotes: 'app.bsky.feed.getQuotes',
33090
33158
  AppBskyFeedGetRepostedBy: 'app.bsky.feed.getRepostedBy',