@atproto/bsky 0.0.250 → 0.0.253

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.
Files changed (473) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/dist/api/age-assurance/const.js +19 -19
  3. package/dist/api/age-assurance/const.js.map +1 -1
  4. package/dist/api/app/bsky/feed/getFeed.d.ts.map +1 -1
  5. package/dist/api/app/bsky/feed/getFeed.js +4 -0
  6. package/dist/api/app/bsky/feed/getFeed.js.map +1 -1
  7. package/dist/api/app/bsky/feed/searchPosts.js +5 -0
  8. package/dist/api/app/bsky/feed/searchPosts.js.map +1 -1
  9. package/dist/api/app/bsky/feed/searchPostsV2.js +5 -0
  10. package/dist/api/app/bsky/feed/searchPostsV2.js.map +1 -1
  11. package/dist/config.d.ts +2 -0
  12. package/dist/config.d.ts.map +1 -1
  13. package/dist/config.js +5 -0
  14. package/dist/config.js.map +1 -1
  15. package/dist/hydration/feed.d.ts +1 -2
  16. package/dist/hydration/feed.d.ts.map +1 -1
  17. package/dist/hydration/feed.js.map +1 -1
  18. package/dist/kws.d.ts +8 -0
  19. package/dist/kws.d.ts.map +1 -1
  20. package/dist/kws.js +53 -4
  21. package/dist/kws.js.map +1 -1
  22. package/package.json +28 -23
  23. package/bin/migration-create.ts +0 -46
  24. package/buf.gen.yaml +0 -12
  25. package/proto/bsky.proto +0 -1907
  26. package/proto/courier.proto +0 -84
  27. package/proto/rolodex.proto +0 -116
  28. package/src/api/age-assurance/const.ts +0 -203
  29. package/src/api/age-assurance/index.ts +0 -34
  30. package/src/api/age-assurance/kws/age-verified.test.ts +0 -98
  31. package/src/api/age-assurance/kws/age-verified.ts +0 -81
  32. package/src/api/age-assurance/kws/const.ts +0 -33
  33. package/src/api/age-assurance/kws/external-payload.test.ts +0 -72
  34. package/src/api/age-assurance/kws/external-payload.ts +0 -149
  35. package/src/api/age-assurance/redirects/kws-age-verified.ts +0 -107
  36. package/src/api/age-assurance/stash.ts +0 -23
  37. package/src/api/age-assurance/types.ts +0 -10
  38. package/src/api/age-assurance/util.ts +0 -68
  39. package/src/api/age-assurance/webhooks/kws-age-verified.ts +0 -75
  40. package/src/api/app/bsky/actor/getProfile.ts +0 -106
  41. package/src/api/app/bsky/actor/getProfiles.ts +0 -99
  42. package/src/api/app/bsky/actor/getSuggestions.ts +0 -163
  43. package/src/api/app/bsky/actor/searchActors.ts +0 -171
  44. package/src/api/app/bsky/actor/searchActorsTypeahead.ts +0 -164
  45. package/src/api/app/bsky/ageassurance/begin.ts +0 -175
  46. package/src/api/app/bsky/ageassurance/getConfig.ts +0 -16
  47. package/src/api/app/bsky/ageassurance/getState.ts +0 -58
  48. package/src/api/app/bsky/bookmark/createBookmark.ts +0 -39
  49. package/src/api/app/bsky/bookmark/deleteBookmark.ts +0 -32
  50. package/src/api/app/bsky/bookmark/getBookmarks.ts +0 -97
  51. package/src/api/app/bsky/bookmark/util.ts +0 -13
  52. package/src/api/app/bsky/contact/dismissMatch.ts +0 -26
  53. package/src/api/app/bsky/contact/getMatches.ts +0 -111
  54. package/src/api/app/bsky/contact/getSyncStatus.ts +0 -38
  55. package/src/api/app/bsky/contact/importContacts.ts +0 -119
  56. package/src/api/app/bsky/contact/removeData.ts +0 -25
  57. package/src/api/app/bsky/contact/sendNotification.ts +0 -33
  58. package/src/api/app/bsky/contact/startPhoneVerification.ts +0 -26
  59. package/src/api/app/bsky/contact/util.ts +0 -92
  60. package/src/api/app/bsky/contact/verifyPhone.ts +0 -29
  61. package/src/api/app/bsky/draft/createDraft.ts +0 -45
  62. package/src/api/app/bsky/draft/deleteDraft.ts +0 -20
  63. package/src/api/app/bsky/draft/getDrafts.ts +0 -44
  64. package/src/api/app/bsky/draft/updateDraft.ts +0 -26
  65. package/src/api/app/bsky/embed/getEmbedExternalView.ts +0 -154
  66. package/src/api/app/bsky/feed/getActorFeeds.ts +0 -101
  67. package/src/api/app/bsky/feed/getActorLikes.ts +0 -128
  68. package/src/api/app/bsky/feed/getAuthorFeed.ts +0 -279
  69. package/src/api/app/bsky/feed/getFeed.ts +0 -277
  70. package/src/api/app/bsky/feed/getFeedGenerator.ts +0 -68
  71. package/src/api/app/bsky/feed/getFeedGenerators.ts +0 -86
  72. package/src/api/app/bsky/feed/getLikes.ts +0 -151
  73. package/src/api/app/bsky/feed/getListFeed.ts +0 -147
  74. package/src/api/app/bsky/feed/getPostThread.ts +0 -156
  75. package/src/api/app/bsky/feed/getPosts.ts +0 -100
  76. package/src/api/app/bsky/feed/getQuotes.ts +0 -122
  77. package/src/api/app/bsky/feed/getRepostedBy.ts +0 -121
  78. package/src/api/app/bsky/feed/getSuggestedFeeds.ts +0 -39
  79. package/src/api/app/bsky/feed/getTimeline.ts +0 -127
  80. package/src/api/app/bsky/feed/searchPosts.ts +0 -267
  81. package/src/api/app/bsky/feed/searchPostsV2.ts +0 -236
  82. package/src/api/app/bsky/graph/getActorStarterPacks.ts +0 -103
  83. package/src/api/app/bsky/graph/getBlocks.ts +0 -94
  84. package/src/api/app/bsky/graph/getFollowers.ts +0 -153
  85. package/src/api/app/bsky/graph/getFollows.ts +0 -151
  86. package/src/api/app/bsky/graph/getKnownFollowers.ts +0 -123
  87. package/src/api/app/bsky/graph/getList.ts +0 -152
  88. package/src/api/app/bsky/graph/getListBlocks.ts +0 -87
  89. package/src/api/app/bsky/graph/getListMutes.ts +0 -87
  90. package/src/api/app/bsky/graph/getLists.ts +0 -125
  91. package/src/api/app/bsky/graph/getListsWithMembership.ts +0 -146
  92. package/src/api/app/bsky/graph/getMutes.ts +0 -87
  93. package/src/api/app/bsky/graph/getRelationships.ts +0 -58
  94. package/src/api/app/bsky/graph/getStarterPack.ts +0 -82
  95. package/src/api/app/bsky/graph/getStarterPacks.ts +0 -86
  96. package/src/api/app/bsky/graph/getStarterPacksWithMembership.ts +0 -136
  97. package/src/api/app/bsky/graph/getSuggestedFollowsByActor.ts +0 -171
  98. package/src/api/app/bsky/graph/muteActor.ts +0 -24
  99. package/src/api/app/bsky/graph/muteActorList.ts +0 -19
  100. package/src/api/app/bsky/graph/muteThread.ts +0 -19
  101. package/src/api/app/bsky/graph/searchStarterPacks.ts +0 -169
  102. package/src/api/app/bsky/graph/unmuteActor.ts +0 -21
  103. package/src/api/app/bsky/graph/unmuteActorList.ts +0 -19
  104. package/src/api/app/bsky/graph/unmuteThread.ts +0 -19
  105. package/src/api/app/bsky/labeler/getServices.ts +0 -41
  106. package/src/api/app/bsky/notification/getPreferences.ts +0 -49
  107. package/src/api/app/bsky/notification/getUnreadCount.ts +0 -83
  108. package/src/api/app/bsky/notification/listActivitySubscriptions.ts +0 -116
  109. package/src/api/app/bsky/notification/listNotifications.ts +0 -272
  110. package/src/api/app/bsky/notification/putActivitySubscription.ts +0 -69
  111. package/src/api/app/bsky/notification/putPreferences.ts +0 -17
  112. package/src/api/app/bsky/notification/putPreferencesV2.ts +0 -64
  113. package/src/api/app/bsky/notification/registerPush.ts +0 -40
  114. package/src/api/app/bsky/notification/unregisterPush.ts +0 -39
  115. package/src/api/app/bsky/notification/updateSeen.ts +0 -52
  116. package/src/api/app/bsky/notification/util.ts +0 -134
  117. package/src/api/app/bsky/unspecced/getAgeAssuranceState.ts +0 -48
  118. package/src/api/app/bsky/unspecced/getConfig.ts +0 -20
  119. package/src/api/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.ts +0 -162
  120. package/src/api/app/bsky/unspecced/getPopularFeedGenerators.ts +0 -91
  121. package/src/api/app/bsky/unspecced/getPostThreadOtherV2.ts +0 -126
  122. package/src/api/app/bsky/unspecced/getPostThreadV2.ts +0 -148
  123. package/src/api/app/bsky/unspecced/getSuggestedFeeds.ts +0 -100
  124. package/src/api/app/bsky/unspecced/getSuggestedOnboardingUsers.ts +0 -143
  125. package/src/api/app/bsky/unspecced/getSuggestedStarterPacks.ts +0 -165
  126. package/src/api/app/bsky/unspecced/getSuggestedUsers.ts +0 -183
  127. package/src/api/app/bsky/unspecced/getSuggestedUsersForDiscover.ts +0 -175
  128. package/src/api/app/bsky/unspecced/getSuggestedUsersForExplore.ts +0 -178
  129. package/src/api/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts +0 -178
  130. package/src/api/app/bsky/unspecced/getTaggedSuggestions.ts +0 -27
  131. package/src/api/app/bsky/unspecced/getTrendingTopics.ts +0 -96
  132. package/src/api/app/bsky/unspecced/getTrends.ts +0 -162
  133. package/src/api/app/bsky/unspecced/initAgeAssurance.ts +0 -150
  134. package/src/api/blob-dispatcher.ts +0 -41
  135. package/src/api/blob-resolver.ts +0 -401
  136. package/src/api/com/atproto/admin/getAccountInfos.ts +0 -49
  137. package/src/api/com/atproto/admin/getSubjectStatus.ts +0 -79
  138. package/src/api/com/atproto/admin/updateSubjectStatus.ts +0 -80
  139. package/src/api/com/atproto/identity/resolveHandle.ts +0 -19
  140. package/src/api/com/atproto/label/queryLabels.ts +0 -42
  141. package/src/api/com/atproto/repo/getRecord.ts +0 -44
  142. package/src/api/com/atproto/temp/fetchLabels.ts +0 -9
  143. package/src/api/external.ts +0 -15
  144. package/src/api/health.ts +0 -47
  145. package/src/api/index.ts +0 -216
  146. package/src/api/internal/bsky/actor/getProfiles.ts +0 -87
  147. package/src/api/kws/api.ts +0 -113
  148. package/src/api/kws/index.ts +0 -29
  149. package/src/api/kws/types.ts +0 -78
  150. package/src/api/kws/util.test.ts +0 -50
  151. package/src/api/kws/util.ts +0 -109
  152. package/src/api/kws/webhook.ts +0 -134
  153. package/src/api/sitemap.ts +0 -76
  154. package/src/api/util.ts +0 -45
  155. package/src/api/well-known.ts +0 -44
  156. package/src/auth-verifier.ts +0 -522
  157. package/src/bsync.ts +0 -41
  158. package/src/cache/read-through.ts +0 -157
  159. package/src/config.ts +0 -710
  160. package/src/context.ts +0 -143
  161. package/src/courier.ts +0 -41
  162. package/src/data-plane/client/hosts.ts +0 -103
  163. package/src/data-plane/client/index.ts +0 -125
  164. package/src/data-plane/client/util.test.ts +0 -29
  165. package/src/data-plane/client/util.ts +0 -74
  166. package/src/data-plane/index.ts +0 -2
  167. package/src/data-plane/server/background.ts +0 -66
  168. package/src/data-plane/server/bsync-subscription.ts +0 -590
  169. package/src/data-plane/server/db/database-schema.ts +0 -90
  170. package/src/data-plane/server/db/db.ts +0 -204
  171. package/src/data-plane/server/db/index.ts +0 -2
  172. package/src/data-plane/server/db/migrations/20230309T045948368Z-init.ts +0 -305
  173. package/src/data-plane/server/db/migrations/20230408T152211201Z-notification-init.ts +0 -25
  174. package/src/data-plane/server/db/migrations/20230417T210628672Z-moderation-init.ts +0 -127
  175. package/src/data-plane/server/db/migrations/20230420T211446071Z-did-cache.ts +0 -14
  176. package/src/data-plane/server/db/migrations/20230427T194702079Z-notif-record-index.ts +0 -14
  177. package/src/data-plane/server/db/migrations/20230605T144730094Z-post-profile-aggs.ts +0 -23
  178. package/src/data-plane/server/db/migrations/20230607T211442112Z-feed-generator-init.ts +0 -34
  179. package/src/data-plane/server/db/migrations/20230608T155101190Z-algo-whats-hot-view.ts +0 -85
  180. package/src/data-plane/server/db/migrations/20230608T201813132Z-mute-lists.ts +0 -78
  181. package/src/data-plane/server/db/migrations/20230608T205147239Z-mutes.ts +0 -15
  182. package/src/data-plane/server/db/migrations/20230609T153623961Z-blocks.ts +0 -33
  183. package/src/data-plane/server/db/migrations/20230609T232122649Z-actor-deletion-indexes.ts +0 -27
  184. package/src/data-plane/server/db/migrations/20230610T203555962Z-suggested-follows.ts +0 -13
  185. package/src/data-plane/server/db/migrations/20230611T215300060Z-actor-state.ts +0 -13
  186. package/src/data-plane/server/db/migrations/20230620T161134972Z-post-langs.ts +0 -9
  187. package/src/data-plane/server/db/migrations/20230627T212437895Z-optional-handle.ts +0 -15
  188. package/src/data-plane/server/db/migrations/20230629T220835893Z-remove-post-hierarchy.ts +0 -32
  189. package/src/data-plane/server/db/migrations/20230703T045536691Z-feed-and-label-indices.ts +0 -31
  190. package/src/data-plane/server/db/migrations/20230720T164800037Z-posts-cursor-idx.ts +0 -19
  191. package/src/data-plane/server/db/migrations/20230807T035309811Z-feed-item-delete-invite-for-user-idx.ts +0 -14
  192. package/src/data-plane/server/db/migrations/20230808T172902639Z-repo-rev.ts +0 -12
  193. package/src/data-plane/server/db/migrations/20230810T203349843Z-action-duration.ts +0 -23
  194. package/src/data-plane/server/db/migrations/20230817T195936007Z-native-notifications.ts +0 -16
  195. package/src/data-plane/server/db/migrations/20230830T205507322Z-suggested-feeds.ts +0 -13
  196. package/src/data-plane/server/db/migrations/20230904T211011773Z-block-lists.ts +0 -24
  197. package/src/data-plane/server/db/migrations/20230906T222220386Z-thread-gating.ts +0 -27
  198. package/src/data-plane/server/db/migrations/20230920T213858047Z-add-tags-to-post.ts +0 -9
  199. package/src/data-plane/server/db/migrations/20230929T192920807Z-record-cursor-indexes.ts +0 -40
  200. package/src/data-plane/server/db/migrations/20231003T202833377Z-create-moderation-subject-status.ts +0 -123
  201. package/src/data-plane/server/db/migrations/20231220T225126090Z-blob-takedowns.ts +0 -66
  202. package/src/data-plane/server/db/migrations/20240124T023719200Z-tagged-suggestions.ts +0 -15
  203. package/src/data-plane/server/db/migrations/20240226T225725627Z-labelers.ts +0 -27
  204. package/src/data-plane/server/db/migrations/20240530T170337073Z-account-deactivation.ts +0 -12
  205. package/src/data-plane/server/db/migrations/20240606T171229898Z-thread-mutes.ts +0 -15
  206. package/src/data-plane/server/db/migrations/20240606T222548219Z-starter-packs.ts +0 -45
  207. package/src/data-plane/server/db/migrations/20240719T203853939Z-priority-notifs.ts +0 -25
  208. package/src/data-plane/server/db/migrations/20240723T220700077Z-quotes-post-aggs.ts +0 -12
  209. package/src/data-plane/server/db/migrations/20240723T220703655Z-quotes.ts +0 -28
  210. package/src/data-plane/server/db/migrations/20240801T193939827Z-post-gate.ts +0 -17
  211. package/src/data-plane/server/db/migrations/20240808T224251220Z-post-gate-flags.ts +0 -25
  212. package/src/data-plane/server/db/migrations/20240829T211238293Z-simplify-actor-sync.ts +0 -23
  213. package/src/data-plane/server/db/migrations/20240831T134810923Z-pinned-posts.ts +0 -17
  214. package/src/data-plane/server/db/migrations/20241114T153108102Z-add-starter-packs-name.ts +0 -19
  215. package/src/data-plane/server/db/migrations/20250116T222618297Z-post-embed-video.ts +0 -17
  216. package/src/data-plane/server/db/migrations/20250207T174822012Z-add-label-exp.ts +0 -9
  217. package/src/data-plane/server/db/migrations/20250404T163421487Z-verifications.ts +0 -39
  218. package/src/data-plane/server/db/migrations/20250526T023712742Z-like-repost-via.ts +0 -17
  219. package/src/data-plane/server/db/migrations/20250528T221913281Z-add-record-tags.ts +0 -9
  220. package/src/data-plane/server/db/migrations/20250602T190357447Z-add-private-data.ts +0 -22
  221. package/src/data-plane/server/db/migrations/20250611T140649895Z-add-activity-subscription.ts +0 -22
  222. package/src/data-plane/server/db/migrations/20250627T025331240Z-add-actor-age-assurance-columns.ts +0 -22
  223. package/src/data-plane/server/db/migrations/20250812T183735692Z-add-bookmarks.ts +0 -23
  224. package/src/data-plane/server/db/migrations/20250813T174955711Z-add-post-agg-bookmarks.ts +0 -12
  225. package/src/data-plane/server/db/migrations/20251120T004738098Z-update-actor-age-assurance-v2.ts +0 -28
  226. package/src/data-plane/server/db/migrations/20260112T133951271Z-add-drafts.ts +0 -24
  227. package/src/data-plane/server/db/migrations/20260604T224952774Z-post-embed-gallery-image.ts +0 -19
  228. package/src/data-plane/server/db/migrations/index.ts +0 -60
  229. package/src/data-plane/server/db/migrations/provider.ts +0 -26
  230. package/src/data-plane/server/db/pagination.ts +0 -341
  231. package/src/data-plane/server/db/tables/activity-subscription.ts +0 -12
  232. package/src/data-plane/server/db/tables/actor-block.ts +0 -14
  233. package/src/data-plane/server/db/tables/actor-state.ts +0 -10
  234. package/src/data-plane/server/db/tables/actor-sync.ts +0 -9
  235. package/src/data-plane/server/db/tables/actor.ts +0 -19
  236. package/src/data-plane/server/db/tables/algo.ts +0 -11
  237. package/src/data-plane/server/db/tables/blob-takedown.ts +0 -9
  238. package/src/data-plane/server/db/tables/bookmark.ts +0 -11
  239. package/src/data-plane/server/db/tables/did-cache.ts +0 -13
  240. package/src/data-plane/server/db/tables/draft.ts +0 -11
  241. package/src/data-plane/server/db/tables/duplicate-record.ts +0 -12
  242. package/src/data-plane/server/db/tables/feed-generator.ts +0 -21
  243. package/src/data-plane/server/db/tables/feed-item.ts +0 -12
  244. package/src/data-plane/server/db/tables/follow.ts +0 -15
  245. package/src/data-plane/server/db/tables/label.ts +0 -13
  246. package/src/data-plane/server/db/tables/labeler.ts +0 -16
  247. package/src/data-plane/server/db/tables/like.ts +0 -18
  248. package/src/data-plane/server/db/tables/list-block.ts +0 -15
  249. package/src/data-plane/server/db/tables/list-item.ts +0 -16
  250. package/src/data-plane/server/db/tables/list-mute.ts +0 -9
  251. package/src/data-plane/server/db/tables/list.ts +0 -19
  252. package/src/data-plane/server/db/tables/mute.ts +0 -9
  253. package/src/data-plane/server/db/tables/notification-push-token.ts +0 -10
  254. package/src/data-plane/server/db/tables/notification.ts +0 -16
  255. package/src/data-plane/server/db/tables/post-agg.ts +0 -16
  256. package/src/data-plane/server/db/tables/post-embed.ts +0 -47
  257. package/src/data-plane/server/db/tables/post-gate.ts +0 -12
  258. package/src/data-plane/server/db/tables/post.ts +0 -28
  259. package/src/data-plane/server/db/tables/private-data.ts +0 -13
  260. package/src/data-plane/server/db/tables/profile-agg.ts +0 -14
  261. package/src/data-plane/server/db/tables/profile.ts +0 -17
  262. package/src/data-plane/server/db/tables/quote.ts +0 -15
  263. package/src/data-plane/server/db/tables/record.ts +0 -15
  264. package/src/data-plane/server/db/tables/repost.ts +0 -18
  265. package/src/data-plane/server/db/tables/starter-pack.ts +0 -17
  266. package/src/data-plane/server/db/tables/subscription.ts +0 -9
  267. package/src/data-plane/server/db/tables/suggested-feed.ts +0 -10
  268. package/src/data-plane/server/db/tables/suggested-follow.ts +0 -10
  269. package/src/data-plane/server/db/tables/tagged-suggestion.ts +0 -11
  270. package/src/data-plane/server/db/tables/thread-gate.ts +0 -12
  271. package/src/data-plane/server/db/tables/thread-mute.ts +0 -9
  272. package/src/data-plane/server/db/tables/verification.ts +0 -20
  273. package/src/data-plane/server/db/tables/view-param.ts +0 -12
  274. package/src/data-plane/server/db/types.ts +0 -12
  275. package/src/data-plane/server/db/util.ts +0 -67
  276. package/src/data-plane/server/index.ts +0 -44
  277. package/src/data-plane/server/indexing/index.ts +0 -458
  278. package/src/data-plane/server/indexing/plugins/block.ts +0 -84
  279. package/src/data-plane/server/indexing/plugins/chat-declaration.ts +0 -60
  280. package/src/data-plane/server/indexing/plugins/feed-generator.ts +0 -80
  281. package/src/data-plane/server/indexing/plugins/follow.ts +0 -132
  282. package/src/data-plane/server/indexing/plugins/germ-declaration.ts +0 -57
  283. package/src/data-plane/server/indexing/plugins/labeler.ts +0 -74
  284. package/src/data-plane/server/indexing/plugins/like.ts +0 -151
  285. package/src/data-plane/server/indexing/plugins/list-block.ts +0 -84
  286. package/src/data-plane/server/indexing/plugins/list-item.ts +0 -92
  287. package/src/data-plane/server/indexing/plugins/list.ts +0 -80
  288. package/src/data-plane/server/indexing/plugins/notif-declaration.ts +0 -57
  289. package/src/data-plane/server/indexing/plugins/post-gate.ts +0 -101
  290. package/src/data-plane/server/indexing/plugins/post.ts +0 -675
  291. package/src/data-plane/server/indexing/plugins/profile.ts +0 -90
  292. package/src/data-plane/server/indexing/plugins/repost.ts +0 -176
  293. package/src/data-plane/server/indexing/plugins/starter-pack.ts +0 -74
  294. package/src/data-plane/server/indexing/plugins/status.ts +0 -57
  295. package/src/data-plane/server/indexing/plugins/thread-gate.ts +0 -101
  296. package/src/data-plane/server/indexing/plugins/verification.ts +0 -113
  297. package/src/data-plane/server/indexing/processor.ts +0 -292
  298. package/src/data-plane/server/routes/activity-subscription.ts +0 -84
  299. package/src/data-plane/server/routes/blocks.ts +0 -127
  300. package/src/data-plane/server/routes/bookmarks.ts +0 -83
  301. package/src/data-plane/server/routes/drafts.ts +0 -37
  302. package/src/data-plane/server/routes/feed-gens.ts +0 -89
  303. package/src/data-plane/server/routes/feeds.ts +0 -176
  304. package/src/data-plane/server/routes/follows.ts +0 -141
  305. package/src/data-plane/server/routes/identity.ts +0 -59
  306. package/src/data-plane/server/routes/index.ts +0 -67
  307. package/src/data-plane/server/routes/interactions.ts +0 -120
  308. package/src/data-plane/server/routes/labels.ts +0 -55
  309. package/src/data-plane/server/routes/likes.ts +0 -92
  310. package/src/data-plane/server/routes/lists.ts +0 -88
  311. package/src/data-plane/server/routes/moderation.ts +0 -102
  312. package/src/data-plane/server/routes/mutes.ts +0 -195
  313. package/src/data-plane/server/routes/notifs.ts +0 -239
  314. package/src/data-plane/server/routes/profile.ts +0 -220
  315. package/src/data-plane/server/routes/quotes.ts +0 -32
  316. package/src/data-plane/server/routes/records.ts +0 -119
  317. package/src/data-plane/server/routes/relationships.ts +0 -174
  318. package/src/data-plane/server/routes/reposts.ts +0 -76
  319. package/src/data-plane/server/routes/search.ts +0 -181
  320. package/src/data-plane/server/routes/site-standard.ts +0 -12
  321. package/src/data-plane/server/routes/sitemap.ts +0 -43
  322. package/src/data-plane/server/routes/starter-packs.ts +0 -32
  323. package/src/data-plane/server/routes/suggestions.ts +0 -175
  324. package/src/data-plane/server/routes/sync.ts +0 -16
  325. package/src/data-plane/server/routes/threads.ts +0 -33
  326. package/src/data-plane/server/subscription.ts +0 -152
  327. package/src/data-plane/server/util.ts +0 -202
  328. package/src/error.ts +0 -12
  329. package/src/etcd.ts +0 -90
  330. package/src/feature-gates/README.md +0 -83
  331. package/src/feature-gates/gates.ts +0 -25
  332. package/src/feature-gates/index.ts +0 -235
  333. package/src/feature-gates/metrics.test.ts +0 -196
  334. package/src/feature-gates/metrics.ts +0 -107
  335. package/src/feature-gates/types.ts +0 -62
  336. package/src/feature-gates/utils.test.ts +0 -66
  337. package/src/feature-gates/utils.ts +0 -135
  338. package/src/hydration/actor.ts +0 -578
  339. package/src/hydration/external.test.ts +0 -281
  340. package/src/hydration/external.ts +0 -268
  341. package/src/hydration/feed.ts +0 -456
  342. package/src/hydration/graph.ts +0 -354
  343. package/src/hydration/hydrator.ts +0 -1835
  344. package/src/hydration/label.ts +0 -207
  345. package/src/hydration/util.ts +0 -199
  346. package/src/image/index.ts +0 -2
  347. package/src/image/invalidator.ts +0 -33
  348. package/src/image/logger.ts +0 -6
  349. package/src/image/server.ts +0 -228
  350. package/src/image/sharp.ts +0 -89
  351. package/src/image/uri.ts +0 -114
  352. package/src/image/util.ts +0 -41
  353. package/src/index.ts +0 -312
  354. package/src/kws.ts +0 -197
  355. package/src/logger.ts +0 -40
  356. package/src/pipeline.ts +0 -60
  357. package/src/redis.ts +0 -205
  358. package/src/rolodex.ts +0 -42
  359. package/src/stash.ts +0 -76
  360. package/src/util/debug.ts +0 -10
  361. package/src/util/http.ts +0 -42
  362. package/src/util/retry.ts +0 -10
  363. package/src/util/standard-site.test.ts +0 -423
  364. package/src/util/standard-site.ts +0 -196
  365. package/src/util/uris.ts +0 -38
  366. package/src/util.ts +0 -48
  367. package/src/views/index.ts +0 -2783
  368. package/src/views/threads-v2.ts +0 -510
  369. package/src/views/types.ts +0 -193
  370. package/src/views/util.ts +0 -114
  371. package/test.env +0 -2
  372. package/tests/__snapshots__/feed-generation.test.ts.snap +0 -2463
  373. package/tests/_util.ts +0 -292
  374. package/tests/admin/admin-auth.test.ts +0 -190
  375. package/tests/admin/moderation.test.ts +0 -222
  376. package/tests/auth.test.ts +0 -90
  377. package/tests/blob-resolver.test.ts +0 -125
  378. package/tests/data-plane/__snapshots__/indexing.test.ts.snap +0 -887
  379. package/tests/data-plane/db.test.ts +0 -189
  380. package/tests/data-plane/duplicate-records.test.ts +0 -156
  381. package/tests/data-plane/handle-invalidation.test.ts +0 -153
  382. package/tests/data-plane/indexing.test.ts +0 -827
  383. package/tests/data-plane/subscription.test.ts +0 -128
  384. package/tests/data-plane/thread-mutes.test.ts +0 -175
  385. package/tests/entryway-auth.test.ts +0 -177
  386. package/tests/etcd.test.ts +0 -302
  387. package/tests/feed-generation.test.ts +0 -919
  388. package/tests/hydration/util.test.ts +0 -119
  389. package/tests/image/server.test.ts +0 -97
  390. package/tests/image/sharp.test.ts +0 -199
  391. package/tests/image/uri.test.ts +0 -106
  392. package/tests/label-hydration.test.ts +0 -245
  393. package/tests/postgates.test.ts +0 -182
  394. package/tests/query-labels.test.ts +0 -85
  395. package/tests/redis-cache.test.ts +0 -230
  396. package/tests/seed/feed-hidden-replies.ts +0 -63
  397. package/tests/seed/get-suggested-starter-packs.ts +0 -64
  398. package/tests/seed/get-trends.ts +0 -71
  399. package/tests/seed/known-followers.ts +0 -111
  400. package/tests/seed/postgates.ts +0 -57
  401. package/tests/server.test.ts +0 -115
  402. package/tests/sitemap.test.ts +0 -75
  403. package/tests/stash.test.ts +0 -180
  404. package/tests/utils.test.ts +0 -36
  405. package/tests/views/__snapshots__/actor-search.test.ts.snap +0 -155
  406. package/tests/views/__snapshots__/author-feed.test.ts.snap +0 -6301
  407. package/tests/views/__snapshots__/block-lists.test.ts.snap +0 -690
  408. package/tests/views/__snapshots__/blocks.test.ts.snap +0 -462
  409. package/tests/views/__snapshots__/bookmarks.test.ts.snap +0 -379
  410. package/tests/views/__snapshots__/follows.test.ts.snap +0 -798
  411. package/tests/views/__snapshots__/labeler-service.test.ts.snap +0 -233
  412. package/tests/views/__snapshots__/likes.test.ts.snap +0 -124
  413. package/tests/views/__snapshots__/list-feed.test.ts.snap +0 -883
  414. package/tests/views/__snapshots__/lists.test.ts.snap +0 -650
  415. package/tests/views/__snapshots__/mute-lists.test.ts.snap +0 -705
  416. package/tests/views/__snapshots__/mutes.test.ts.snap +0 -353
  417. package/tests/views/__snapshots__/notifications.test.ts.snap +0 -3074
  418. package/tests/views/__snapshots__/posts.test.ts.snap +0 -1019
  419. package/tests/views/__snapshots__/profile.test.ts.snap +0 -811
  420. package/tests/views/__snapshots__/quotes.test.ts.snap +0 -445
  421. package/tests/views/__snapshots__/reposts.test.ts.snap +0 -112
  422. package/tests/views/__snapshots__/starter-packs.test.ts.snap +0 -836
  423. package/tests/views/__snapshots__/thread-v2.test.ts.snap +0 -1298
  424. package/tests/views/__snapshots__/thread.test.ts.snap +0 -2051
  425. package/tests/views/__snapshots__/threadgating.test.ts.snap +0 -189
  426. package/tests/views/__snapshots__/timeline.test.ts.snap +0 -7252
  427. package/tests/views/account-deactivation.test.ts +0 -81
  428. package/tests/views/actor-likes.test.ts +0 -138
  429. package/tests/views/actor-search.test.ts +0 -261
  430. package/tests/views/age-assurance-v2.test.ts +0 -823
  431. package/tests/views/age-assurance.test.ts +0 -479
  432. package/tests/views/author-feed.test.ts +0 -694
  433. package/tests/views/block-lists.test.ts +0 -661
  434. package/tests/views/blocks.test.ts +0 -889
  435. package/tests/views/bookmarks.test.ts +0 -345
  436. package/tests/views/drafts.test.ts +0 -430
  437. package/tests/views/feed-hidden-replies.test.ts +0 -243
  438. package/tests/views/feed-view-post.test.ts +0 -501
  439. package/tests/views/follows.test.ts +0 -372
  440. package/tests/views/get-config.test.ts +0 -64
  441. package/tests/views/get-suggested-onboarding-users.test.ts +0 -193
  442. package/tests/views/get-suggested-starter-packs.test.ts +0 -137
  443. package/tests/views/get-trends.test.ts +0 -141
  444. package/tests/views/internal-actor.test.ts +0 -127
  445. package/tests/views/known-followers.test.ts +0 -193
  446. package/tests/views/labeler-service.test.ts +0 -242
  447. package/tests/views/labels-needs-review.test.ts +0 -316
  448. package/tests/views/labels-takedown.test.ts +0 -247
  449. package/tests/views/likes.test.ts +0 -192
  450. package/tests/views/list-feed.test.ts +0 -195
  451. package/tests/views/lists.test.ts +0 -412
  452. package/tests/views/mute-lists.test.ts +0 -509
  453. package/tests/views/mutes.test.ts +0 -308
  454. package/tests/views/notifications.test.ts +0 -1581
  455. package/tests/views/post-search.test.ts +0 -200
  456. package/tests/views/posts-debug.test.ts +0 -79
  457. package/tests/views/posts.test.ts +0 -427
  458. package/tests/views/profile-debug.test.ts +0 -75
  459. package/tests/views/profile.test.ts +0 -795
  460. package/tests/views/quotes.test.ts +0 -133
  461. package/tests/views/reposts.test.ts +0 -112
  462. package/tests/views/starter-packs.test.ts +0 -395
  463. package/tests/views/suggestions.test.ts +0 -145
  464. package/tests/views/thread-v2.test.ts +0 -2005
  465. package/tests/views/thread.test.ts +0 -637
  466. package/tests/views/threadgating.test.ts +0 -843
  467. package/tests/views/timeline.test.ts +0 -328
  468. package/tests/views/verification.test.ts +0 -296
  469. package/tsconfig.build.json +0 -10
  470. package/tsconfig.build.tsbuildinfo +0 -1
  471. package/tsconfig.json +0 -7
  472. package/tsconfig.tests.json +0 -8
  473. package/vitest.config.ts +0 -10
