@atproto/api 0.31.0 → 0.31.2
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.
- package/CHANGELOG.md +24 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +5 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +824 -50
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +440 -26
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/external.d.ts +14 -1
- package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/external.js +7 -0
- package/dist/client/types/app/bsky/embed/external.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts +4 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereApps.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts +9 -2
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereExploreTab.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts +58 -20
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.d.ts.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js +31 -10
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimeline.js.map +1 -1
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.d.ts +115 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.d.ts.map +1 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.js +63 -0
- package/dist/client/types/app/bsky/unspecced/getAtmosphereTimelineV2.js.map +1 -0
- package/package.json +1 -1
package/dist/client/lexicons.js
CHANGED
|
@@ -2894,7 +2894,7 @@ export const schemaDict = {
|
|
|
2894
2894
|
},
|
|
2895
2895
|
viewExternalSourceTheme: {
|
|
2896
2896
|
type: 'object',
|
|
2897
|
-
description: 'The theme colors of an external source, such as a
|
|
2897
|
+
description: 'The theme colors of an external source, such as a standard.site publication. These colors may be used when rendering an embed from that source.',
|
|
2898
2898
|
properties: {
|
|
2899
2899
|
backgroundRGB: {
|
|
2900
2900
|
type: 'ref',
|
|
@@ -3074,6 +3074,21 @@ export const schemaDict = {
|
|
|
3074
3074
|
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
3075
3075
|
},
|
|
3076
3076
|
},
|
|
3077
|
+
viewer: {
|
|
3078
|
+
type: 'ref',
|
|
3079
|
+
ref: 'lex:app.bsky.embed.external#viewArticlePublicationViewerState',
|
|
3080
|
+
},
|
|
3081
|
+
},
|
|
3082
|
+
},
|
|
3083
|
+
viewArticlePublicationViewerState: {
|
|
3084
|
+
type: 'object',
|
|
3085
|
+
description: "Metadata about the requesting account's relationship with the subject publication. Only has meaningful content for authed requests.",
|
|
3086
|
+
properties: {
|
|
3087
|
+
subscription: {
|
|
3088
|
+
type: 'string',
|
|
3089
|
+
format: 'at-uri',
|
|
3090
|
+
description: "The requesting account's site.standard.graph.subscription record for this publication, if subscribed.",
|
|
3091
|
+
},
|
|
3077
3092
|
},
|
|
3078
3093
|
},
|
|
3079
3094
|
viewArticlePublicationTheme: {
|
|
@@ -3148,6 +3163,11 @@ export const schemaDict = {
|
|
|
3148
3163
|
},
|
|
3149
3164
|
description: 'The media items in the gallery. Each item may be of a different type, but all types must be supported by the client.',
|
|
3150
3165
|
},
|
|
3166
|
+
photoCount: {
|
|
3167
|
+
type: 'integer',
|
|
3168
|
+
minimum: 0,
|
|
3169
|
+
description: 'Total number of gallery item backlinks, independent of the items included in this view.',
|
|
3170
|
+
},
|
|
3151
3171
|
likeCount: {
|
|
3152
3172
|
type: 'integer',
|
|
3153
3173
|
minimum: 0,
|
|
@@ -3246,6 +3266,11 @@ export const schemaDict = {
|
|
|
3246
3266
|
type: 'string',
|
|
3247
3267
|
format: 'datetime',
|
|
3248
3268
|
},
|
|
3269
|
+
lastSeenAt: {
|
|
3270
|
+
type: 'string',
|
|
3271
|
+
format: 'datetime',
|
|
3272
|
+
description: 'When the livestream last reported that it was live. A livestream without endedAt is considered active until two minutes after its last heartbeat; clients can apply the same window to tell whether a cached view is still live.',
|
|
3273
|
+
},
|
|
3249
3274
|
},
|
|
3250
3275
|
},
|
|
3251
3276
|
},
|
|
@@ -9549,6 +9574,18 @@ export const schemaDict = {
|
|
|
9549
9574
|
format: 'uri',
|
|
9550
9575
|
maxLength: 4096,
|
|
9551
9576
|
},
|
|
9577
|
+
appStoreUrl: {
|
|
9578
|
+
type: 'string',
|
|
9579
|
+
format: 'uri',
|
|
9580
|
+
maxLength: 4096,
|
|
9581
|
+
description: 'Optional link to the app on the Apple App Store.',
|
|
9582
|
+
},
|
|
9583
|
+
googlePlayUrl: {
|
|
9584
|
+
type: 'string',
|
|
9585
|
+
format: 'uri',
|
|
9586
|
+
maxLength: 4096,
|
|
9587
|
+
description: 'Optional link to the app on Google Play.',
|
|
9588
|
+
},
|
|
9552
9589
|
category: {
|
|
9553
9590
|
type: 'string',
|
|
9554
9591
|
maxLength: 100,
|
|
@@ -9556,7 +9593,7 @@ export const schemaDict = {
|
|
|
9556
9593
|
profile: {
|
|
9557
9594
|
type: 'ref',
|
|
9558
9595
|
ref: 'lex:app.bsky.actor.defs#profileViewDetailed',
|
|
9559
|
-
description: "The app's account profile
|
|
9596
|
+
description: "The app's optional Bluesky account profile. Omitted when no profile is configured or the profile is unavailable.",
|
|
9560
9597
|
},
|
|
9561
9598
|
},
|
|
9562
9599
|
},
|
|
@@ -9764,6 +9801,11 @@ export const schemaDict = {
|
|
|
9764
9801
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
9765
9802
|
description: 'The Bluesky post associated with the article, as declared by its author. The referenced post may not be available.',
|
|
9766
9803
|
},
|
|
9804
|
+
viewBskyPost: {
|
|
9805
|
+
type: 'ref',
|
|
9806
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
9807
|
+
description: 'The hydrated Bluesky post associated with the article, as declared by its author. Omitted when the post is unavailable to the viewer.',
|
|
9808
|
+
},
|
|
9767
9809
|
view: {
|
|
9768
9810
|
type: 'ref',
|
|
9769
9811
|
ref: 'lex:app.bsky.embed.external#viewArticle',
|
|
@@ -9811,6 +9853,11 @@ export const schemaDict = {
|
|
|
9811
9853
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
9812
9854
|
description: 'The Bluesky post that announced the livestream, as declared by its author. The referenced post may not be available.',
|
|
9813
9855
|
},
|
|
9856
|
+
viewBskyPost: {
|
|
9857
|
+
type: 'ref',
|
|
9858
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
9859
|
+
description: 'The hydrated Bluesky post that announced the livestream, as declared by its author. Omitted when the post is unavailable to the viewer.',
|
|
9860
|
+
},
|
|
9814
9861
|
view: {
|
|
9815
9862
|
type: 'ref',
|
|
9816
9863
|
ref: 'lex:app.bsky.embed.external#viewLivestream',
|
|
@@ -9871,13 +9918,13 @@ export const schemaDict = {
|
|
|
9871
9918
|
type: 'string',
|
|
9872
9919
|
format: 'uri',
|
|
9873
9920
|
maxLength: 4096,
|
|
9874
|
-
description: '
|
|
9921
|
+
description: 'The profile avatar when available, otherwise the editorial logo.',
|
|
9875
9922
|
},
|
|
9876
9923
|
backgroundImage: {
|
|
9877
9924
|
type: 'string',
|
|
9878
9925
|
format: 'uri',
|
|
9879
9926
|
maxLength: 4096,
|
|
9880
|
-
description: '
|
|
9927
|
+
description: 'The profile banner when available, otherwise the editorial background image.',
|
|
9881
9928
|
},
|
|
9882
9929
|
overlayColor: {
|
|
9883
9930
|
type: 'string',
|
|
@@ -9894,6 +9941,18 @@ export const schemaDict = {
|
|
|
9894
9941
|
format: 'uri',
|
|
9895
9942
|
maxLength: 4096,
|
|
9896
9943
|
},
|
|
9944
|
+
appStoreUrl: {
|
|
9945
|
+
type: 'string',
|
|
9946
|
+
format: 'uri',
|
|
9947
|
+
maxLength: 4096,
|
|
9948
|
+
description: 'Optional link to the app on the Apple App Store.',
|
|
9949
|
+
},
|
|
9950
|
+
googlePlayUrl: {
|
|
9951
|
+
type: 'string',
|
|
9952
|
+
format: 'uri',
|
|
9953
|
+
maxLength: 4096,
|
|
9954
|
+
description: 'Optional link to the app on Google Play.',
|
|
9955
|
+
},
|
|
9897
9956
|
category: {
|
|
9898
9957
|
type: 'string',
|
|
9899
9958
|
maxLength: 4096,
|
|
@@ -9901,7 +9960,7 @@ export const schemaDict = {
|
|
|
9901
9960
|
profile: {
|
|
9902
9961
|
type: 'ref',
|
|
9903
9962
|
ref: 'lex:app.bsky.actor.defs#profileViewDetailed',
|
|
9904
|
-
description: "The app's account profile
|
|
9963
|
+
description: "The app's optional Bluesky account profile. Omitted when no profile is configured or the profile is unavailable.",
|
|
9905
9964
|
},
|
|
9906
9965
|
},
|
|
9907
9966
|
},
|
|
@@ -9913,7 +9972,7 @@ export const schemaDict = {
|
|
|
9913
9972
|
defs: {
|
|
9914
9973
|
main: {
|
|
9915
9974
|
type: 'query',
|
|
9916
|
-
description: "Get the authenticated viewer's Atmosphere activity timeline.
|
|
9975
|
+
description: "Get the authenticated viewer's Atmosphere activity timeline. Groups contain visible activities from the returned page.",
|
|
9917
9976
|
parameters: {
|
|
9918
9977
|
type: 'params',
|
|
9919
9978
|
properties: {
|
|
@@ -9937,8 +9996,8 @@ export const schemaDict = {
|
|
|
9937
9996
|
type: 'union',
|
|
9938
9997
|
refs: [
|
|
9939
9998
|
'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem',
|
|
9940
|
-
'lex:app.bsky.unspecced.getAtmosphereTimeline#
|
|
9941
|
-
'lex:app.bsky.unspecced.getAtmosphereTimeline#
|
|
9999
|
+
'lex:app.bsky.unspecced.getAtmosphereTimeline#activityActorGroup',
|
|
10000
|
+
'lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubjectGroup',
|
|
9942
10001
|
],
|
|
9943
10002
|
},
|
|
9944
10003
|
},
|
|
@@ -9989,11 +10048,24 @@ export const schemaDict = {
|
|
|
9989
10048
|
type: 'ref',
|
|
9990
10049
|
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState',
|
|
9991
10050
|
},
|
|
10051
|
+
relatedActivity: {
|
|
10052
|
+
type: 'array',
|
|
10053
|
+
description: "Collection-specific activity references targeting this item's record. Article creations with related activity remain standalone; only the parent item's view is hydrated.",
|
|
10054
|
+
items: {
|
|
10055
|
+
type: 'ref',
|
|
10056
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRelatedGroup',
|
|
10057
|
+
},
|
|
10058
|
+
},
|
|
9992
10059
|
bskyPostRef: {
|
|
9993
10060
|
type: 'ref',
|
|
9994
10061
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
9995
10062
|
description: 'The Bluesky post associated with the rendered article or livestream, as declared by its author. The referenced post may not be available.',
|
|
9996
10063
|
},
|
|
10064
|
+
viewBskyPost: {
|
|
10065
|
+
type: 'ref',
|
|
10066
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
10067
|
+
description: 'The hydrated Bluesky post associated with the rendered article or livestream, as declared by its author. Omitted when the post is unavailable to the viewer.',
|
|
10068
|
+
},
|
|
9997
10069
|
view: {
|
|
9998
10070
|
type: 'union',
|
|
9999
10071
|
refs: [
|
|
@@ -10004,31 +10076,113 @@ export const schemaDict = {
|
|
|
10004
10076
|
'lex:app.bsky.feed.defs#postView',
|
|
10005
10077
|
],
|
|
10006
10078
|
},
|
|
10007
|
-
|
|
10079
|
+
},
|
|
10080
|
+
},
|
|
10081
|
+
activityActorGroup: {
|
|
10082
|
+
type: 'object',
|
|
10083
|
+
description: 'Activities by one actor in one collection, positioned at the newest group item. Only the newest item is hydrated. Article creations with related activity remain standalone.',
|
|
10084
|
+
required: ['id', 'collection', 'indexedAt', 'actor', 'item', 'uris'],
|
|
10085
|
+
properties: {
|
|
10086
|
+
id: {
|
|
10087
|
+
type: 'string',
|
|
10088
|
+
},
|
|
10089
|
+
collection: {
|
|
10090
|
+
type: 'string',
|
|
10091
|
+
format: 'nsid',
|
|
10092
|
+
},
|
|
10093
|
+
indexedAt: {
|
|
10094
|
+
type: 'string',
|
|
10095
|
+
format: 'datetime',
|
|
10096
|
+
},
|
|
10097
|
+
actor: {
|
|
10098
|
+
type: 'string',
|
|
10099
|
+
format: 'did',
|
|
10100
|
+
},
|
|
10101
|
+
item: {
|
|
10102
|
+
type: 'ref',
|
|
10103
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityItem',
|
|
10104
|
+
},
|
|
10105
|
+
uris: {
|
|
10008
10106
|
type: 'array',
|
|
10009
|
-
description: '
|
|
10107
|
+
description: 'All visible group item URIs, including the hydrated item, in newest-first timeline order.',
|
|
10108
|
+
minLength: 2,
|
|
10010
10109
|
items: {
|
|
10011
|
-
type: '
|
|
10012
|
-
|
|
10110
|
+
type: 'string',
|
|
10111
|
+
format: 'at-uri',
|
|
10013
10112
|
},
|
|
10014
10113
|
},
|
|
10015
10114
|
},
|
|
10016
10115
|
},
|
|
10017
|
-
|
|
10116
|
+
activitySubject: {
|
|
10018
10117
|
type: 'object',
|
|
10019
|
-
description: '
|
|
10020
|
-
required: ['
|
|
10118
|
+
description: 'The shared target of grouped activities, not an activity itself.',
|
|
10119
|
+
required: ['uri', 'viewerState', 'view'],
|
|
10021
10120
|
properties: {
|
|
10022
|
-
|
|
10023
|
-
type: '
|
|
10024
|
-
|
|
10121
|
+
uri: {
|
|
10122
|
+
type: 'string',
|
|
10123
|
+
format: 'at-uri',
|
|
10124
|
+
},
|
|
10125
|
+
viewerState: {
|
|
10126
|
+
type: 'ref',
|
|
10127
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#viewerState',
|
|
10128
|
+
},
|
|
10129
|
+
bskyPostRef: {
|
|
10130
|
+
type: 'ref',
|
|
10131
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
10132
|
+
description: "The author's declared Bluesky post for the target. The post may be unavailable.",
|
|
10133
|
+
},
|
|
10134
|
+
viewBskyPost: {
|
|
10135
|
+
type: 'ref',
|
|
10136
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
10137
|
+
description: "The hydrated Bluesky post declared by the target's author. Omitted when the post is unavailable to the viewer.",
|
|
10138
|
+
},
|
|
10139
|
+
view: {
|
|
10140
|
+
type: 'union',
|
|
10141
|
+
refs: [
|
|
10142
|
+
'lex:app.bsky.embed.external#viewArticle',
|
|
10143
|
+
'lex:app.bsky.embed.external#viewArticlePublication',
|
|
10144
|
+
'lex:app.bsky.embed.external#viewGallery',
|
|
10145
|
+
],
|
|
10146
|
+
},
|
|
10147
|
+
},
|
|
10148
|
+
},
|
|
10149
|
+
activityGroupItem: {
|
|
10150
|
+
type: 'object',
|
|
10151
|
+
description: 'An unhydrated group item. Its actor DID is the authority of its record URI.',
|
|
10152
|
+
required: ['record', 'collection'],
|
|
10153
|
+
properties: {
|
|
10154
|
+
record: {
|
|
10155
|
+
type: 'ref',
|
|
10156
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityRecord',
|
|
10025
10157
|
},
|
|
10026
10158
|
collection: {
|
|
10027
10159
|
type: 'string',
|
|
10028
10160
|
format: 'nsid',
|
|
10029
10161
|
},
|
|
10030
|
-
|
|
10162
|
+
},
|
|
10163
|
+
},
|
|
10164
|
+
activityRelatedGroup: {
|
|
10165
|
+
type: 'object',
|
|
10166
|
+
description: "Visible activities in one collection targeting the parent item's record, without a time window. Contains references and profiles only, not a shared subject or hydrated action views. Buckets follow newest-first first appearance.",
|
|
10167
|
+
required: ['collection', 'activities', 'actors'],
|
|
10168
|
+
properties: {
|
|
10169
|
+
collection: {
|
|
10170
|
+
type: 'string',
|
|
10171
|
+
format: 'nsid',
|
|
10172
|
+
},
|
|
10173
|
+
activities: {
|
|
10174
|
+
type: 'array',
|
|
10175
|
+
description: "Visible activity references in newest-first timeline order. Every activity has the bucket's collection.",
|
|
10176
|
+
minLength: 1,
|
|
10177
|
+
items: {
|
|
10178
|
+
type: 'ref',
|
|
10179
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem',
|
|
10180
|
+
},
|
|
10181
|
+
},
|
|
10182
|
+
actors: {
|
|
10031
10183
|
type: 'array',
|
|
10184
|
+
description: "Unique actors in first-appearance order among the bucket's activities.",
|
|
10185
|
+
minLength: 1,
|
|
10032
10186
|
items: {
|
|
10033
10187
|
type: 'ref',
|
|
10034
10188
|
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
@@ -10036,37 +10190,296 @@ export const schemaDict = {
|
|
|
10036
10190
|
},
|
|
10037
10191
|
},
|
|
10038
10192
|
},
|
|
10039
|
-
|
|
10193
|
+
activitySubjectGroup: {
|
|
10040
10194
|
type: 'object',
|
|
10041
|
-
description:
|
|
10042
|
-
required: [
|
|
10195
|
+
description: 'Activities in one collection sharing a target, by at least two distinct actors, positioned at the newest group item. Article recommendations and shares group separately across the returned page without a time window. Article creations are not subject-group items. Publication subscriptions and gallery favorites retain age-based grouping windows.',
|
|
10196
|
+
required: [
|
|
10197
|
+
'id',
|
|
10198
|
+
'collection',
|
|
10199
|
+
'indexedAt',
|
|
10200
|
+
'subject',
|
|
10201
|
+
'activities',
|
|
10202
|
+
'actors',
|
|
10203
|
+
],
|
|
10043
10204
|
properties: {
|
|
10044
10205
|
id: {
|
|
10045
10206
|
type: 'string',
|
|
10046
10207
|
},
|
|
10047
|
-
|
|
10208
|
+
collection: {
|
|
10048
10209
|
type: 'string',
|
|
10049
|
-
|
|
10210
|
+
format: 'nsid',
|
|
10211
|
+
},
|
|
10212
|
+
indexedAt: {
|
|
10213
|
+
type: 'string',
|
|
10214
|
+
format: 'datetime',
|
|
10215
|
+
},
|
|
10216
|
+
subject: {
|
|
10217
|
+
type: 'ref',
|
|
10218
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activitySubject',
|
|
10219
|
+
},
|
|
10220
|
+
activities: {
|
|
10221
|
+
type: 'array',
|
|
10222
|
+
description: "Visible group items in newest-first timeline order. Every activity has the group's collection.",
|
|
10223
|
+
minLength: 2,
|
|
10224
|
+
items: {
|
|
10225
|
+
type: 'ref',
|
|
10226
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimeline#activityGroupItem',
|
|
10227
|
+
},
|
|
10228
|
+
},
|
|
10229
|
+
actors: {
|
|
10230
|
+
type: 'array',
|
|
10231
|
+
description: 'Unique actors in first-appearance order among group items. At least two distinct actors are required.',
|
|
10232
|
+
minLength: 2,
|
|
10233
|
+
items: {
|
|
10234
|
+
type: 'ref',
|
|
10235
|
+
ref: 'lex:app.bsky.actor.defs#profileViewBasic',
|
|
10236
|
+
},
|
|
10237
|
+
},
|
|
10238
|
+
},
|
|
10239
|
+
},
|
|
10240
|
+
},
|
|
10241
|
+
},
|
|
10242
|
+
AppBskyUnspeccedGetAtmosphereTimelineV2: {
|
|
10243
|
+
lexicon: 1,
|
|
10244
|
+
id: 'app.bsky.unspecced.getAtmosphereTimelineV2',
|
|
10245
|
+
defs: {
|
|
10246
|
+
main: {
|
|
10247
|
+
type: 'query',
|
|
10248
|
+
description: "Get the requesting account's Atmosphere activity timeline, pre-grouped for rendering. Requires auth.",
|
|
10249
|
+
parameters: {
|
|
10250
|
+
type: 'params',
|
|
10251
|
+
properties: {
|
|
10252
|
+
cursor: {
|
|
10253
|
+
type: 'string',
|
|
10254
|
+
},
|
|
10255
|
+
},
|
|
10256
|
+
},
|
|
10257
|
+
output: {
|
|
10258
|
+
encoding: 'application/json',
|
|
10259
|
+
schema: {
|
|
10260
|
+
type: 'object',
|
|
10261
|
+
required: ['feed', 'relatedViews'],
|
|
10262
|
+
properties: {
|
|
10263
|
+
cursor: {
|
|
10264
|
+
type: 'string',
|
|
10265
|
+
},
|
|
10266
|
+
feed: {
|
|
10267
|
+
type: 'array',
|
|
10268
|
+
description: 'Activities and activity groups, sorted newest first by indexedAt. Groups and relatedActivity only contain activities from the same page of results. Activities by actors unavailable to the viewer are omitted before grouping. Clients should ignore entry types they do not recognize.',
|
|
10269
|
+
items: {
|
|
10270
|
+
type: 'union',
|
|
10271
|
+
refs: [
|
|
10272
|
+
'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityItem',
|
|
10273
|
+
'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityActorGroup',
|
|
10274
|
+
'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubjectGroup',
|
|
10275
|
+
],
|
|
10276
|
+
},
|
|
10277
|
+
},
|
|
10278
|
+
relatedViews: {
|
|
10279
|
+
type: 'array',
|
|
10280
|
+
description: "Reusable views referenced by feed entries. Views shared across entries appear once to avoid duplication. Always includes the profile of the actor of every activityItem and activityActorGroup, plus the profiles of at most the newest 3 distinct actors in each activitySubjectGroup and in each collection of an activityItem's relatedActivity. Ex: for a subject group of 12 recommendations, only the profiles of the 3 newest recommenders are included; clients can fetch the rest with app.bsky.actor.getProfiles.",
|
|
10281
|
+
items: {
|
|
10282
|
+
type: 'union',
|
|
10283
|
+
refs: ['lex:app.bsky.actor.defs#profileViewBasic'],
|
|
10284
|
+
},
|
|
10285
|
+
},
|
|
10286
|
+
},
|
|
10287
|
+
},
|
|
10288
|
+
},
|
|
10289
|
+
},
|
|
10290
|
+
activityItem: {
|
|
10291
|
+
type: 'object',
|
|
10292
|
+
description: 'A single activity with its hydrated subject. An activity that creates content, such as publishing an article, is always a standalone item when other activities on the same page target that content; those activities are attached as relatedActivity. Activities whose subject is unavailable to the viewer are omitted from the timeline.',
|
|
10293
|
+
required: ['ref', 'collection', 'indexedAt', 'actor', 'subject'],
|
|
10294
|
+
properties: {
|
|
10295
|
+
ref: {
|
|
10296
|
+
type: 'ref',
|
|
10297
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
10050
10298
|
},
|
|
10051
10299
|
collection: {
|
|
10052
10300
|
type: 'string',
|
|
10053
10301
|
format: 'nsid',
|
|
10302
|
+
description: 'The collection of the activity record. Ex: site.standard.graph.recommend.',
|
|
10054
10303
|
},
|
|
10055
10304
|
indexedAt: {
|
|
10056
10305
|
type: 'string',
|
|
10057
10306
|
format: 'datetime',
|
|
10307
|
+
description: "When the activity was indexed. Determines the item's position in the feed, even when relatedActivity contains newer activities.",
|
|
10058
10308
|
},
|
|
10059
|
-
|
|
10309
|
+
actor: {
|
|
10310
|
+
type: 'string',
|
|
10311
|
+
format: 'did',
|
|
10312
|
+
},
|
|
10313
|
+
subject: {
|
|
10314
|
+
type: 'ref',
|
|
10315
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubject',
|
|
10316
|
+
},
|
|
10317
|
+
relatedActivity: {
|
|
10060
10318
|
type: 'array',
|
|
10319
|
+
description: 'All available activities on the same page that target content created by this activity, newest first. Ex: recommendations of a newly published article. Only present on activities that create content. Activities targeting content created on an earlier page appear as their own feed entries instead.',
|
|
10320
|
+
items: {
|
|
10321
|
+
type: 'ref',
|
|
10322
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityItemRelatedActivity',
|
|
10323
|
+
},
|
|
10324
|
+
},
|
|
10325
|
+
},
|
|
10326
|
+
},
|
|
10327
|
+
activityItemRelatedActivity: {
|
|
10328
|
+
type: 'object',
|
|
10329
|
+
required: ['ref', 'collection', 'indexedAt', 'actor'],
|
|
10330
|
+
properties: {
|
|
10331
|
+
ref: {
|
|
10332
|
+
type: 'ref',
|
|
10333
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
10334
|
+
},
|
|
10335
|
+
collection: {
|
|
10336
|
+
type: 'string',
|
|
10337
|
+
format: 'nsid',
|
|
10338
|
+
},
|
|
10339
|
+
indexedAt: {
|
|
10340
|
+
type: 'string',
|
|
10341
|
+
format: 'datetime',
|
|
10342
|
+
},
|
|
10343
|
+
actor: {
|
|
10344
|
+
type: 'string',
|
|
10345
|
+
format: 'did',
|
|
10346
|
+
},
|
|
10347
|
+
},
|
|
10348
|
+
},
|
|
10349
|
+
activitySubject: {
|
|
10350
|
+
type: 'object',
|
|
10351
|
+
description: 'The hydrated content an activity targets. For activities that create content, such as publishing an article, the subject is the created record itself.',
|
|
10352
|
+
required: ['ref', 'view'],
|
|
10353
|
+
properties: {
|
|
10354
|
+
ref: {
|
|
10355
|
+
type: 'ref',
|
|
10356
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
10357
|
+
description: 'The record backing the view. Ex: the site.standard.document of an article.',
|
|
10358
|
+
},
|
|
10359
|
+
view: {
|
|
10360
|
+
type: 'union',
|
|
10361
|
+
refs: [
|
|
10362
|
+
'lex:app.bsky.embed.external#viewArticle',
|
|
10363
|
+
'lex:app.bsky.embed.external#viewArticlePublication',
|
|
10364
|
+
'lex:app.bsky.embed.external#viewGallery',
|
|
10365
|
+
'lex:app.bsky.embed.external#viewLivestream',
|
|
10366
|
+
],
|
|
10367
|
+
},
|
|
10368
|
+
bskyPostRef: {
|
|
10369
|
+
type: 'ref',
|
|
10370
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
10371
|
+
description: 'The Bluesky post associated with the subject, as declared by its author. The referenced post may not be available.',
|
|
10372
|
+
},
|
|
10373
|
+
bskyPostView: {
|
|
10374
|
+
type: 'ref',
|
|
10375
|
+
ref: 'lex:app.bsky.feed.defs#postView',
|
|
10376
|
+
description: 'The hydrated Bluesky post associated with the subject. Omitted when the post is unavailable to the viewer. May reflect a newer version of the post than the CID in bskyPostRef.',
|
|
10377
|
+
},
|
|
10378
|
+
},
|
|
10379
|
+
},
|
|
10380
|
+
activityActorGroup: {
|
|
10381
|
+
type: 'object',
|
|
10382
|
+
description: 'Activities by one actor in one collection close together in time, such as several articles published by the same author. Activities that create content with relatedActivity are never grouped. Positioned in the feed at its newest activity.',
|
|
10383
|
+
required: [
|
|
10384
|
+
'collection',
|
|
10385
|
+
'indexedAt',
|
|
10386
|
+
'actor',
|
|
10387
|
+
'subjects',
|
|
10388
|
+
'activities',
|
|
10389
|
+
],
|
|
10390
|
+
properties: {
|
|
10391
|
+
collection: {
|
|
10392
|
+
type: 'string',
|
|
10393
|
+
format: 'nsid',
|
|
10394
|
+
},
|
|
10395
|
+
indexedAt: {
|
|
10396
|
+
type: 'string',
|
|
10397
|
+
format: 'datetime',
|
|
10398
|
+
description: "When the group's newest activity was indexed.",
|
|
10399
|
+
},
|
|
10400
|
+
actor: {
|
|
10401
|
+
type: 'string',
|
|
10402
|
+
format: 'did',
|
|
10403
|
+
},
|
|
10404
|
+
subjects: {
|
|
10405
|
+
type: 'array',
|
|
10406
|
+
description: "Hydrated subjects of the group's activities, newest first. Currently only the newest subject is included; clients can hydrate the rest from the subject URIs in activities.",
|
|
10407
|
+
minLength: 1,
|
|
10408
|
+
items: {
|
|
10409
|
+
type: 'ref',
|
|
10410
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubject',
|
|
10411
|
+
},
|
|
10412
|
+
},
|
|
10413
|
+
activities: {
|
|
10414
|
+
type: 'array',
|
|
10415
|
+
description: 'All activities in the group, newest first.',
|
|
10061
10416
|
minLength: 2,
|
|
10062
10417
|
items: {
|
|
10063
10418
|
type: 'ref',
|
|
10064
|
-
ref: 'lex:app.bsky.unspecced.
|
|
10419
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activityActorGroupItem',
|
|
10065
10420
|
},
|
|
10066
10421
|
},
|
|
10422
|
+
},
|
|
10423
|
+
},
|
|
10424
|
+
activityActorGroupItem: {
|
|
10425
|
+
type: 'object',
|
|
10426
|
+
required: ['ref', 'indexedAt', 'subject'],
|
|
10427
|
+
properties: {
|
|
10428
|
+
ref: {
|
|
10429
|
+
type: 'ref',
|
|
10430
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
10431
|
+
},
|
|
10432
|
+
indexedAt: {
|
|
10433
|
+
type: 'string',
|
|
10434
|
+
format: 'datetime',
|
|
10435
|
+
},
|
|
10067
10436
|
subject: {
|
|
10068
10437
|
type: 'string',
|
|
10069
10438
|
format: 'at-uri',
|
|
10439
|
+
description: 'The content the activity targets. Matches ref.uri for activities that create content.',
|
|
10440
|
+
},
|
|
10441
|
+
},
|
|
10442
|
+
},
|
|
10443
|
+
activitySubjectGroup: {
|
|
10444
|
+
type: 'object',
|
|
10445
|
+
description: 'Activities by at least two actors in one collection targeting the same subject, such as several recommendations of an article published on an earlier page. Positioned in the feed at its newest activity.',
|
|
10446
|
+
required: ['collection', 'indexedAt', 'subject', 'activities'],
|
|
10447
|
+
properties: {
|
|
10448
|
+
collection: {
|
|
10449
|
+
type: 'string',
|
|
10450
|
+
format: 'nsid',
|
|
10451
|
+
},
|
|
10452
|
+
indexedAt: {
|
|
10453
|
+
type: 'string',
|
|
10454
|
+
format: 'datetime',
|
|
10455
|
+
description: "When the group's newest activity was indexed.",
|
|
10456
|
+
},
|
|
10457
|
+
subject: {
|
|
10458
|
+
type: 'ref',
|
|
10459
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubject',
|
|
10460
|
+
},
|
|
10461
|
+
activities: {
|
|
10462
|
+
type: 'array',
|
|
10463
|
+
description: 'All activities in the group, newest first.',
|
|
10464
|
+
minLength: 2,
|
|
10465
|
+
items: {
|
|
10466
|
+
type: 'ref',
|
|
10467
|
+
ref: 'lex:app.bsky.unspecced.getAtmosphereTimelineV2#activitySubjectGroupItem',
|
|
10468
|
+
},
|
|
10469
|
+
},
|
|
10470
|
+
},
|
|
10471
|
+
},
|
|
10472
|
+
activitySubjectGroupItem: {
|
|
10473
|
+
type: 'object',
|
|
10474
|
+
required: ['ref', 'indexedAt', 'actor'],
|
|
10475
|
+
properties: {
|
|
10476
|
+
ref: {
|
|
10477
|
+
type: 'ref',
|
|
10478
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
10479
|
+
},
|
|
10480
|
+
indexedAt: {
|
|
10481
|
+
type: 'string',
|
|
10482
|
+
format: 'datetime',
|
|
10070
10483
|
},
|
|
10071
10484
|
actor: {
|
|
10072
10485
|
type: 'string',
|
|
@@ -30079,6 +30492,7 @@ export const ids = {
|
|
|
30079
30492
|
AppBskyUnspeccedGetAtmosphereExploreArticleRecommendations: 'app.bsky.unspecced.getAtmosphereExploreArticleRecommendations',
|
|
30080
30493
|
AppBskyUnspeccedGetAtmosphereExploreTab: 'app.bsky.unspecced.getAtmosphereExploreTab',
|
|
30081
30494
|
AppBskyUnspeccedGetAtmosphereTimeline: 'app.bsky.unspecced.getAtmosphereTimeline',
|
|
30495
|
+
AppBskyUnspeccedGetAtmosphereTimelineV2: 'app.bsky.unspecced.getAtmosphereTimelineV2',
|
|
30082
30496
|
AppBskyUnspeccedGetConfig: 'app.bsky.unspecced.getConfig',
|
|
30083
30497
|
AppBskyUnspeccedGetOnboardingSuggestedStarterPacks: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacks',
|
|
30084
30498
|
AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton: 'app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton',
|