package/proto/bsky.proto DELETED
@@ -1,1907 +0,0 @@
1
- syntax = "proto3";
2
-
3
- package bsky;
4
- option go_package = "./;bsky";
5
-
6
- import "google/protobuf/timestamp.proto";
7
-
8
- //
9
- // Read Path
10
- //
11
-
12
- message Record {
13
- bytes record = 1;
14
- string cid = 2;
15
- google.protobuf.Timestamp indexed_at = 4;
16
- bool taken_down = 5;
17
- google.protobuf.Timestamp created_at = 6;
18
- google.protobuf.Timestamp sorted_at = 7;
19
- string takedown_ref = 8;
20
- repeated string tags = 9;
21
- }
22
-
23
- message GetBlockRecordsRequest {
24
- repeated string uris = 1;
25
- }
26
-
27
- message GetBlockRecordsResponse {
28
- repeated Record records = 1;
29
- }
30
-
31
- message GetFeedGeneratorRecordsRequest {
32
- repeated string uris = 1;
33
- }
34
-
35
- message GetFeedGeneratorRecordsResponse {
36
- repeated Record records = 1;
37
- }
38
-
39
- message GetFollowRecordsRequest {
40
- repeated string uris = 1;
41
- }
42
-
43
- message GetFollowRecordsResponse {
44
- repeated Record records = 1;
45
- }
46
-
47
- message GetLikeRecordsRequest {
48
- repeated string uris = 1;
49
- }
50
-
51
- message GetLikeRecordsResponse {
52
- repeated Record records = 1;
53
- }
54
-
55
- message GetListBlockRecordsRequest {
56
- repeated string uris = 1;
57
- }
58
-
59
- message GetListBlockRecordsResponse {
60
- repeated Record records = 1;
61
- }
62
-
63
- message GetListItemRecordsRequest {
64
- repeated string uris = 1;
65
- }
66
-
67
- message GetListItemRecordsResponse {
68
- repeated Record records = 1;
69
- }
70
-
71
- message GetListRecordsRequest {
72
- repeated string uris = 1;
73
- }
74
-
75
- message GetListRecordsResponse {
76
- repeated Record records = 1;
77
- }
78
-
79
- message PostRecordMeta {
80
- bool violates_thread_gate = 1;
81
- bool has_media = 2;
82
- bool is_reply = 3;
83
- bool violates_embedding_rules = 4;
84
- bool has_post_gate = 5;
85
- bool has_thread_gate = 6;
86
- bool has_video = 7;
87
- }
88
-
89
- message GetPostRecordsRequest {
90
- repeated string uris = 1;
91
- optional string process_dynamic_tags_for_view = 2;
92
- optional string viewer_did = 3;
93
- }
94
-
95
- message GetPostRecordsResponse {
96
- repeated Record records = 1;
97
- repeated PostRecordMeta meta = 2;
98
- }
99
-
100
- message GetProfileRecordsRequest {
101
- repeated string uris = 1;
102
- }
103
-
104
- message GetProfileRecordsResponse {
105
- repeated Record records = 1;
106
- }
107
-
108
- message GetActorChatDeclarationRecordsRequest {
109
- repeated string uris = 1;
110
- }
111
-
112
- message GetActorChatDeclarationRecordsResponse {
113
- repeated Record records = 1;
114
- }
115
-
116
- message GetNotificationDeclarationRecordsRequest {
117
- repeated string uris = 1;
118
- }
119
-
120
- message GetNotificationDeclarationRecordsResponse {
121
- repeated Record records = 1;
122
- }
123
-
124
- message GetGermDeclarationRecordsRequest {
125
- repeated string uris = 1;
126
- }
127
-
128
- message GetGermDeclarationRecordsResponse {
129
- repeated Record records = 1;
130
- }
131
-
132
- message GetStatusRecordsRequest {
133
- repeated string uris = 1;
134
- }
135
-
136
- message GetStatusRecordsResponse {
137
- repeated Record records = 1;
138
- }
139
-
140
- message GetRepostRecordsRequest {
141
- repeated string uris = 1;
142
- }
143
-
144
- message GetRepostRecordsResponse {
145
- repeated Record records = 1;
146
- }
147
-
148
- message GetThreadGateRecordsRequest {
149
- repeated string uris = 1;
150
- }
151
-
152
- message GetThreadGateRecordsResponse {
153
- repeated Record records = 1;
154
- }
155
-
156
- message GetPostgateRecordsRequest {
157
- repeated string uris = 1;
158
- }
159
-
160
- message GetPostgateRecordsResponse {
161
- repeated Record records = 1;
162
- }
163
-
164
- message GetLabelerRecordsRequest {
165
- repeated string uris = 1;
166
- }
167
-
168
- message GetLabelerRecordsResponse {
169
- repeated Record records = 1;
170
- }
171
-
172
- message GetAllLabelersRequest {}
173
-
174
- message GetAllLabelersResponse {
175
- repeated string uris = 1;
176
- repeated Record records = 2;
177
- }
178
-
179
- message GetStarterPackRecordsRequest {
180
- repeated string uris = 1;
181
- }
182
-
183
- message GetStarterPackRecordsResponse {
184
- repeated Record records = 1;
185
- }
186
-
187
- //
188
- // Follows
189
- //
190
-
191
- // - Return follow uris where user A follows users B, C, D, …
192
- // - E.g. for viewer state on `getProfiles`
193
- message GetActorFollowsActorsRequest {
194
- string actor_did = 1;
195
- repeated string target_dids = 2;
196
- }
197
-
198
- message GetActorFollowsActorsResponse {
199
- repeated string uris = 1;
200
- }
201
-
202
- // - Return follow uris of users who follows user A
203
- // - For `getFollowers` list
204
- message GetFollowersRequest {
205
- string actor_did = 1;
206
- int32 limit = 2;
207
- string cursor = 3;
208
- }
209
-
210
- message FollowInfo {
211
- string uri = 1;
212
- string actor_did = 2;
213
- string subject_did = 3;
214
- }
215
-
216
- message GetFollowersResponse {
217
- repeated FollowInfo followers = 1;
218
- string cursor = 2;
219
- }
220
-
221
- // - Return follow uris of users A follows
222
- // - For `getFollows` list
223
- message GetFollowsRequest {
224
- string actor_did = 1;
225
- int32 limit = 2;
226
- string cursor = 3;
227
- }
228
-
229
- message GetFollowsResponse {
230
- repeated FollowInfo follows = 1;
231
- string cursor = 2;
232
- }
233
-
234
- //
235
- // Verification
236
- //
237
-
238
- message VerificationMeta {
239
- string rkey = 1;
240
- string handle = 2;
241
- string display_name = 3;
242
- google.protobuf.Timestamp sorted_at = 4;
243
- }
244
-
245
- message GetVerificationRecordsRequest {
246
- repeated string uris = 1;
247
- }
248
-
249
- message GetVerificationRecordsResponse {
250
- repeated Record records = 1;
251
- }
252
-
253
- message VerificationIssued {
254
- string actor_did = 1;
255
- string rkey = 2;
256
- string subject_did = 3;
257
- google.protobuf.Timestamp created_at = 7;
258
- google.protobuf.Timestamp indexed_at = 8;
259
- google.protobuf.Timestamp sorted_at = 9;
260
- }
261
-
262
- message GetVerificationsIssuedRequest {
263
- string actor_did = 1;
264
- int32 limit = 2;
265
- string cursor = 3;
266
- }
267
-
268
- message GetVerificationsIssuedResponse {
269
- repeated VerificationIssued verifications = 1;
270
- string cursor = 2;
271
- }
272
-
273
- message VerificationReceived {
274
- string actor_did = 1;
275
- string rkey = 2;
276
- string subject_did = 3;
277
- google.protobuf.Timestamp created_at = 7;
278
- google.protobuf.Timestamp indexed_at = 8;
279
- google.protobuf.Timestamp sorted_at = 9;
280
- }
281
-
282
- message GetVerificationsReceivedRequest {
283
- string subject_did = 1;
284
- int32 limit = 2;
285
- string cursor = 3;
286
- }
287
-
288
- message GetVerificationsReceivedResponse {
289
- repeated VerificationReceived verifications = 1;
290
- string cursor = 2;
291
- }
292
-
293
- //
294
- // Likes
295
- //
296
-
297
- // - return like uris where subject uri is subject A
298
- // - `getLikes` list for a post
299
- message GetLikesBySubjectRequest {
300
- RecordRef subject = 1;
301
- int32 limit = 2;
302
- string cursor = 3;
303
- }
304
-
305
- message GetLikesBySubjectResponse {
306
- repeated string uris = 1;
307
- string cursor = 2;
308
- }
309
-
310
- message GetLikesBySubjectSortedRequest {
311
- RecordRef subject = 1;
312
- int32 limit = 2;
313
- string cursor = 3;
314
- }
315
-
316
- message GetLikesBySubjectSortedResponse {
317
- repeated string uris = 1;
318
- string cursor = 2;
319
- }
320
-
321
- message GetQuotesBySubjectSortedRequest {
322
- RecordRef subject = 1;
323
- int32 limit = 2;
324
- string cursor = 3;
325
- }
326
-
327
- message GetQuotesBySubjectSortedResponse {
328
- repeated string uris = 1;
329
- string cursor = 2;
330
- }
331
-
332
- // - return like uris for user A on subject B, C, D...
333
- // - viewer state on posts
334
- message GetLikesByActorAndSubjectsRequest {
335
- string actor_did = 1;
336
- repeated RecordRef refs = 2;
337
- }
338
-
339
- message GetLikesByActorAndSubjectsResponse {
340
- repeated string uris = 1;
341
- }
342
-
343
- // - return recent like uris for user A
344
- // - `getActorLikes` list for a user
345
- message GetActorLikesRequest {
346
- string actor_did = 1;
347
- int32 limit = 2;
348
- string cursor = 3;
349
- }
350
-
351
- message LikeInfo {
352
- string uri = 1;
353
- string subject = 2;
354
- }
355
-
356
- message GetActorLikesResponse {
357
- repeated LikeInfo likes = 1;
358
- string cursor = 2;
359
- }
360
-
361
- //
362
- // Interactions
363
- //
364
- message GetInteractionCountsRequest {
365
- repeated RecordRef refs = 1;
366
- repeated string skip_cache_for_dids = 2;
367
- }
368
-
369
- message GetInteractionCountsResponse {
370
- repeated int32 likes = 1;
371
- repeated int32 reposts = 2;
372
- repeated int32 replies = 3;
373
- repeated int32 quotes = 4;
374
- repeated int32 bookmarks = 5;
375
- }
376
-
377
- message GetCountsForUsersRequest {
378
- repeated string dids = 1;
379
- }
380
-
381
- message GetCountsForUsersResponse {
382
- repeated int32 posts = 1;
383
- repeated int32 reposts = 2;
384
- repeated int32 following = 3;
385
- repeated int32 followers = 4;
386
- repeated int32 lists = 5;
387
- repeated int32 feeds = 6;
388
- repeated int32 starter_packs = 7;
389
- repeated int32 drafts = 8;
390
- }
391
-
392
- message GetStarterPackCountsRequest {
393
- repeated RecordRef refs = 1;
394
- }
395
-
396
- message GetStarterPackCountsResponse {
397
- repeated int32 joined_week = 1;
398
- repeated int32 joined_all_time = 2;
399
- }
400
-
401
- message GetListCountsRequest {
402
- repeated RecordRef refs = 1;
403
- }
404
-
405
- message GetListCountsResponse {
406
- repeated int32 list_items = 1;
407
- }
408
-
409
- message GetNewUserCountForRangeRequest {
410
- google.protobuf.Timestamp start = 1;
411
- google.protobuf.Timestamp end = 2;
412
- }
413
-
414
- message GetNewUserCountForRangeResponse {
415
- int32 count = 1;
416
- }
417
-
418
- //
419
- // Reposts
420
- //
421
-
422
- // - return repost uris where subject uri is subject A
423
- // - `getReposts` list for a post
424
- message GetRepostsBySubjectRequest {
425
- RecordRef subject = 1;
426
- int32 limit = 2;
427
- string cursor = 3;
428
- }
429
-
430
- message GetRepostsBySubjectResponse {
431
- repeated string uris = 1;
432
- string cursor = 2;
433
- }
434
-
435
- // - return repost uris for user A on subject B, C, D...
436
- // - viewer state on posts
437
- message GetRepostsByActorAndSubjectsRequest {
438
- string actor_did = 1;
439
- repeated RecordRef refs = 2;
440
- }
441
-
442
- message RecordRef {
443
- string uri = 1;
444
- string cid = 2;
445
- }
446
-
447
- message GetRepostsByActorAndSubjectsResponse {
448
- repeated string uris = 1;
449
- }
450
-
451
- // - return recent repost uris for user A
452
- // - `getActorReposts` list for a user
453
- message GetActorRepostsRequest {
454
- string actor_did = 1;
455
- int32 limit = 2;
456
- string cursor = 3;
457
- }
458
-
459
- message GetActorRepostsResponse {
460
- repeated string uris = 1;
461
- string cursor = 2;
462
- }
463
-
464
- //
465
- // Profile
466
- //
467
-
468
- // - return actor information for dids A, B, C…
469
- // - profile hydration
470
- // - should this include handles? apply repo takedown?
471
- message GetActorsRequest {
472
- repeated string dids = 1;
473
- repeated string skip_cache_for_dids = 2;
474
- repeated string return_age_assurance_for_dids = 3;
475
- }
476
-
477
- message ActorInfo {
478
- bool exists = 1;
479
- string handle = 2;
480
- Record profile = 3;
481
- bool taken_down = 4;
482
- string takedown_ref = 5;
483
- google.protobuf.Timestamp tombstoned_at = 6;
484
- bool labeler = 7;
485
- string allow_incoming_chats_from = 8;
486
- string upstream_status = 9;
487
- google.protobuf.Timestamp created_at = 10;
488
- bool priority_notifications = 11;
489
- double pagerank = 12;
490
- bool trusted_verifier = 13;
491
- map<string, VerificationMeta> verified_by = 14;
492
- // Tags being applied to the account itself
493
- repeated string tags = 15;
494
- // Tags being applied to the profile record
495
- repeated string profile_tags = 16;
496
- Record status_record = 17;
497
- string allow_activity_subscriptions_from = 18;
498
- optional AgeAssuranceStatus age_assurance_status = 19;
499
- reserved 20; // DO NOT REMOVE - see dataplane repo
500
- Record germ_record = 21;
501
- string allow_group_chat_invites_from = 22;
502
- }
503
-
504
- message AgeAssuranceStatus {
505
- string status = 1;
506
- google.protobuf.Timestamp last_initiated_at = 2;
507
- bool override_applied = 3;
508
- string access = 4;
509
- }
510
-
511
- message GetActorsResponse {
512
- repeated ActorInfo actors = 1;
513
- }
514
-
515
- // - return did for handle A
516
- // - `resolveHandle`
517
- // - answering queries where the query param is a handle
518
- message GetDidsByHandlesRequest {
519
- repeated string handles = 1;
520
- bool lookup_unidirectional = 2;
521
- }
522
-
523
- message GetDidsByHandlesResponse {
524
- repeated string dids = 1;
525
- }
526
-
527
- //
528
- // Relationships
529
- //
530
-
531
- // - return relationships between user A and users B, C, D...
532
- // - profile hydration
533
- // - block application
534
- message GetRelationshipsRequest {
535
- string actor_did = 1;
536
- repeated string target_dids = 2;
537
- }
538
-
539
- message Relationships {
540
- bool muted = 1;
541
- string muted_by_list = 2;
542
- string blocked_by = 3;
543
- string blocking = 4;
544
- string blocked_by_list = 5;
545
- string blocking_by_list = 6;
546
- string following = 7;
547
- string followed_by = 8;
548
- }
549
-
550
- message GetRelationshipsResponse {
551
- repeated Relationships relationships = 1;
552
- }
553
-
554
- // - return whether a block (bidrectionally and either direct or through a list) exists between two dids
555
- // - enforcing 3rd party block violations
556
- message RelationshipPair {
557
- string a = 1;
558
- string b = 2;
559
- }
560
-
561
- message BlockExistence {
562
- string blocked_by = 1;
563
- string blocking = 2;
564
- string blocked_by_list = 3;
565
- string blocking_by_list = 4;
566
- }
567
-
568
- message GetBlockExistenceRequest {
569
- repeated RelationshipPair pairs = 1;
570
- }
571
-
572
- message GetBlockExistenceResponse {
573
- repeated bool exists = 1;
574
- repeated BlockExistence blocks = 2;
575
- }
576
-
577
-
578
- //
579
- // Lists
580
- //
581
-
582
- message ListItemInfo {
583
- string uri = 1;
584
- string did = 2;
585
- }
586
-
587
- // - Return dids of users in list A
588
- // - E.g. to view items in one of your mute lists
589
- message GetListMembersRequest {
590
- string list_uri = 1;
591
- int32 limit = 2;
592
- string cursor = 3;
593
- }
594
-
595
- message GetListMembersResponse {
596
- repeated ListItemInfo listitems = 1;
597
- string cursor = 2;
598
- }
599
-
600
- // - Return list uris where user A in list B, C, D…
601
- // - Used in thread reply gates
602
- message GetListMembershipRequest {
603
- string actor_did = 1;
604
- repeated string list_uris = 2;
605
- }
606
-
607
- message GetListMembershipResponse {
608
- repeated string listitem_uris = 1;
609
- }
610
-
611
- // - Return number of items in list A
612
- // - For aggregate
613
- message GetListCountRequest {
614
- string list_uri = 1;
615
- }
616
-
617
- message GetListCountResponse {
618
- int32 count = 1;
619
- }
620
-
621
-
622
- // - return list of uris of lists created by A
623
- // - `getLists`
624
- message GetActorListsRequest {
625
- string actor_did = 1;
626
- int32 limit = 2;
627
- string cursor = 3;
628
- }
629
-
630
- message GetActorListsResponse {
631
- repeated string list_uris = 1;
632
- string cursor = 2;
633
- }
634
-
635
- //
636
- // Mutes
637
- //
638
-
639
- // - return boolean if user A has muted user B
640
- // - hydrating mute state onto profiles
641
- message GetActorMutesActorRequest {
642
- string actor_did = 1;
643
- string target_did = 2;
644
- }
645
-
646
- message GetActorMutesActorResponse {
647
- bool muted = 1;
648
- }
649
-
650
- // - return list of user dids of users who A mutes
651
- // - `getMutes`
652
- message GetMutesRequest {
653
- string actor_did = 1;
654
- int32 limit = 2;
655
- string cursor = 3;
656
- }
657
-
658
- message GetMutesResponse {
659
- repeated string dids = 1;
660
- string cursor = 2;
661
- }
662
-
663
- //
664
- // Mutelists
665
- //
666
-
667
- // - return list uri of *any* list through which user A has muted user B
668
- // - hydrating mute state onto profiles
669
- // - note: we only need *one* uri even if a user is muted by multiple lists
670
- message GetActorMutesActorViaListRequest {
671
- string actor_did = 1;
672
- string target_did = 2;
673
- }
674
-
675
- message GetActorMutesActorViaListResponse {
676
- string list_uri = 1;
677
- }
678
-
679
- // - return boolean if actor A has subscribed to mutelist B
680
- // - list view hydration
681
- message GetMutelistSubscriptionRequest {
682
- string actor_did = 1;
683
- string list_uri = 2;
684
- }
685
-
686
- message GetMutelistSubscriptionResponse {
687
- bool subscribed = 1;
688
- }
689
-
690
- // - return list of list uris of mutelists that A subscribes to
691
- // - `getListMutes`
692
- message GetMutelistSubscriptionsRequest {
693
- string actor_did = 1;
694
- int32 limit = 2;
695
- string cursor = 3;
696
- }
697
-
698
- message GetMutelistSubscriptionsResponse {
699
- repeated string list_uris = 1;
700
- string cursor = 2;
701
- }
702
-
703
- //
704
- // Thread Mutes
705
- //
706
-
707
- message GetThreadMutesOnSubjectsRequest {
708
- string actor_did = 1;
709
- repeated string thread_roots = 2;
710
- }
711
-
712
- message GetThreadMutesOnSubjectsResponse {
713
- repeated bool muted = 1;
714
- }
715
-
716
- //
717
- // Blocks
718
- //
719
-
720
- // - Return block uri if there is a block between users A & B (bidirectional)
721
- // - hydrating (& actioning) block state on profiles
722
- // - handling 3rd party blocks
723
- message GetBidirectionalBlockRequest {
724
- string actor_did = 1;
725
- string target_did = 2;
726
- }
727
-
728
- message GetBidirectionalBlockResponse {
729
- string block_uri = 1;
730
- }
731
-
732
- // - Return list of block uris and user dids of users who A blocks
733
- // - `getBlocks`
734
- message GetBlocksRequest {
735
- string actor_did = 1;
736
- int32 limit = 2;
737
- string cursor = 3;
738
- }
739
-
740
- message GetBlocksResponse {
741
- repeated string block_uris = 1;
742
- string cursor = 2;
743
- }
744
-
745
- //
746
- // Blocklists
747
- //
748
-
749
- // - Return list uri of ***any*** list through which users A & B have a block (bidirectional)
750
- // - hydrating (& actioning) block state on profiles
751
- // - handling 3rd party blocks
752
- message GetBidirectionalBlockViaListRequest {
753
- string actor_did = 1;
754
- string target_did = 2;
755
- }
756
-
757
- message GetBidirectionalBlockViaListResponse {
758
- string list_uri = 1;
759
- }
760
-
761
- // - return boolean if user A has subscribed to blocklist B
762
- // - list view hydration
763
- message GetBlocklistSubscriptionRequest {
764
- string actor_did = 1;
765
- string list_uri = 2;
766
- }
767
-
768
- message GetBlocklistSubscriptionResponse {
769
- string listblock_uri = 1;
770
- }
771
-
772
- // - return list of list uris of Blockslists that A subscribes to
773
- // - `getListBlocks`
774
- message GetBlocklistSubscriptionsRequest {
775
- string actor_did = 1;
776
- int32 limit = 2;
777
- string cursor = 3;
778
- }
779
-
780
- message GetBlocklistSubscriptionsResponse {
781
- repeated string list_uris = 1;
782
- string cursor = 2;
783
- }
784
-
785
- //
786
- // Notifications
787
- //
788
-
789
- message GetNotificationPreferencesRequest {
790
- repeated string dids = 1;
791
- }
792
-
793
- message NotificationChannelList {
794
- bool enabled = 1;
795
- }
796
-
797
- message NotificationChannelPush {
798
- bool enabled = 1;
799
- }
800
-
801
- enum NotificationInclude {
802
- NOTIFICATION_INCLUDE_UNSPECIFIED = 0;
803
- NOTIFICATION_INCLUDE_ALL = 1;
804
- NOTIFICATION_INCLUDE_FOLLOWS = 2;
805
- }
806
-
807
- message FilterableNotificationPreference {
808
- NotificationInclude include = 1;
809
- NotificationChannelList list = 2;
810
- NotificationChannelPush push = 3;
811
- }
812
-
813
- message NotificationPreference {
814
- NotificationChannelList list = 1;
815
- NotificationChannelPush push = 2;
816
- }
817
-
818
- message NotificationPreferences {
819
- bytes entry = 1;
820
-
821
- reserved 2; // formerly "chat". This is now stored on the chat service.
822
- reserved "chat";
823
-
824
- FilterableNotificationPreference follow = 3;
825
- FilterableNotificationPreference like = 4;
826
- FilterableNotificationPreference like_via_repost = 5;
827
- FilterableNotificationPreference mention = 6;
828
- FilterableNotificationPreference quote = 7;
829
- FilterableNotificationPreference reply = 8;
830
- FilterableNotificationPreference repost = 9;
831
- FilterableNotificationPreference repost_via_repost = 10;
832
- NotificationPreference starterpack_joined = 11;
833
- NotificationPreference subscribed_post = 12;
834
- NotificationPreference unverified = 13;
835
- NotificationPreference verified = 14;
836
- }
837
-
838
- message GetNotificationPreferencesResponse {
839
- repeated NotificationPreferences preferences = 1;
840
- }
841
-
842
- // - list recent notifications for a user
843
- // - notifications should include a uri for the record that caused the notif & a “reason” for the notification (reply, like, quotepost, etc)
844
- // - this should include both read & unread notifs
845
- message GetNotificationsRequest {
846
- string actor_did = 1;
847
- int32 limit = 2;
848
- string cursor = 3;
849
- bool priority = 4;
850
- }
851
-
852
- message Notification {
853
- string recipient_did = 1;
854
- string uri = 2;
855
- string reason = 3;
856
- string reason_subject = 4;
857
- google.protobuf.Timestamp timestamp = 5;
858
- bool priority = 6;
859
- }
860
-
861
- message GetNotificationsResponse {
862
- repeated Notification notifications = 1;
863
- string cursor = 2;
864
- }
865
-
866
- // - update a user’s “last seen time”
867
- // - `updateSeen`
868
- message UpdateNotificationSeenRequest {
869
- string actor_did = 1;
870
- google.protobuf.Timestamp timestamp = 2;
871
- bool priority = 3;
872
- }
873
-
874
- message UpdateNotificationSeenResponse {}
875
-
876
- // - get a user’s “last seen time”
877
- // - hydrating read state onto notifications
878
- message GetNotificationSeenRequest {
879
- string actor_did = 1;
880
- bool priority = 2;
881
- }
882
-
883
- message GetNotificationSeenResponse {
884
- google.protobuf.Timestamp timestamp = 1;
885
- }
886
-
887
- // - get a count of all unread notifications (notifications after `updateSeen`)
888
- // - `getUnreadCount`
889
- message GetUnreadNotificationCountRequest {
890
- string actor_did = 1;
891
- bool priority = 2;
892
- }
893
-
894
- message GetUnreadNotificationCountResponse {
895
- int32 count = 1;
896
- }
897
-
898
- message GetActivitySubscriptionDidsRequest {
899
- string actor_did = 1;
900
- int32 limit = 2;
901
- string cursor = 3;
902
- }
903
-
904
- message GetActivitySubscriptionDidsResponse {
905
- repeated string dids = 1;
906
- string cursor = 2;
907
- }
908
-
909
- message PostActivitySubscription {}
910
- message ReplyActivitySubscription {}
911
-
912
- message ActivitySubscription {
913
- string actor_did = 1;
914
- string namespace = 2;
915
- string key = 3;
916
- optional PostActivitySubscription post = 4;
917
- optional ReplyActivitySubscription reply = 5;
918
- string subject_did = 6;
919
- google.protobuf.Timestamp indexed_at = 7;
920
- }
921
-
922
- message GetActivitySubscriptionsByActorAndSubjectsRequest {
923
- string actor_did = 1;
924
- repeated string subject_dids = 2;
925
- }
926
-
927
- message GetActivitySubscriptionsByActorAndSubjectsResponse {
928
- repeated ActivitySubscription subscriptions = 1;
929
- }
930
-
931
- //
932
- // FeedGenerators
933
- //
934
-
935
- // - Return uris of feed generator records created by user A
936
- // - `getActorFeeds`
937
- message GetActorFeedsRequest {
938
- string actor_did = 1;
939
- int32 limit = 2;
940
- string cursor = 3;
941
- }
942
-
943
- message GetActorFeedsResponse {
944
- repeated string uris = 1;
945
- string cursor = 2;
946
- }
947
-
948
- // - Returns a list of suggested feed generator uris for an actor, paginated
949
- // - `getSuggestedFeeds`
950
- // - This is currently just hardcoded in the Appview DB
951
- message GetSuggestedFeedsRequest {
952
- string actor_did = 1;
953
- int32 limit = 2;
954
- string cursor = 3;
955
- }
956
-
957
- message GetSuggestedFeedsResponse {
958
- repeated string uris = 1;
959
- string cursor = 2;
960
- }
961
-
962
- message SearchFeedGeneratorsRequest {
963
- string query = 1;
964
- int32 limit = 2;
965
- }
966
-
967
- message SearchFeedGeneratorsResponse {
968
- repeated string uris = 1;
969
- }
970
-
971
- // - Returns feed generator validity and online status with uris A, B, C…
972
- // - Not currently being used, but could be worhthwhile.
973
- message GetFeedGeneratorStatusRequest {
974
- repeated string uris = 1;
975
- }
976
-
977
- message GetFeedGeneratorStatusResponse {
978
- repeated string status = 1;
979
- }
980
-
981
- //
982
- // Feeds
983
- //
984
-
985
- enum FeedType {
986
- FEED_TYPE_UNSPECIFIED = 0;
987
- FEED_TYPE_POSTS_AND_AUTHOR_THREADS = 1;
988
- FEED_TYPE_POSTS_NO_REPLIES = 2;
989
- FEED_TYPE_POSTS_WITH_MEDIA = 3;
990
- FEED_TYPE_POSTS_WITH_VIDEO = 4;
991
- }
992
-
993
- // - Returns recent posts authored by a given DID, paginated
994
- // - `getAuthorFeed`
995
- // - Optionally: filter by if a post is/isn’t a reply and if a post has a media object in it
996
- message GetAuthorFeedRequest {
997
- string actor_did = 1;
998
- int32 limit = 2;
999
- string cursor = 3;
1000
- FeedType feed_type = 4;
1001
- }
1002
-
1003
- message AuthorFeedItem {
1004
- string uri = 1;
1005
- string cid = 2;
1006
- string repost = 3;
1007
- string repost_cid = 4;
1008
- bool posts_and_author_threads = 5;
1009
- bool posts_no_replies = 6;
1010
- bool posts_with_media = 7;
1011
- bool is_reply = 8;
1012
- bool is_repost = 9;
1013
- bool is_quote_post = 10;
1014
- bool posts_with_video = 11;
1015
- }
1016
-
1017
- message GetAuthorFeedResponse {
1018
- repeated AuthorFeedItem items = 1;
1019
- string cursor = 2;
1020
- }
1021
-
1022
- // - Returns recent posts authored by users followed by a given DID, paginated
1023
- // - `getTimeline`
1024
- message GetTimelineRequest {
1025
- string actor_did = 1;
1026
- int32 limit = 2;
1027
- string cursor = 3;
1028
- bool exclude_replies = 4;
1029
- bool exclude_reposts = 5;
1030
- bool exclude_quotes = 6;
1031
- }
1032
-
1033
- message GetTimelineResponse {
1034
- repeated TimelineFeedItem items = 1;
1035
- string cursor = 2;
1036
- }
1037
-
1038
- message TimelineFeedItem {
1039
- string uri = 1;
1040
- string cid = 2;
1041
- string repost = 3;
1042
- string repost_cid = 4;
1043
- bool is_reply = 5;
1044
- bool is_repost = 6;
1045
- bool is_quote_post = 7;
1046
- }
1047
-
1048
- // - Return recent post uris from users in list A
1049
- // - `getListFeed`
1050
- // - (This is essentially the same as `getTimeline` but instead of follows of a did, it is list items of a list)
1051
- message GetListFeedRequest {
1052
- string list_uri = 1;
1053
- int32 limit = 2;
1054
- string cursor = 3;
1055
- bool exclude_replies = 4;
1056
- bool exclude_reposts = 5;
1057
- bool exclude_quotes = 6;
1058
- }
1059
-
1060
- message GetListFeedResponse {
1061
- repeated TimelineFeedItem items = 1;
1062
- string cursor = 2;
1063
- }
1064
-
1065
- //
1066
- // Threads
1067
- //
1068
-
1069
- // Return posts uris of any replies N levels above or M levels below post A
1070
- message GetThreadRequest {
1071
- string post_uri = 1;
1072
- int32 above = 2;
1073
- int32 below = 3;
1074
- }
1075
-
1076
- message GetThreadResponse {
1077
- repeated string uris = 1;
1078
- }
1079
-
1080
- //
1081
- // Search V1
1082
- //
1083
-
1084
- // - Return DIDs of actors matching term, paginated
1085
- // - `searchActors` skeleton
1086
- message SearchActorsRequest {
1087
- string term = 1;
1088
- int32 limit = 2;
1089
- string cursor = 3;
1090
- }
1091
-
1092
- message SearchActorsResponse {
1093
- repeated string dids = 1;
1094
- string cursor = 2;
1095
- }
1096
-
1097
- // - Return uris of posts matching term, paginated
1098
- // - `searchPosts` skeleton
1099
- message SearchPostsRequest {
1100
- string term = 1;
1101
- int32 limit = 2;
1102
- string cursor = 3;
1103
- }
1104
-
1105
- message SearchPostsResponse {
1106
- repeated string uris = 1;
1107
- string cursor = 2;
1108
- }
1109
-
1110
- // - Return uris of starter packs matching term, paginated
1111
- // - `searchStarterPacks` skeleton
1112
- message SearchStarterPacksRequest {
1113
- string term = 1;
1114
- int32 limit = 2;
1115
- string cursor = 3;
1116
- }
1117
-
1118
- message SearchStarterPacksResponse {
1119
- repeated string uris = 1;
1120
- string cursor = 2;
1121
- }
1122
-
1123
- //
1124
- // Search V2
1125
- //
1126
-
1127
- enum SearchSortOrder {
1128
- SEARCH_SORT_ORDER_UNSPECIFIED = 0;
1129
- SEARCH_SORT_ORDER_RECENT = 1;
1130
- SEARCH_SORT_ORDER_TOP = 2;
1131
- }
1132
-
1133
- enum SearchQueryLanguage {
1134
- SEARCH_QUERY_LANGUAGE_UNSPECIFIED = 0;
1135
- SEARCH_QUERY_LANGUAGE_JA = 1; // Japanese (Kuromoji)
1136
- SEARCH_QUERY_LANGUAGE_ZH = 2; // Chinese (smartcn)
1137
- SEARCH_QUERY_LANGUAGE_KO = 3; // Korean (nori)
1138
- SEARCH_QUERY_LANGUAGE_TH = 4; // Thai
1139
- SEARCH_QUERY_LANGUAGE_AR = 5; // Arabic
1140
- }
1141
-
1142
- // Shared request params for paginated methods
1143
- message SearchParams {
1144
- string query = 1;
1145
- string viewer = 2;
1146
-
1147
- // Pagination
1148
- int32 limit = 3;
1149
- string cursor = 4;
1150
- }
1151
-
1152
- // Shared params for typeahead-style searches, which aren't paginated.
1153
- message SearchTypeaheadParams {
1154
- string query = 1;
1155
- string viewer = 2;
1156
- int32 limit = 3;
1157
- }
1158
-
1159
- // Shared result types
1160
-
1161
- // SearchRecordResult represents a generic result hit corresponding to a record.
1162
- message SearchRecordResult {
1163
- // AT URI of the record, e.g. "at://did:example:alice/app.bsky.feed.post/12345"
1164
- string uri = 1;
1165
- double score = 2;
1166
- }
1167
-
1168
- message SearchActorResult {
1169
- string did = 1;
1170
- double score = 2;
1171
- }
1172
-
1173
- message PageInfo {
1174
- string cursor = 1;
1175
- int64 hits_total = 2;
1176
- }
1177
-
1178
- // Search queries
1179
-
1180
- // PostFilters are logical filters that should be used to match or exclude posts.
1181
- // Each repeated field is applied as OR within the field with all fields applied together as AND.
1182
- // example:
1183
- // filters: {
1184
- // authors: [alice, bob]
1185
- // mentions: [carol]
1186
- // }
1187
- // => (author is alice OR bob) AND (mentions carol)
1188
- //
1189
- message PostsFilters {
1190
- // Author/mention filters
1191
- repeated string authors = 1;
1192
- repeated string mentions = 2;
1193
-
1194
- // Content filters
1195
- repeated string domains = 3;
1196
- repeated string urls = 4;
1197
- // Canonical request field for posts embedding these AT-URI records.
1198
- repeated string embedded_at_uris = 5;
1199
- repeated string hashtags = 6;
1200
- // Filter posts in any of these languages
1201
- // Supports 2-char ISO prefixes ("en", "ja", "fr", etc) and compares against
1202
- // the 2-char prefix of any `langs` field values of the post record.
1203
- // e.g. a post with langs=["en-US", "fr"] matches ["en"] or ["fr", "ja"] but not ["ja"].
1204
- repeated string languages = 7;
1205
- }
1206
-
1207
- message SearchPostsV2Request {
1208
- // Required fields
1209
- SearchParams params = 1;
1210
- SearchSortOrder sort = 2;
1211
-
1212
- // Logical filters and exclude fields applied together as AND
1213
- //
1214
- // filters: include posts matching the filters
1215
- PostsFilters filters = 3;
1216
-
1217
- // Exclude filters: exclude posts matching the filters
1218
- PostsFilters exclude = 4;
1219
-
1220
- // Date range filters
1221
- optional google.protobuf.Timestamp since = 5;
1222
- optional google.protobuf.Timestamp until = 6; // defaults to "now"
1223
- // If false, will only query against last 30 days of posts
1224
- // so `since` and `until` will silently be capped
1225
- optional bool all_time = 7;
1226
-
1227
- // Media filters
1228
- optional bool has_media = 8;
1229
- optional bool has_video = 9;
1230
-
1231
- // Reply filters
1232
- optional string reply_parent_uri = 10;
1233
- optional string thread_root_uri = 11;
1234
- optional bool exclude_replies = 12;
1235
- optional bool replies_only = 13;
1236
-
1237
- // Social filters
1238
- optional bool following = 14;
1239
-
1240
- // Query analysis hint — forces a specific language analyzer.
1241
- // Auto-detects from query text when unset.
1242
- optional SearchQueryLanguage query_language = 15;
1243
- }
1244
-
1245
- message SearchPostsV2Response {
1246
- repeated SearchRecordResult posts = 1;
1247
- PageInfo page_info = 2;
1248
- // Detected CJK/Thai/Arabic languages of the query, usually one. Han-only text
1249
- // returns ["zh", "ja"] since it's ambiguous between Chinese and Japanese.
1250
- // set query_language on the request to disambiguate.
1251
- // Currently left empty for other scripts (e.g. Latin-based languages like English).
1252
- repeated string detected_query_languages = 3;
1253
- }
1254
-
1255
- message SearchActorsV2Request {
1256
- SearchParams params = 1;
1257
- }
1258
-
1259
- message SearchActorsV2Response {
1260
- repeated SearchActorResult actors = 1;
1261
- PageInfo page_info = 2;
1262
- }
1263
-
1264
- message SearchActorsTypeaheadRequest {
1265
- SearchTypeaheadParams params = 1;
1266
- }
1267
-
1268
- message SearchActorsTypeaheadResponse {
1269
- repeated SearchActorResult actors = 1;
1270
- }
1271
-
1272
- message SearchFeedGeneratorsV2Request {
1273
- SearchParams params = 1;
1274
- }
1275
-
1276
- message SearchFeedGeneratorsV2Response {
1277
- repeated SearchRecordResult feed_generators = 1;
1278
- PageInfo page_info = 2;
1279
- }
1280
-
1281
- message SearchStarterPacksV2Request {
1282
- SearchParams params = 1;
1283
- }
1284
-
1285
- message SearchStarterPacksV2Response {
1286
- repeated SearchRecordResult starter_packs = 1;
1287
- PageInfo page_info = 2;
1288
- }
1289
-
1290
- //
1291
- // Suggestions
1292
- //
1293
-
1294
- // - Return DIDs of suggested follows for a user, excluding anyone they already follow
1295
- // - `getSuggestions`, `getSuggestedFollowsByActor`
1296
- message GetFollowSuggestionsRequest {
1297
- string actor_did = 1;
1298
- string relative_to_did = 2;
1299
- int32 limit = 3;
1300
- string cursor = 4;
1301
- }
1302
-
1303
- message GetFollowSuggestionsResponse {
1304
- repeated string dids = 1;
1305
- string cursor = 2;
1306
- }
1307
-
1308
- message SuggestedEntity {
1309
- string tag = 1;
1310
- string subject = 2;
1311
- string subject_type = 3;
1312
- int64 priority = 4;
1313
- }
1314
-
1315
- message GetSuggestedEntitiesRequest {
1316
- int32 limit = 1;
1317
- string cursor = 2;
1318
- }
1319
-
1320
- message GetSuggestedEntitiesResponse {
1321
- repeated SuggestedEntity entities = 1;
1322
- string cursor = 2;
1323
- }
1324
-
1325
- //
1326
- // Labels
1327
- //
1328
-
1329
- // - Get all labels on a subjects A, B, C (uri or did) issued by dids D, E, F…
1330
- // - label hydration on nearly every view
1331
- message GetLabelsRequest {
1332
- repeated string subjects = 1;
1333
- repeated string issuers = 2;
1334
- }
1335
-
1336
- message GetLabelsResponse {
1337
- repeated bytes labels = 1;
1338
- }
1339
-
1340
- //
1341
- // Starter packs
1342
- //
1343
-
1344
- message GetActorStarterPacksRequest {
1345
- string actor_did = 1;
1346
- int32 limit = 2;
1347
- string cursor = 3;
1348
- }
1349
-
1350
- message GetActorStarterPacksResponse {
1351
- repeated string uris = 1;
1352
- string cursor = 2;
1353
- }
1354
-
1355
- //
1356
- // Sync
1357
- //
1358
-
1359
- // - Latest repo rev of user w/ DID
1360
- // - Read-after-write header in`getProfile`, `getProfiles`, `getActorLikes`, `getAuthorFeed`, `getListFeed`, `getPostThread`, `getTimeline`. Could it be view dependent?
1361
- message GetLatestRevRequest {
1362
- string actor_did = 1;
1363
- }
1364
-
1365
- message GetLatestRevResponse {
1366
- string rev = 1;
1367
- }
1368
-
1369
-
1370
- message GetIdentityByDidRequest {
1371
- string did = 1;
1372
- }
1373
- message GetIdentityByDidResponse {
1374
- string did = 1;
1375
- string handle = 2;
1376
- bytes keys = 3;
1377
- bytes services = 4;
1378
- google.protobuf.Timestamp updated = 5;
1379
- }
1380
-
1381
- message GetIdentityByHandleRequest {
1382
- string handle = 1;
1383
- }
1384
- message GetIdentityByHandleResponse {
1385
- string handle = 1;
1386
- string did = 2;
1387
- bytes keys = 3;
1388
- bytes services = 4;
1389
- google.protobuf.Timestamp updated = 5;
1390
- }
1391
-
1392
-
1393
-
1394
- //
1395
- // Moderation
1396
- //
1397
-
1398
- message GetBlobTakedownRequest {
1399
- string did = 1;
1400
- string cid = 2;
1401
- }
1402
-
1403
- message GetBlobTakedownResponse {
1404
- bool taken_down = 1;
1405
- string takedown_ref = 2;
1406
- }
1407
-
1408
-
1409
-
1410
- message GetActorTakedownRequest {
1411
- string did = 1;
1412
- }
1413
-
1414
- message GetActorTakedownResponse {
1415
- bool taken_down = 1;
1416
- string takedown_ref = 2;
1417
- }
1418
-
1419
- message GetRecordTakedownRequest {
1420
- string record_uri = 1;
1421
- }
1422
-
1423
- message GetRecordTakedownResponse {
1424
- bool taken_down = 1;
1425
- string takedown_ref = 2;
1426
- }
1427
-
1428
-
1429
- //
1430
- // Bookmarks
1431
- //
1432
- message Bookmark {
1433
- StashRef ref = 1;
1434
- string subject_uri = 2;
1435
- string subject_cid = 3;
1436
- google.protobuf.Timestamp indexed_at = 4;
1437
- }
1438
-
1439
- message GetBookmarksByActorAndSubjectsRequest {
1440
- string actor_did = 1;
1441
- repeated string uris = 2;
1442
- }
1443
-
1444
- message GetBookmarksByActorAndSubjectsResponse {
1445
- repeated Bookmark bookmarks = 1;
1446
- }
1447
-
1448
- message GetActorBookmarksRequest {
1449
- string actor_did = 1;
1450
- int32 limit = 2;
1451
- string cursor = 3;
1452
- }
1453
-
1454
- message BookmarkInfo {
1455
- string key = 1; // stash key
1456
- string subject = 2;
1457
- }
1458
-
1459
- message GetActorBookmarksResponse {
1460
- repeated BookmarkInfo bookmarks = 1;
1461
- string cursor = 2;
1462
- }
1463
-
1464
- //
1465
- // Drafts
1466
- //
1467
-
1468
-
1469
- message GetActorDraftsRequest {
1470
- string actor_did = 1;
1471
- int32 limit = 2;
1472
- string cursor = 3;
1473
- }
1474
-
1475
- message DraftInfo {
1476
- string key = 1; // stash key
1477
- google.protobuf.Timestamp created_at = 2;
1478
- google.protobuf.Timestamp updated_at = 3;
1479
- bytes payload = 4;
1480
- }
1481
-
1482
- message GetActorDraftsResponse {
1483
- repeated DraftInfo drafts = 1;
1484
- string cursor = 2;
1485
- }
1486
-
1487
-
1488
- // Polo-backed Graph Endpoints
1489
-
1490
-
1491
-
1492
- // GetFollowsFollowing gets the list of DIDs that the actor follows that also follow the targets
1493
- message GetFollowsFollowingRequest {
1494
- string actor_did = 1;
1495
- repeated string target_dids = 2;
1496
- }
1497
-
1498
- message FollowsFollowing {
1499
- string target_did = 1;
1500
- repeated string dids = 2;
1501
- }
1502
-
1503
- message GetFollowsFollowingResponse {
1504
- repeated FollowsFollowing results = 1;
1505
- }
1506
-
1507
- message GetSitemapIndexRequest {
1508
- SitemapPageType type = 1;
1509
- }
1510
-
1511
- message GetSitemapIndexResponse {
1512
- // GZIP compressed XML sitemap
1513
- bytes sitemap = 1;
1514
- }
1515
-
1516
- // Sitemap HTTP paths are typically of the form `/type/yyyy-mm-dd/N.xml.gz`, i.e. `/users/2025-01-01/1.xml.gz`
1517
- message GetSitemapPageRequest {
1518
- SitemapPageType type = 1;
1519
- google.protobuf.Timestamp date = 2;
1520
- // One-indexed
1521
- int32 bucket = 3;
1522
- }
1523
-
1524
- enum SitemapPageType {
1525
- SITEMAP_PAGE_TYPE_UNSPECIFIED = 0;
1526
- SITEMAP_PAGE_TYPE_USER = 1;
1527
- }
1528
-
1529
- message GetSitemapPageResponse {
1530
- // GZIP compressed XML sitemap
1531
- bytes sitemap = 1;
1532
- }
1533
-
1534
- // Ping
1535
- message PingRequest {}
1536
- message PingResponse {}
1537
-
1538
- message StashRef {
1539
- string actor_did = 1;
1540
- string namespace = 2;
1541
- string key = 3;
1542
- }
1543
-
1544
- // Standard.site records
1545
- message GetSiteStandardRecordsByURIRequest {
1546
- // Mixed list of site.standard.document and site.standard.publication AT-URIs.
1547
- // URIs of other collections (or unparseable strings) are silently skipped.
1548
- repeated string uris = 1;
1549
- }
1550
- message GetSiteStandardRecordsByURIResponse {
1551
- // Latest indexed version of each requested document.
1552
- repeated SiteStandardRecord documents = 1;
1553
- // Latest indexed version of each requested publication AND each publication
1554
- // resolved from a document's `site` field. Each publication appears at most
1555
- // once across the two sources.
1556
- repeated SiteStandardRecord publications = 2;
1557
- }
1558
- message GetSiteStandardRecordsByRefRequest {
1559
- // Mixed list of site.standard.document and site.standard.publication refs
1560
- // (uri + cid). Refs whose URI is not a SiteStandard collection (or doesn't
1561
- // parse) are silently skipped.
1562
- repeated RecordRef refs = 1;
1563
- }
1564
- message GetSiteStandardRecordsByRefResponse {
1565
- // Document version exactly matching each requested doc ref.
1566
- repeated SiteStandardRecord documents = 1;
1567
- // Publication version exactly matching each requested pub ref. This RPC
1568
- // does NOT auto-resolve publications referenced by documents — callers who
1569
- // want a paired publication should pass its ref explicitly.
1570
- repeated SiteStandardRecord publications = 2;
1571
- }
1572
-
1573
- // SiteStandardRecord pairs a record with its addressing ref so callers can
1574
- // build a uri- or (uri,cid)-keyed lookup without server-side encoding.
1575
- message SiteStandardRecord {
1576
- RecordRef ref = 1;
1577
- Record record = 2;
1578
- }
1579
-
1580
- service Service {
1581
- //
1582
- // Read Path
1583
- //
1584
-
1585
- // Records
1586
- rpc GetBlockRecords(GetBlockRecordsRequest) returns (GetBlockRecordsResponse);
1587
- rpc GetFeedGeneratorRecords(GetFeedGeneratorRecordsRequest) returns (GetFeedGeneratorRecordsResponse);
1588
- rpc GetFollowRecords(GetFollowRecordsRequest) returns (GetFollowRecordsResponse);
1589
- rpc GetLikeRecords(GetLikeRecordsRequest) returns (GetLikeRecordsResponse);
1590
- rpc GetListBlockRecords(GetListBlockRecordsRequest) returns (GetListBlockRecordsResponse);
1591
- rpc GetListItemRecords(GetListItemRecordsRequest) returns (GetListItemRecordsResponse);
1592
- rpc GetListRecords(GetListRecordsRequest) returns (GetListRecordsResponse);
1593
- rpc GetPostRecords(GetPostRecordsRequest) returns (GetPostRecordsResponse);
1594
- rpc GetProfileRecords(GetProfileRecordsRequest) returns (GetProfileRecordsResponse);
1595
- rpc GetActorChatDeclarationRecords(GetActorChatDeclarationRecordsRequest) returns (GetActorChatDeclarationRecordsResponse);
1596
- rpc GetNotificationDeclarationRecords(GetNotificationDeclarationRecordsRequest) returns (GetNotificationDeclarationRecordsResponse);
1597
- rpc GetGermDeclarationRecords(GetGermDeclarationRecordsRequest) returns (GetGermDeclarationRecordsResponse);
1598
- rpc GetStatusRecords(GetStatusRecordsRequest) returns (GetStatusRecordsResponse);
1599
- rpc GetRepostRecords(GetRepostRecordsRequest) returns (GetRepostRecordsResponse);
1600
- rpc GetThreadGateRecords(GetThreadGateRecordsRequest) returns (GetThreadGateRecordsResponse);
1601
- rpc GetPostgateRecords(GetPostgateRecordsRequest) returns (GetPostgateRecordsResponse);
1602
- rpc GetLabelerRecords(GetLabelerRecordsRequest) returns (GetLabelerRecordsResponse);
1603
- rpc GetStarterPackRecords(GetStarterPackRecordsRequest) returns (GetStarterPackRecordsResponse);
1604
-
1605
- // Follows
1606
- rpc GetActorFollowsActors(GetActorFollowsActorsRequest) returns (GetActorFollowsActorsResponse);
1607
- rpc GetFollowers(GetFollowersRequest) returns (GetFollowersResponse);
1608
- rpc GetFollows(GetFollowsRequest) returns (GetFollowsResponse);
1609
-
1610
- // Verifications
1611
- rpc GetVerificationRecords(GetVerificationRecordsRequest) returns (GetVerificationRecordsResponse);
1612
- rpc GetVerificationsIssued(GetVerificationsIssuedRequest) returns (GetVerificationsIssuedResponse);
1613
- rpc GetVerificationsReceived(GetVerificationsReceivedRequest) returns (GetVerificationsReceivedResponse);
1614
-
1615
- // Likes
1616
- rpc GetLikesBySubject(GetLikesBySubjectRequest) returns (GetLikesBySubjectResponse);
1617
- rpc GetLikesBySubjectSorted(GetLikesBySubjectSortedRequest) returns (GetLikesBySubjectSortedResponse);
1618
- rpc GetLikesByActorAndSubjects(GetLikesByActorAndSubjectsRequest) returns (GetLikesByActorAndSubjectsResponse);
1619
- rpc GetActorLikes(GetActorLikesRequest) returns (GetActorLikesResponse);
1620
-
1621
- // Reposts
1622
- rpc GetRepostsBySubject(GetRepostsBySubjectRequest) returns (GetRepostsBySubjectResponse);
1623
- rpc GetRepostsByActorAndSubjects(GetRepostsByActorAndSubjectsRequest) returns (GetRepostsByActorAndSubjectsResponse);
1624
- rpc GetActorReposts(GetActorRepostsRequest) returns (GetActorRepostsResponse);
1625
-
1626
- // Quotes
1627
- rpc GetQuotesBySubjectSorted(GetQuotesBySubjectSortedRequest) returns (GetQuotesBySubjectSortedResponse);
1628
-
1629
- // Interaction Counts
1630
- rpc GetInteractionCounts(GetInteractionCountsRequest) returns (GetInteractionCountsResponse);
1631
- rpc GetCountsForUsers(GetCountsForUsersRequest) returns (GetCountsForUsersResponse);
1632
- rpc GetStarterPackCounts(GetStarterPackCountsRequest) returns (GetStarterPackCountsResponse);
1633
- rpc GetListCounts(GetListCountsRequest) returns (GetListCountsResponse);
1634
- rpc GetNewUserCountForRange(GetNewUserCountForRangeRequest) returns (GetNewUserCountForRangeResponse);
1635
-
1636
- // Profile
1637
- rpc GetActors(GetActorsRequest) returns (GetActorsResponse);
1638
- rpc GetDidsByHandles(GetDidsByHandlesRequest) returns (GetDidsByHandlesResponse);
1639
-
1640
- // Relationships
1641
- rpc GetRelationships(GetRelationshipsRequest) returns (GetRelationshipsResponse);
1642
- rpc GetBlockExistence(GetBlockExistenceRequest) returns (GetBlockExistenceResponse);
1643
-
1644
- // Lists
1645
- rpc GetActorLists(GetActorListsRequest) returns (GetActorListsResponse);
1646
- rpc GetListMembers(GetListMembersRequest) returns (GetListMembersResponse);
1647
- rpc GetListMembership(GetListMembershipRequest) returns (GetListMembershipResponse);
1648
- rpc GetListCount(GetListCountRequest) returns (GetListCountResponse);
1649
-
1650
- // Mutes
1651
- rpc GetActorMutesActor(GetActorMutesActorRequest) returns (GetActorMutesActorResponse);
1652
- rpc GetMutes(GetMutesRequest) returns (GetMutesResponse);
1653
-
1654
- // Mutelists
1655
- rpc GetActorMutesActorViaList(GetActorMutesActorViaListRequest) returns (GetActorMutesActorViaListResponse);
1656
- rpc GetMutelistSubscription(GetMutelistSubscriptionRequest) returns (GetMutelistSubscriptionResponse);
1657
- rpc GetMutelistSubscriptions(GetMutelistSubscriptionsRequest) returns (GetMutelistSubscriptionsResponse);
1658
-
1659
- // Thread Mutes
1660
- rpc GetThreadMutesOnSubjects(GetThreadMutesOnSubjectsRequest) returns (GetThreadMutesOnSubjectsResponse);
1661
-
1662
- // Blocks
1663
- rpc GetBidirectionalBlock(GetBidirectionalBlockRequest) returns (GetBidirectionalBlockResponse);
1664
- rpc GetBlocks(GetBlocksRequest) returns (GetBlocksResponse);
1665
-
1666
- // Blocklists
1667
- rpc GetBidirectionalBlockViaList(GetBidirectionalBlockViaListRequest) returns (GetBidirectionalBlockViaListResponse);
1668
- rpc GetBlocklistSubscription(GetBlocklistSubscriptionRequest) returns (GetBlocklistSubscriptionResponse);
1669
- rpc GetBlocklistSubscriptions(GetBlocklistSubscriptionsRequest) returns (GetBlocklistSubscriptionsResponse);
1670
-
1671
- // Notifications
1672
- rpc GetNotificationPreferences(GetNotificationPreferencesRequest) returns (GetNotificationPreferencesResponse);
1673
- rpc GetNotifications(GetNotificationsRequest) returns (GetNotificationsResponse);
1674
- rpc GetNotificationSeen(GetNotificationSeenRequest) returns (GetNotificationSeenResponse);
1675
- rpc GetUnreadNotificationCount(GetUnreadNotificationCountRequest) returns (GetUnreadNotificationCountResponse);
1676
- rpc GetActivitySubscriptionDids(GetActivitySubscriptionDidsRequest) returns (GetActivitySubscriptionDidsResponse);
1677
- rpc GetActivitySubscriptionsByActorAndSubjects(GetActivitySubscriptionsByActorAndSubjectsRequest) returns (GetActivitySubscriptionsByActorAndSubjectsResponse);
1678
- rpc UpdateNotificationSeen(UpdateNotificationSeenRequest) returns (UpdateNotificationSeenResponse);
1679
-
1680
- // FeedGenerators
1681
- rpc GetActorFeeds(GetActorFeedsRequest) returns (GetActorFeedsResponse);
1682
- rpc GetSuggestedFeeds(GetSuggestedFeedsRequest) returns (GetSuggestedFeedsResponse);
1683
- rpc GetFeedGeneratorStatus(GetFeedGeneratorStatusRequest) returns (GetFeedGeneratorStatusResponse);
1684
- rpc SearchFeedGenerators(SearchFeedGeneratorsRequest) returns (SearchFeedGeneratorsResponse);
1685
-
1686
- // Feeds
1687
- rpc GetAuthorFeed(GetAuthorFeedRequest) returns (GetAuthorFeedResponse);
1688
- rpc GetTimeline(GetTimelineRequest) returns (GetTimelineResponse);
1689
- rpc GetListFeed(GetListFeedRequest) returns (GetListFeedResponse);
1690
-
1691
- // Threads
1692
- rpc GetThread(GetThreadRequest) returns (GetThreadResponse);
1693
-
1694
- // Search (V1)
1695
- rpc SearchActors(SearchActorsRequest) returns (SearchActorsResponse);
1696
- rpc SearchPosts(SearchPostsRequest) returns (SearchPostsResponse);
1697
- rpc SearchStarterPacks(SearchStarterPacksRequest) returns (SearchStarterPacksResponse);
1698
-
1699
- // Search V2
1700
- rpc SearchPostsV2(SearchPostsV2Request) returns (SearchPostsV2Response);
1701
- rpc SearchActorsV2(SearchActorsV2Request) returns (SearchActorsV2Response);
1702
- rpc SearchActorsTypeahead(SearchActorsTypeaheadRequest) returns (SearchActorsTypeaheadResponse);
1703
- rpc SearchFeedGeneratorsV2(SearchFeedGeneratorsV2Request) returns (SearchFeedGeneratorsV2Response);
1704
- rpc SearchStarterPacksV2(SearchStarterPacksV2Request) returns (SearchStarterPacksV2Response);
1705
-
1706
- // Suggestions
1707
- rpc GetFollowSuggestions(GetFollowSuggestionsRequest) returns (GetFollowSuggestionsResponse);
1708
- rpc GetSuggestedEntities(GetSuggestedEntitiesRequest) returns (GetSuggestedEntitiesResponse);
1709
-
1710
- // Labels
1711
- rpc GetLabels(GetLabelsRequest) returns (GetLabelsResponse);
1712
- rpc GetAllLabelers(GetAllLabelersRequest) returns (GetAllLabelersResponse);
1713
-
1714
- // Starter packs
1715
- rpc GetActorStarterPacks(GetActorStarterPacksRequest) returns (GetActorStarterPacksResponse);
1716
-
1717
- // Sync
1718
- rpc GetLatestRev(GetLatestRevRequest) returns (GetLatestRevResponse);
1719
-
1720
- // Moderation
1721
- rpc GetBlobTakedown(GetBlobTakedownRequest) returns (GetBlobTakedownResponse);
1722
- rpc GetRecordTakedown(GetRecordTakedownRequest) returns (GetRecordTakedownResponse);
1723
- rpc GetActorTakedown(GetActorTakedownRequest) returns (GetActorTakedownResponse);
1724
-
1725
- // Bookmarks
1726
- // Returns bookmarks created by the actor for the specified URIs.
1727
- rpc GetBookmarksByActorAndSubjects(GetBookmarksByActorAndSubjectsRequest) returns (GetBookmarksByActorAndSubjectsResponse);
1728
- // Returns the bookmarks created by the actor.
1729
- rpc GetActorBookmarks(GetActorBookmarksRequest) returns (GetActorBookmarksResponse);
1730
-
1731
- // Drafts
1732
- // Returns a page of drafts for a user.
1733
- rpc GetActorDrafts(GetActorDraftsRequest) returns (GetActorDraftsResponse);
1734
-
1735
- // Identity
1736
- rpc GetIdentityByDid(GetIdentityByDidRequest) returns (GetIdentityByDidResponse);
1737
- rpc GetIdentityByHandle(GetIdentityByHandleRequest) returns (GetIdentityByHandleResponse);
1738
-
1739
- // Graph
1740
- rpc GetFollowsFollowing(GetFollowsFollowingRequest) returns (GetFollowsFollowingResponse);
1741
-
1742
- // Sitemaps
1743
- rpc GetSitemapIndex(GetSitemapIndexRequest) returns (GetSitemapIndexResponse);
1744
- rpc GetSitemapPage(GetSitemapPageRequest) returns (GetSitemapPageResponse);
1745
-
1746
- // Ping
1747
- rpc Ping(PingRequest) returns (PingResponse);
1748
-
1749
-
1750
-
1751
-
1752
- //
1753
- // Write Path
1754
- //
1755
-
1756
- // Moderation
1757
- rpc TakedownBlob(TakedownBlobRequest) returns (TakedownBlobResponse);
1758
- rpc TakedownRecord(TakedownRecordRequest) returns (TakedownRecordResponse);
1759
- rpc TakedownActor(TakedownActorRequest) returns (TakedownActorResponse);
1760
- rpc UpdateActorUpstreamStatus(UpdateActorUpstreamStatusRequest) returns (UpdateActorUpstreamStatusResponse);
1761
-
1762
- rpc UntakedownBlob(UntakedownBlobRequest) returns (UntakedownBlobResponse);
1763
- rpc UntakedownRecord(UntakedownRecordRequest) returns (UntakedownRecordResponse);
1764
- rpc UntakedownActor(UntakedownActorRequest) returns (UntakedownActorResponse);
1765
-
1766
- // Ingestion
1767
- rpc CreateActorMute(CreateActorMuteRequest) returns (CreateActorMuteResponse);
1768
- rpc DeleteActorMute(DeleteActorMuteRequest) returns (DeleteActorMuteResponse);
1769
- rpc ClearActorMutes(ClearActorMutesRequest) returns (ClearActorMutesResponse);
1770
-
1771
- rpc CreateActorMutelistSubscription(CreateActorMutelistSubscriptionRequest) returns (CreateActorMutelistSubscriptionResponse);
1772
- rpc DeleteActorMutelistSubscription(DeleteActorMutelistSubscriptionRequest) returns (DeleteActorMutelistSubscriptionResponse);
1773
- rpc ClearActorMutelistSubscriptions(ClearActorMutelistSubscriptionsRequest) returns (ClearActorMutelistSubscriptionsResponse);
1774
-
1775
- rpc CreateThreadMute(CreateThreadMuteRequest) returns (CreateThreadMuteResponse);
1776
- rpc DeleteThreadMute(DeleteThreadMuteRequest) returns (DeleteThreadMuteResponse);
1777
- rpc ClearThreadMutes(ClearThreadMutesRequest) returns (ClearThreadMutesResponse);
1778
-
1779
- // Standard.site records
1780
- rpc GetSiteStandardRecordsByURI(GetSiteStandardRecordsByURIRequest) returns (GetSiteStandardRecordsByURIResponse);
1781
- rpc GetSiteStandardRecordsByRef(GetSiteStandardRecordsByRefRequest) returns (GetSiteStandardRecordsByRefResponse);
1782
- }
1783
-
1784
-
1785
- //
1786
- // Write Path
1787
- //
1788
-
1789
- message UpdateActorUpstreamStatusRequest {
1790
- string actor_did = 1;
1791
- bool active = 2;
1792
- string upstream_status = 3;
1793
- }
1794
-
1795
- message UpdateActorUpstreamStatusResponse {
1796
- }
1797
-
1798
- message TakedownActorRequest {
1799
- string did = 1;
1800
- string ref = 2;
1801
- google.protobuf.Timestamp seen = 3;
1802
- }
1803
-
1804
- message TakedownActorResponse {
1805
- }
1806
-
1807
- message UntakedownActorRequest {
1808
- string did = 1;
1809
- google.protobuf.Timestamp seen = 2;
1810
- }
1811
-
1812
- message UntakedownActorResponse {
1813
- }
1814
-
1815
- message TakedownBlobRequest {
1816
- string did = 1;
1817
- string cid = 2;
1818
- string ref = 3;
1819
- google.protobuf.Timestamp seen = 4;
1820
- }
1821
-
1822
- message TakedownBlobResponse {}
1823
-
1824
- message UntakedownBlobRequest {
1825
- string did = 1;
1826
- string cid = 2;
1827
- google.protobuf.Timestamp seen = 3;
1828
- }
1829
-
1830
- message UntakedownBlobResponse {}
1831
-
1832
- message TakedownRecordRequest {
1833
- string record_uri = 1;
1834
- string ref = 2;
1835
- google.protobuf.Timestamp seen = 3;
1836
- }
1837
-
1838
- message TakedownRecordResponse {
1839
- }
1840
-
1841
- message UntakedownRecordRequest {
1842
- string record_uri = 1;
1843
- google.protobuf.Timestamp seen = 2;
1844
- }
1845
-
1846
- message UntakedownRecordResponse {
1847
- }
1848
-
1849
- message CreateActorMuteRequest {
1850
- string actor_did = 1;
1851
- string subject_did = 2;
1852
- }
1853
-
1854
- message CreateActorMuteResponse {}
1855
-
1856
- message DeleteActorMuteRequest {
1857
- string actor_did = 1;
1858
- string subject_did = 2;
1859
- }
1860
-
1861
- message DeleteActorMuteResponse {}
1862
-
1863
- message ClearActorMutesRequest {
1864
- string actor_did = 1;
1865
- }
1866
-
1867
- message ClearActorMutesResponse {}
1868
-
1869
- message CreateActorMutelistSubscriptionRequest {
1870
- string actor_did = 1;
1871
- string subject_uri = 2;
1872
- }
1873
-
1874
- message CreateActorMutelistSubscriptionResponse {}
1875
-
1876
- message DeleteActorMutelistSubscriptionRequest {
1877
- string actor_did = 1;
1878
- string subject_uri = 2;
1879
- }
1880
-
1881
- message DeleteActorMutelistSubscriptionResponse {}
1882
-
1883
- message ClearActorMutelistSubscriptionsRequest {
1884
- string actor_did = 1;
1885
- }
1886
-
1887
- message ClearActorMutelistSubscriptionsResponse {}
1888
-
1889
- message CreateThreadMuteRequest {
1890
- string actor_did = 1;
1891
- string thread_root = 2;
1892
- }
1893
-
1894
- message CreateThreadMuteResponse {}
1895
-
1896
- message DeleteThreadMuteRequest {
1897
- string actor_did = 1;
1898
- string thread_root = 2;
1899
- }
1900
-
1901
- message DeleteThreadMuteResponse {}
1902
-
1903
- message ClearThreadMutesRequest {
1904
- string actor_did = 1;
1905
- }
1906
-
1907
- message ClearThreadMutesResponse {}