@atproto/bsky 0.0.29 → 0.0.31
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 +15 -0
- package/dist/api/app/bsky/feed/getAuthorFeed.d.ts +1 -0
- package/dist/db/index.js +285 -15
- package/dist/db/index.js.map +3 -3
- package/dist/index.js +1010 -415
- package/dist/index.js.map +3 -3
- package/dist/lexicon/lexicons.d.ts +153 -5
- package/dist/lexicon/types/app/bsky/actor/defs.d.ts +1 -0
- package/dist/lexicon/types/app/bsky/actor/getPreferences.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/actor/getProfile.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/actor/getProfiles.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/actor/getSuggestions.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/actor/searchActors.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/actor/searchActorsTypeahead.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/describeFeedGenerator.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getActorFeeds.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getActorLikes.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getAuthorFeed.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getFeed.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getFeedGenerator.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getFeedGenerators.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getFeedSkeleton.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getLikes.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getListFeed.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getPostThread.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getPosts.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getRepostedBy.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getSuggestedFeeds.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/getTimeline.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/feed/searchPosts.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/graph/getBlocks.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/graph/getFollowers.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/graph/getFollows.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/graph/getList.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/graph/getListBlocks.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/graph/getListMutes.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/graph/getLists.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/graph/getMutes.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/graph/getRelationships.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/notification/getUnreadCount.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/notification/listNotifications.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.d.ts +2 -2
- package/dist/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/createCommunicationTemplate.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/defs.d.ts +9 -0
- package/dist/lexicon/types/com/atproto/admin/emitModerationEvent.d.ts +3 -3
- package/dist/lexicon/types/com/atproto/admin/getAccountInfo.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/getAccountInfos.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/getInviteCodes.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/getModerationEvent.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/getRecord.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/getRepo.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/getSubjectStatus.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/listCommunicationTemplates.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/queryModerationEvents.d.ts +4 -2
- package/dist/lexicon/types/com/atproto/admin/queryModerationStatuses.d.ts +4 -2
- package/dist/lexicon/types/com/atproto/admin/searchRepos.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/sendEmail.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/updateCommunicationTemplate.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/admin/updateSubjectStatus.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/identity/resolveHandle.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/label/queryLabels.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/moderation/createReport.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/repo/createRecord.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/repo/describeRepo.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/repo/getRecord.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/repo/listRecords.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/repo/putRecord.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/repo/uploadBlob.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/createAccount.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/createAppPassword.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/createInviteCode.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/createInviteCodes.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/createSession.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/describeServer.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/getAccountInviteCodes.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/getSession.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/listAppPasswords.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/refreshSession.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/requestEmailUpdate.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/server/reserveSigningKey.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/sync/getBlob.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/sync/getBlocks.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/sync/getCheckout.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/sync/getHead.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/sync/getLatestCommit.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/sync/getRecord.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/sync/getRepo.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/sync/listBlobs.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/sync/listRepos.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/temp/checkSignupQueue.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/temp/fetchLabels.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/temp/importRepo.d.ts +2 -2
- package/dist/lexicon/types/com/atproto/temp/transferAccount.d.ts +2 -2
- package/dist/services/feed/index.d.ts +2 -1
- package/package.json +7 -7
- package/src/api/app/bsky/feed/getAuthorFeed.ts +12 -4
- package/src/lexicon/lexicons.ts +401 -123
- package/src/lexicon/types/app/bsky/actor/defs.ts +2 -0
- package/src/lexicon/types/app/bsky/actor/getPreferences.ts +2 -2
- package/src/lexicon/types/app/bsky/actor/getProfile.ts +3 -2
- package/src/lexicon/types/app/bsky/actor/getProfiles.ts +2 -2
- package/src/lexicon/types/app/bsky/actor/getSuggestions.ts +2 -2
- package/src/lexicon/types/app/bsky/actor/profile.ts +3 -0
- package/src/lexicon/types/app/bsky/actor/putPreferences.ts +1 -1
- package/src/lexicon/types/app/bsky/actor/searchActors.ts +2 -2
- package/src/lexicon/types/app/bsky/actor/searchActorsTypeahead.ts +2 -2
- package/src/lexicon/types/app/bsky/embed/external.ts +1 -0
- package/src/lexicon/types/app/bsky/embed/images.ts +4 -0
- package/src/lexicon/types/app/bsky/embed/record.ts +1 -0
- package/src/lexicon/types/app/bsky/feed/defs.ts +1 -0
- package/src/lexicon/types/app/bsky/feed/describeFeedGenerator.ts +2 -2
- package/src/lexicon/types/app/bsky/feed/getActorFeeds.ts +2 -2
- package/src/lexicon/types/app/bsky/feed/getActorLikes.ts +2 -2
- package/src/lexicon/types/app/bsky/feed/getAuthorFeed.ts +3 -2
- package/src/lexicon/types/app/bsky/feed/getFeed.ts +2 -2
- package/src/lexicon/types/app/bsky/feed/getFeedGenerator.ts +5 -2
- package/src/lexicon/types/app/bsky/feed/getFeedGenerators.ts +2 -2
- package/src/lexicon/types/app/bsky/feed/getFeedSkeleton.ts +3 -2
- package/src/lexicon/types/app/bsky/feed/getLikes.ts +4 -2
- package/src/lexicon/types/app/bsky/feed/getListFeed.ts +3 -2
- package/src/lexicon/types/app/bsky/feed/getPostThread.ts +5 -2
- package/src/lexicon/types/app/bsky/feed/getPosts.ts +3 -2
- package/src/lexicon/types/app/bsky/feed/getRepostedBy.ts +4 -2
- package/src/lexicon/types/app/bsky/feed/getSuggestedFeeds.ts +2 -2
- package/src/lexicon/types/app/bsky/feed/getTimeline.ts +3 -2
- package/src/lexicon/types/app/bsky/feed/post.ts +5 -1
- package/src/lexicon/types/app/bsky/feed/searchPosts.ts +2 -2
- package/src/lexicon/types/app/bsky/feed/threadgate.ts +1 -0
- package/src/lexicon/types/app/bsky/graph/block.ts +1 -0
- package/src/lexicon/types/app/bsky/graph/getBlocks.ts +2 -2
- package/src/lexicon/types/app/bsky/graph/getFollowers.ts +2 -2
- package/src/lexicon/types/app/bsky/graph/getFollows.ts +2 -2
- package/src/lexicon/types/app/bsky/graph/getList.ts +3 -2
- package/src/lexicon/types/app/bsky/graph/getListBlocks.ts +2 -2
- package/src/lexicon/types/app/bsky/graph/getListMutes.ts +2 -2
- package/src/lexicon/types/app/bsky/graph/getLists.ts +3 -2
- package/src/lexicon/types/app/bsky/graph/getMutes.ts +2 -2
- package/src/lexicon/types/app/bsky/graph/getRelationships.ts +4 -2
- package/src/lexicon/types/app/bsky/graph/getSuggestedFollowsByActor.ts +2 -2
- package/src/lexicon/types/app/bsky/graph/list.ts +1 -0
- package/src/lexicon/types/app/bsky/graph/listblock.ts +1 -0
- package/src/lexicon/types/app/bsky/graph/listitem.ts +2 -0
- package/src/lexicon/types/app/bsky/graph/muteActor.ts +1 -1
- package/src/lexicon/types/app/bsky/graph/muteActorList.ts +1 -1
- package/src/lexicon/types/app/bsky/graph/unmuteActor.ts +1 -1
- package/src/lexicon/types/app/bsky/graph/unmuteActorList.ts +1 -1
- package/src/lexicon/types/app/bsky/notification/getUnreadCount.ts +2 -2
- package/src/lexicon/types/app/bsky/notification/listNotifications.ts +2 -2
- package/src/lexicon/types/app/bsky/notification/registerPush.ts +1 -1
- package/src/lexicon/types/app/bsky/notification/updateSeen.ts +1 -1
- package/src/lexicon/types/app/bsky/richtext/facet.ts +5 -4
- package/src/lexicon/types/app/bsky/unspecced/getPopularFeedGenerators.ts +2 -2
- package/src/lexicon/types/app/bsky/unspecced/getTaggedSuggestions.ts +2 -2
- package/src/lexicon/types/app/bsky/unspecced/searchActorsSkeleton.ts +2 -2
- package/src/lexicon/types/app/bsky/unspecced/searchPostsSkeleton.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/createCommunicationTemplate.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/defs.ts +24 -0
- package/src/lexicon/types/com/atproto/admin/deleteAccount.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/deleteCommunicationTemplate.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/disableAccountInvites.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/disableInviteCodes.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/emitModerationEvent.ts +3 -2
- package/src/lexicon/types/com/atproto/admin/enableAccountInvites.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/getAccountInfo.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/getAccountInfos.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/getInviteCodes.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/getModerationEvent.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/getRecord.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/getRepo.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/getSubjectStatus.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/listCommunicationTemplates.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/queryModerationEvents.ts +6 -2
- package/src/lexicon/types/com/atproto/admin/queryModerationStatuses.ts +4 -2
- package/src/lexicon/types/com/atproto/admin/searchRepos.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/sendEmail.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/updateAccountEmail.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/updateAccountHandle.ts +1 -1
- package/src/lexicon/types/com/atproto/admin/updateCommunicationTemplate.ts +2 -2
- package/src/lexicon/types/com/atproto/admin/updateSubjectStatus.ts +2 -2
- package/src/lexicon/types/com/atproto/identity/resolveHandle.ts +2 -2
- package/src/lexicon/types/com/atproto/identity/updateHandle.ts +2 -1
- package/src/lexicon/types/com/atproto/label/queryLabels.ts +2 -2
- package/src/lexicon/types/com/atproto/label/subscribeLabels.ts +1 -1
- package/src/lexicon/types/com/atproto/moderation/createReport.ts +3 -2
- package/src/lexicon/types/com/atproto/repo/applyWrites.ts +7 -6
- package/src/lexicon/types/com/atproto/repo/createRecord.ts +6 -6
- package/src/lexicon/types/com/atproto/repo/deleteRecord.ts +3 -3
- package/src/lexicon/types/com/atproto/repo/describeRepo.ts +5 -2
- package/src/lexicon/types/com/atproto/repo/getRecord.ts +3 -3
- package/src/lexicon/types/com/atproto/repo/listRecords.ts +2 -2
- package/src/lexicon/types/com/atproto/repo/putRecord.ts +6 -6
- package/src/lexicon/types/com/atproto/repo/uploadBlob.ts +2 -2
- package/src/lexicon/types/com/atproto/server/confirmEmail.ts +1 -1
- package/src/lexicon/types/com/atproto/server/createAccount.ts +10 -2
- package/src/lexicon/types/com/atproto/server/createAppPassword.ts +3 -2
- package/src/lexicon/types/com/atproto/server/createInviteCode.ts +2 -2
- package/src/lexicon/types/com/atproto/server/createInviteCodes.ts +2 -2
- package/src/lexicon/types/com/atproto/server/createSession.ts +2 -2
- package/src/lexicon/types/com/atproto/server/deleteAccount.ts +1 -1
- package/src/lexicon/types/com/atproto/server/deleteSession.ts +1 -1
- package/src/lexicon/types/com/atproto/server/describeServer.ts +5 -2
- package/src/lexicon/types/com/atproto/server/getAccountInviteCodes.ts +3 -2
- package/src/lexicon/types/com/atproto/server/getSession.ts +2 -2
- package/src/lexicon/types/com/atproto/server/listAppPasswords.ts +2 -2
- package/src/lexicon/types/com/atproto/server/refreshSession.ts +2 -2
- package/src/lexicon/types/com/atproto/server/requestAccountDelete.ts +1 -1
- package/src/lexicon/types/com/atproto/server/requestEmailConfirmation.ts +1 -1
- package/src/lexicon/types/com/atproto/server/requestEmailUpdate.ts +2 -2
- package/src/lexicon/types/com/atproto/server/requestPasswordReset.ts +1 -1
- package/src/lexicon/types/com/atproto/server/reserveSigningKey.ts +4 -4
- package/src/lexicon/types/com/atproto/server/resetPassword.ts +1 -1
- package/src/lexicon/types/com/atproto/server/revokeAppPassword.ts +1 -1
- package/src/lexicon/types/com/atproto/server/updateEmail.ts +1 -1
- package/src/lexicon/types/com/atproto/sync/getBlob.ts +3 -3
- package/src/lexicon/types/com/atproto/sync/getBlocks.ts +2 -2
- package/src/lexicon/types/com/atproto/sync/getCheckout.ts +2 -2
- package/src/lexicon/types/com/atproto/sync/getHead.ts +2 -2
- package/src/lexicon/types/com/atproto/sync/getLatestCommit.ts +2 -2
- package/src/lexicon/types/com/atproto/sync/getRecord.ts +3 -2
- package/src/lexicon/types/com/atproto/sync/getRepo.ts +3 -3
- package/src/lexicon/types/com/atproto/sync/listBlobs.ts +2 -2
- package/src/lexicon/types/com/atproto/sync/listRepos.ts +3 -2
- package/src/lexicon/types/com/atproto/sync/notifyOfUpdate.ts +2 -2
- package/src/lexicon/types/com/atproto/sync/requestCrawl.ts +2 -2
- package/src/lexicon/types/com/atproto/sync/subscribeRepos.ts +17 -5
- package/src/lexicon/types/com/atproto/temp/checkSignupQueue.ts +2 -2
- package/src/lexicon/types/com/atproto/temp/fetchLabels.ts +2 -2
- package/src/lexicon/types/com/atproto/temp/importRepo.ts +2 -2
- package/src/lexicon/types/com/atproto/temp/pushBlob.ts +1 -1
- package/src/lexicon/types/com/atproto/temp/requestPhoneVerification.ts +1 -1
- package/src/lexicon/types/com/atproto/temp/transferAccount.ts +2 -2
- package/src/services/feed/index.ts +10 -4
- package/src/services/feed/views.ts +3 -1
- package/tests/auto-moderator/labeler.test.ts +2 -0
- package/tests/views/author-feed.test.ts +29 -9
package/dist/index.js
CHANGED
|
@@ -15145,7 +15145,7 @@ var require_object_inspect = __commonJS({
|
|
|
15145
15145
|
if (isBoolean2(obj)) {
|
|
15146
15146
|
return markBoxed(booleanValueOf.call(obj));
|
|
15147
15147
|
}
|
|
15148
|
-
if (
|
|
15148
|
+
if (isString3(obj)) {
|
|
15149
15149
|
return markBoxed(inspect(String(obj)));
|
|
15150
15150
|
}
|
|
15151
15151
|
if (!isDate2(obj) && !isRegExp(obj)) {
|
|
@@ -15184,7 +15184,7 @@ var require_object_inspect = __commonJS({
|
|
|
15184
15184
|
function isError(obj) {
|
|
15185
15185
|
return toStr(obj) === "[object Error]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
15186
15186
|
}
|
|
15187
|
-
function
|
|
15187
|
+
function isString3(obj) {
|
|
15188
15188
|
return toStr(obj) === "[object String]" && (!toStringTag || !(typeof obj === "object" && toStringTag in obj));
|
|
15189
15189
|
}
|
|
15190
15190
|
function isNumber2(obj) {
|
|
@@ -22265,13 +22265,13 @@ var require_implementation2 = __commonJS({
|
|
|
22265
22265
|
var isObject4 = object2 !== null && typeof object2 === "object";
|
|
22266
22266
|
var isFunction2 = toStr.call(object2) === "[object Function]";
|
|
22267
22267
|
var isArguments = isArgs(object2);
|
|
22268
|
-
var
|
|
22268
|
+
var isString3 = isObject4 && toStr.call(object2) === "[object String]";
|
|
22269
22269
|
var theKeys = [];
|
|
22270
22270
|
if (!isObject4 && !isFunction2 && !isArguments) {
|
|
22271
22271
|
throw new TypeError("Object.keys called on a non-object");
|
|
22272
22272
|
}
|
|
22273
22273
|
var skipProto = hasProtoEnumBug && isFunction2;
|
|
22274
|
-
if (
|
|
22274
|
+
if (isString3 && object2.length > 0 && !has.call(object2, 0)) {
|
|
22275
22275
|
for (var i = 0; i < object2.length; ++i) {
|
|
22276
22276
|
theKeys.push(String(i));
|
|
22277
22277
|
}
|
|
@@ -33942,7 +33942,7 @@ var require_lib4 = __commonJS({
|
|
|
33942
33942
|
preflightContinue: false,
|
|
33943
33943
|
optionsSuccessStatus: 204
|
|
33944
33944
|
};
|
|
33945
|
-
function
|
|
33945
|
+
function isString3(s) {
|
|
33946
33946
|
return typeof s === "string" || s instanceof String;
|
|
33947
33947
|
}
|
|
33948
33948
|
function isOriginAllowed(origin, allowedOrigin) {
|
|
@@ -33953,7 +33953,7 @@ var require_lib4 = __commonJS({
|
|
|
33953
33953
|
}
|
|
33954
33954
|
}
|
|
33955
33955
|
return false;
|
|
33956
|
-
} else if (
|
|
33956
|
+
} else if (isString3(allowedOrigin)) {
|
|
33957
33957
|
return origin === allowedOrigin;
|
|
33958
33958
|
} else if (allowedOrigin instanceof RegExp) {
|
|
33959
33959
|
return allowedOrigin.test(origin);
|
|
@@ -33968,7 +33968,7 @@ var require_lib4 = __commonJS({
|
|
|
33968
33968
|
key: "Access-Control-Allow-Origin",
|
|
33969
33969
|
value: "*"
|
|
33970
33970
|
}]);
|
|
33971
|
-
} else if (
|
|
33971
|
+
} else if (isString3(options.origin)) {
|
|
33972
33972
|
headers.push([{
|
|
33973
33973
|
key: "Access-Control-Allow-Origin",
|
|
33974
33974
|
value: options.origin
|
|
@@ -34568,7 +34568,7 @@ var require_utils4 = __commonJS({
|
|
|
34568
34568
|
}
|
|
34569
34569
|
return result;
|
|
34570
34570
|
}
|
|
34571
|
-
function
|
|
34571
|
+
function isString3(val) {
|
|
34572
34572
|
return typeof val === "string";
|
|
34573
34573
|
}
|
|
34574
34574
|
function isNumber2(val) {
|
|
@@ -34718,7 +34718,7 @@ var require_utils4 = __commonJS({
|
|
|
34718
34718
|
isBuffer: isBuffer3,
|
|
34719
34719
|
isFormData,
|
|
34720
34720
|
isArrayBufferView,
|
|
34721
|
-
isString:
|
|
34721
|
+
isString: isString3,
|
|
34722
34722
|
isNumber: isNumber2,
|
|
34723
34723
|
isObject: isObject4,
|
|
34724
34724
|
isPlainObject,
|
|
@@ -36146,7 +36146,7 @@ var require_follow_redirects = __commonJS({
|
|
|
36146
36146
|
if (this._ending) {
|
|
36147
36147
|
throw new WriteAfterEndError();
|
|
36148
36148
|
}
|
|
36149
|
-
if (!
|
|
36149
|
+
if (!isString3(data) && !isBuffer3(data)) {
|
|
36150
36150
|
throw new TypeError("data should be a string, Buffer or Uint8Array");
|
|
36151
36151
|
}
|
|
36152
36152
|
if (isFunction2(encoding)) {
|
|
@@ -36406,14 +36406,14 @@ var require_follow_redirects = __commonJS({
|
|
|
36406
36406
|
var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];
|
|
36407
36407
|
var wrappedProtocol = exports2[scheme] = Object.create(nativeProtocol);
|
|
36408
36408
|
function request(input, options, callback) {
|
|
36409
|
-
if (
|
|
36409
|
+
if (isString3(input)) {
|
|
36410
36410
|
var parsed;
|
|
36411
36411
|
try {
|
|
36412
36412
|
parsed = urlToOptions(new URL2(input));
|
|
36413
36413
|
} catch (err) {
|
|
36414
36414
|
parsed = url.parse(input);
|
|
36415
36415
|
}
|
|
36416
|
-
if (!
|
|
36416
|
+
if (!isString3(parsed.protocol)) {
|
|
36417
36417
|
throw new InvalidUrlError({ input });
|
|
36418
36418
|
}
|
|
36419
36419
|
input = parsed;
|
|
@@ -36433,7 +36433,7 @@ var require_follow_redirects = __commonJS({
|
|
|
36433
36433
|
maxBodyLength: exports2.maxBodyLength
|
|
36434
36434
|
}, input, options);
|
|
36435
36435
|
options.nativeProtocols = nativeProtocols;
|
|
36436
|
-
if (!
|
|
36436
|
+
if (!isString3(options.host) && !isString3(options.hostname)) {
|
|
36437
36437
|
options.hostname = "::1";
|
|
36438
36438
|
}
|
|
36439
36439
|
assert17.equal(options.protocol, protocol, "protocol mismatch");
|
|
@@ -36499,11 +36499,11 @@ var require_follow_redirects = __commonJS({
|
|
|
36499
36499
|
request.abort();
|
|
36500
36500
|
}
|
|
36501
36501
|
function isSubdomain(subdomain, domain) {
|
|
36502
|
-
assert17(
|
|
36502
|
+
assert17(isString3(subdomain) && isString3(domain));
|
|
36503
36503
|
var dot = subdomain.length - domain.length - 1;
|
|
36504
36504
|
return dot > 0 && subdomain[dot] === "." && subdomain.endsWith(domain);
|
|
36505
36505
|
}
|
|
36506
|
-
function
|
|
36506
|
+
function isString3(value) {
|
|
36507
36507
|
return typeof value === "string" || value instanceof String;
|
|
36508
36508
|
}
|
|
36509
36509
|
function isFunction2(value) {
|
|
@@ -47071,30 +47071,292 @@ var require_dist2 = __commonJS({
|
|
|
47071
47071
|
}
|
|
47072
47072
|
});
|
|
47073
47073
|
|
|
47074
|
-
// ../../node_modules/.pnpm/
|
|
47074
|
+
// ../../node_modules/.pnpm/detect-libc@2.0.2/node_modules/detect-libc/lib/process.js
|
|
47075
|
+
var require_process = __commonJS({
|
|
47076
|
+
"../../node_modules/.pnpm/detect-libc@2.0.2/node_modules/detect-libc/lib/process.js"(exports, module2) {
|
|
47077
|
+
"use strict";
|
|
47078
|
+
var isLinux = () => process.platform === "linux";
|
|
47079
|
+
var report = null;
|
|
47080
|
+
var getReport = () => {
|
|
47081
|
+
if (!report) {
|
|
47082
|
+
report = isLinux() && process.report ? process.report.getReport() : {};
|
|
47083
|
+
}
|
|
47084
|
+
return report;
|
|
47085
|
+
};
|
|
47086
|
+
module2.exports = { isLinux, getReport };
|
|
47087
|
+
}
|
|
47088
|
+
});
|
|
47089
|
+
|
|
47090
|
+
// ../../node_modules/.pnpm/detect-libc@2.0.2/node_modules/detect-libc/lib/filesystem.js
|
|
47091
|
+
var require_filesystem = __commonJS({
|
|
47092
|
+
"../../node_modules/.pnpm/detect-libc@2.0.2/node_modules/detect-libc/lib/filesystem.js"(exports, module2) {
|
|
47093
|
+
"use strict";
|
|
47094
|
+
var fs4 = require("fs");
|
|
47095
|
+
var LDD_PATH = "/usr/bin/ldd";
|
|
47096
|
+
var readFileSync = (path2) => fs4.readFileSync(path2, "utf-8");
|
|
47097
|
+
var readFile = (path2) => new Promise((resolve, reject) => {
|
|
47098
|
+
fs4.readFile(path2, "utf-8", (err, data) => {
|
|
47099
|
+
if (err) {
|
|
47100
|
+
reject(err);
|
|
47101
|
+
} else {
|
|
47102
|
+
resolve(data);
|
|
47103
|
+
}
|
|
47104
|
+
});
|
|
47105
|
+
});
|
|
47106
|
+
module2.exports = {
|
|
47107
|
+
LDD_PATH,
|
|
47108
|
+
readFileSync,
|
|
47109
|
+
readFile
|
|
47110
|
+
};
|
|
47111
|
+
}
|
|
47112
|
+
});
|
|
47113
|
+
|
|
47114
|
+
// ../../node_modules/.pnpm/detect-libc@2.0.2/node_modules/detect-libc/lib/detect-libc.js
|
|
47115
|
+
var require_detect_libc = __commonJS({
|
|
47116
|
+
"../../node_modules/.pnpm/detect-libc@2.0.2/node_modules/detect-libc/lib/detect-libc.js"(exports, module2) {
|
|
47117
|
+
"use strict";
|
|
47118
|
+
var childProcess = require("child_process");
|
|
47119
|
+
var { isLinux, getReport } = require_process();
|
|
47120
|
+
var { LDD_PATH, readFile, readFileSync } = require_filesystem();
|
|
47121
|
+
var cachedFamilyFilesystem;
|
|
47122
|
+
var cachedVersionFilesystem;
|
|
47123
|
+
var command = "getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true";
|
|
47124
|
+
var commandOut = "";
|
|
47125
|
+
var safeCommand = () => {
|
|
47126
|
+
if (!commandOut) {
|
|
47127
|
+
return new Promise((resolve) => {
|
|
47128
|
+
childProcess.exec(command, (err, out) => {
|
|
47129
|
+
commandOut = err ? " " : out;
|
|
47130
|
+
resolve(commandOut);
|
|
47131
|
+
});
|
|
47132
|
+
});
|
|
47133
|
+
}
|
|
47134
|
+
return commandOut;
|
|
47135
|
+
};
|
|
47136
|
+
var safeCommandSync = () => {
|
|
47137
|
+
if (!commandOut) {
|
|
47138
|
+
try {
|
|
47139
|
+
commandOut = childProcess.execSync(command, { encoding: "utf8" });
|
|
47140
|
+
} catch (_err) {
|
|
47141
|
+
commandOut = " ";
|
|
47142
|
+
}
|
|
47143
|
+
}
|
|
47144
|
+
return commandOut;
|
|
47145
|
+
};
|
|
47146
|
+
var GLIBC = "glibc";
|
|
47147
|
+
var RE_GLIBC_VERSION = /GLIBC\s(\d+\.\d+)/;
|
|
47148
|
+
var MUSL = "musl";
|
|
47149
|
+
var GLIBC_ON_LDD = GLIBC.toUpperCase();
|
|
47150
|
+
var MUSL_ON_LDD = MUSL.toLowerCase();
|
|
47151
|
+
var isFileMusl = (f) => f.includes("libc.musl-") || f.includes("ld-musl-");
|
|
47152
|
+
var familyFromReport = () => {
|
|
47153
|
+
const report = getReport();
|
|
47154
|
+
if (report.header && report.header.glibcVersionRuntime) {
|
|
47155
|
+
return GLIBC;
|
|
47156
|
+
}
|
|
47157
|
+
if (Array.isArray(report.sharedObjects)) {
|
|
47158
|
+
if (report.sharedObjects.some(isFileMusl)) {
|
|
47159
|
+
return MUSL;
|
|
47160
|
+
}
|
|
47161
|
+
}
|
|
47162
|
+
return null;
|
|
47163
|
+
};
|
|
47164
|
+
var familyFromCommand = (out) => {
|
|
47165
|
+
const [getconf, ldd1] = out.split(/[\r\n]+/);
|
|
47166
|
+
if (getconf && getconf.includes(GLIBC)) {
|
|
47167
|
+
return GLIBC;
|
|
47168
|
+
}
|
|
47169
|
+
if (ldd1 && ldd1.includes(MUSL)) {
|
|
47170
|
+
return MUSL;
|
|
47171
|
+
}
|
|
47172
|
+
return null;
|
|
47173
|
+
};
|
|
47174
|
+
var getFamilyFromLddContent = (content) => {
|
|
47175
|
+
if (content.includes(MUSL_ON_LDD)) {
|
|
47176
|
+
return MUSL;
|
|
47177
|
+
}
|
|
47178
|
+
if (content.includes(GLIBC_ON_LDD)) {
|
|
47179
|
+
return GLIBC;
|
|
47180
|
+
}
|
|
47181
|
+
return null;
|
|
47182
|
+
};
|
|
47183
|
+
var familyFromFilesystem = async () => {
|
|
47184
|
+
if (cachedFamilyFilesystem !== void 0) {
|
|
47185
|
+
return cachedFamilyFilesystem;
|
|
47186
|
+
}
|
|
47187
|
+
cachedFamilyFilesystem = null;
|
|
47188
|
+
try {
|
|
47189
|
+
const lddContent = await readFile(LDD_PATH);
|
|
47190
|
+
cachedFamilyFilesystem = getFamilyFromLddContent(lddContent);
|
|
47191
|
+
} catch (e) {
|
|
47192
|
+
}
|
|
47193
|
+
return cachedFamilyFilesystem;
|
|
47194
|
+
};
|
|
47195
|
+
var familyFromFilesystemSync = () => {
|
|
47196
|
+
if (cachedFamilyFilesystem !== void 0) {
|
|
47197
|
+
return cachedFamilyFilesystem;
|
|
47198
|
+
}
|
|
47199
|
+
cachedFamilyFilesystem = null;
|
|
47200
|
+
try {
|
|
47201
|
+
const lddContent = readFileSync(LDD_PATH);
|
|
47202
|
+
cachedFamilyFilesystem = getFamilyFromLddContent(lddContent);
|
|
47203
|
+
} catch (e) {
|
|
47204
|
+
}
|
|
47205
|
+
return cachedFamilyFilesystem;
|
|
47206
|
+
};
|
|
47207
|
+
var family = async () => {
|
|
47208
|
+
let family2 = null;
|
|
47209
|
+
if (isLinux()) {
|
|
47210
|
+
family2 = await familyFromFilesystem();
|
|
47211
|
+
if (!family2) {
|
|
47212
|
+
family2 = familyFromReport();
|
|
47213
|
+
}
|
|
47214
|
+
if (!family2) {
|
|
47215
|
+
const out = await safeCommand();
|
|
47216
|
+
family2 = familyFromCommand(out);
|
|
47217
|
+
}
|
|
47218
|
+
}
|
|
47219
|
+
return family2;
|
|
47220
|
+
};
|
|
47221
|
+
var familySync = () => {
|
|
47222
|
+
let family2 = null;
|
|
47223
|
+
if (isLinux()) {
|
|
47224
|
+
family2 = familyFromFilesystemSync();
|
|
47225
|
+
if (!family2) {
|
|
47226
|
+
family2 = familyFromReport();
|
|
47227
|
+
}
|
|
47228
|
+
if (!family2) {
|
|
47229
|
+
const out = safeCommandSync();
|
|
47230
|
+
family2 = familyFromCommand(out);
|
|
47231
|
+
}
|
|
47232
|
+
}
|
|
47233
|
+
return family2;
|
|
47234
|
+
};
|
|
47235
|
+
var isNonGlibcLinux = async () => isLinux() && await family() !== GLIBC;
|
|
47236
|
+
var isNonGlibcLinuxSync = () => isLinux() && familySync() !== GLIBC;
|
|
47237
|
+
var versionFromFilesystem = async () => {
|
|
47238
|
+
if (cachedVersionFilesystem !== void 0) {
|
|
47239
|
+
return cachedVersionFilesystem;
|
|
47240
|
+
}
|
|
47241
|
+
cachedVersionFilesystem = null;
|
|
47242
|
+
try {
|
|
47243
|
+
const lddContent = await readFile(LDD_PATH);
|
|
47244
|
+
const versionMatch = lddContent.match(RE_GLIBC_VERSION);
|
|
47245
|
+
if (versionMatch) {
|
|
47246
|
+
cachedVersionFilesystem = versionMatch[1];
|
|
47247
|
+
}
|
|
47248
|
+
} catch (e) {
|
|
47249
|
+
}
|
|
47250
|
+
return cachedVersionFilesystem;
|
|
47251
|
+
};
|
|
47252
|
+
var versionFromFilesystemSync = () => {
|
|
47253
|
+
if (cachedVersionFilesystem !== void 0) {
|
|
47254
|
+
return cachedVersionFilesystem;
|
|
47255
|
+
}
|
|
47256
|
+
cachedVersionFilesystem = null;
|
|
47257
|
+
try {
|
|
47258
|
+
const lddContent = readFileSync(LDD_PATH);
|
|
47259
|
+
const versionMatch = lddContent.match(RE_GLIBC_VERSION);
|
|
47260
|
+
if (versionMatch) {
|
|
47261
|
+
cachedVersionFilesystem = versionMatch[1];
|
|
47262
|
+
}
|
|
47263
|
+
} catch (e) {
|
|
47264
|
+
}
|
|
47265
|
+
return cachedVersionFilesystem;
|
|
47266
|
+
};
|
|
47267
|
+
var versionFromReport = () => {
|
|
47268
|
+
const report = getReport();
|
|
47269
|
+
if (report.header && report.header.glibcVersionRuntime) {
|
|
47270
|
+
return report.header.glibcVersionRuntime;
|
|
47271
|
+
}
|
|
47272
|
+
return null;
|
|
47273
|
+
};
|
|
47274
|
+
var versionSuffix = (s) => s.trim().split(/\s+/)[1];
|
|
47275
|
+
var versionFromCommand = (out) => {
|
|
47276
|
+
const [getconf, ldd1, ldd2] = out.split(/[\r\n]+/);
|
|
47277
|
+
if (getconf && getconf.includes(GLIBC)) {
|
|
47278
|
+
return versionSuffix(getconf);
|
|
47279
|
+
}
|
|
47280
|
+
if (ldd1 && ldd2 && ldd1.includes(MUSL)) {
|
|
47281
|
+
return versionSuffix(ldd2);
|
|
47282
|
+
}
|
|
47283
|
+
return null;
|
|
47284
|
+
};
|
|
47285
|
+
var version2 = async () => {
|
|
47286
|
+
let version3 = null;
|
|
47287
|
+
if (isLinux()) {
|
|
47288
|
+
version3 = await versionFromFilesystem();
|
|
47289
|
+
if (!version3) {
|
|
47290
|
+
version3 = versionFromReport();
|
|
47291
|
+
}
|
|
47292
|
+
if (!version3) {
|
|
47293
|
+
const out = await safeCommand();
|
|
47294
|
+
version3 = versionFromCommand(out);
|
|
47295
|
+
}
|
|
47296
|
+
}
|
|
47297
|
+
return version3;
|
|
47298
|
+
};
|
|
47299
|
+
var versionSync = () => {
|
|
47300
|
+
let version3 = null;
|
|
47301
|
+
if (isLinux()) {
|
|
47302
|
+
version3 = versionFromFilesystemSync();
|
|
47303
|
+
if (!version3) {
|
|
47304
|
+
version3 = versionFromReport();
|
|
47305
|
+
}
|
|
47306
|
+
if (!version3) {
|
|
47307
|
+
const out = safeCommandSync();
|
|
47308
|
+
version3 = versionFromCommand(out);
|
|
47309
|
+
}
|
|
47310
|
+
}
|
|
47311
|
+
return version3;
|
|
47312
|
+
};
|
|
47313
|
+
module2.exports = {
|
|
47314
|
+
GLIBC,
|
|
47315
|
+
MUSL,
|
|
47316
|
+
family,
|
|
47317
|
+
familySync,
|
|
47318
|
+
isNonGlibcLinux,
|
|
47319
|
+
isNonGlibcLinuxSync,
|
|
47320
|
+
version: version2,
|
|
47321
|
+
versionSync
|
|
47322
|
+
};
|
|
47323
|
+
}
|
|
47324
|
+
});
|
|
47325
|
+
|
|
47326
|
+
// ../../node_modules/.pnpm/node-gyp-build-optional-packages@5.1.1/node_modules/node-gyp-build-optional-packages/index.js
|
|
47075
47327
|
var require_node_gyp_build_optional_packages = __commonJS({
|
|
47076
|
-
"../../node_modules/.pnpm/node-gyp-build-optional-packages@5.
|
|
47328
|
+
"../../node_modules/.pnpm/node-gyp-build-optional-packages@5.1.1/node_modules/node-gyp-build-optional-packages/index.js"(exports, module2) {
|
|
47077
47329
|
var fs4 = require("fs");
|
|
47078
47330
|
var path2 = require("path");
|
|
47079
|
-
var
|
|
47331
|
+
var url = require("url");
|
|
47080
47332
|
var vars = process.config && process.config.variables || {};
|
|
47081
47333
|
var prebuildsOnly = !!process.env.PREBUILDS_ONLY;
|
|
47082
|
-
var
|
|
47334
|
+
var versions = process.versions;
|
|
47335
|
+
var abi = versions.modules;
|
|
47336
|
+
if (versions.deno || process.isBun) {
|
|
47337
|
+
abi = "unsupported";
|
|
47338
|
+
}
|
|
47083
47339
|
var runtime = isElectron() ? "electron" : "node";
|
|
47084
47340
|
var arch = process.arch;
|
|
47085
47341
|
var platform = process.platform;
|
|
47086
|
-
var libc = process.env.LIBC || (
|
|
47342
|
+
var libc = process.env.LIBC || (isMusl(platform) ? "musl" : "glibc");
|
|
47087
47343
|
var armv = process.env.ARM_VERSION || (arch === "arm64" ? "8" : vars.arm_version) || "";
|
|
47088
|
-
var uv = (
|
|
47344
|
+
var uv = (versions.uv || "").split(".")[0];
|
|
47089
47345
|
module2.exports = load;
|
|
47090
47346
|
function load(dir) {
|
|
47091
|
-
|
|
47347
|
+
if (typeof __webpack_require__ === "function")
|
|
47348
|
+
return __non_webpack_require__(load.path(dir));
|
|
47349
|
+
else
|
|
47350
|
+
return require(load.path(dir));
|
|
47092
47351
|
}
|
|
47093
47352
|
load.path = function(dir) {
|
|
47094
47353
|
dir = path2.resolve(dir || ".");
|
|
47095
|
-
var packageName;
|
|
47354
|
+
var packageName = "";
|
|
47096
47355
|
try {
|
|
47097
|
-
|
|
47356
|
+
if (typeof __webpack_require__ === "function")
|
|
47357
|
+
packageName = __non_webpack_require__(path2.join(dir, "package.json")).name;
|
|
47358
|
+
else
|
|
47359
|
+
packageName = require(path2.join(dir, "package.json")).name;
|
|
47098
47360
|
var varName = packageName.toUpperCase().replace(/-/g, "_") + "_PREBUILD";
|
|
47099
47361
|
if (process.env[varName])
|
|
47100
47362
|
dir = process.env[varName];
|
|
@@ -47116,7 +47378,7 @@ var require_node_gyp_build_optional_packages = __commonJS({
|
|
|
47116
47378
|
return nearby;
|
|
47117
47379
|
var platformPackage = (packageName[0] == "@" ? "" : "@" + packageName + "/") + packageName + "-" + platform + "-" + arch;
|
|
47118
47380
|
try {
|
|
47119
|
-
var prebuildPackage = path2.dirname(require("module").createRequire(path2.join(dir, "package.json")).resolve(platformPackage));
|
|
47381
|
+
var prebuildPackage = path2.dirname(require("module").createRequire(url.pathToFileURL(path2.join(dir, "package.json"))).resolve(platformPackage));
|
|
47120
47382
|
return resolveFile(prebuildPackage);
|
|
47121
47383
|
} catch (error) {
|
|
47122
47384
|
}
|
|
@@ -47132,7 +47394,7 @@ var require_node_gyp_build_optional_packages = __commonJS({
|
|
|
47132
47394
|
process.versions.electron ? "electron=" + process.versions.electron : "",
|
|
47133
47395
|
typeof __webpack_require__ === "function" ? "webpack=true" : ""
|
|
47134
47396
|
].filter(Boolean).join(" ");
|
|
47135
|
-
throw new Error("No native build was found for " + target2 + "\n
|
|
47397
|
+
throw new Error("No native build was found for " + target2 + "\n attempted loading from: " + dir + " and package: " + platformPackage + "\n");
|
|
47136
47398
|
function resolve(dir2) {
|
|
47137
47399
|
var tuples = readdirSync(path2.join(dir2, "prebuilds")).map(parseTuple);
|
|
47138
47400
|
var tuple = tuples.filter(matchTuple(platform, arch)).sort(compareTuples)[0];
|
|
@@ -47255,8 +47517,11 @@ var require_node_gyp_build_optional_packages = __commonJS({
|
|
|
47255
47517
|
return true;
|
|
47256
47518
|
return typeof window !== "undefined" && window.process && window.process.type === "renderer";
|
|
47257
47519
|
}
|
|
47258
|
-
function
|
|
47259
|
-
|
|
47520
|
+
function isMusl(platform2) {
|
|
47521
|
+
if (platform2 !== "linux")
|
|
47522
|
+
return false;
|
|
47523
|
+
const { familySync, MUSL } = require_detect_libc();
|
|
47524
|
+
return familySync() === MUSL;
|
|
47260
47525
|
}
|
|
47261
47526
|
load.parseTags = parseTags;
|
|
47262
47527
|
load.matchTags = matchTags;
|
|
@@ -47267,9 +47532,9 @@ var require_node_gyp_build_optional_packages = __commonJS({
|
|
|
47267
47532
|
}
|
|
47268
47533
|
});
|
|
47269
47534
|
|
|
47270
|
-
// ../../node_modules/.pnpm/cbor-extract@2.
|
|
47535
|
+
// ../../node_modules/.pnpm/cbor-extract@2.2.0/node_modules/cbor-extract/index.js
|
|
47271
47536
|
var require_cbor_extract = __commonJS({
|
|
47272
|
-
"../../node_modules/.pnpm/cbor-extract@2.
|
|
47537
|
+
"../../node_modules/.pnpm/cbor-extract@2.2.0/node_modules/cbor-extract/index.js"(exports, module2) {
|
|
47273
47538
|
module2.exports = require_node_gyp_build_optional_packages()(__dirname);
|
|
47274
47539
|
}
|
|
47275
47540
|
});
|
|
@@ -91113,7 +91378,7 @@ if (cid) {
|
|
|
91113
91378
|
}
|
|
91114
91379
|
return result;
|
|
91115
91380
|
}
|
|
91116
|
-
var
|
|
91381
|
+
var isString3 = typeOfTest("string");
|
|
91117
91382
|
var isFunction2 = typeOfTest("function");
|
|
91118
91383
|
var isNumber2 = typeOfTest("number");
|
|
91119
91384
|
var isObject22 = (thing) => thing !== null && typeof thing === "object";
|
|
@@ -91389,7 +91654,7 @@ if (cid) {
|
|
|
91389
91654
|
isBuffer: isBuffer32,
|
|
91390
91655
|
isFormData,
|
|
91391
91656
|
isArrayBufferView,
|
|
91392
|
-
isString:
|
|
91657
|
+
isString: isString3,
|
|
91393
91658
|
isNumber: isNumber2,
|
|
91394
91659
|
isBoolean: isBoolean2,
|
|
91395
91660
|
isObject: isObject22,
|
|
@@ -135938,6 +136203,11 @@ var handlerSuccess = z.object({
|
|
|
135938
136203
|
body: z.any(),
|
|
135939
136204
|
headers: z.record(z.string()).optional()
|
|
135940
136205
|
});
|
|
136206
|
+
var handlerPipeThrough = z.object({
|
|
136207
|
+
encoding: z.string(),
|
|
136208
|
+
buffer: z.instanceof(ArrayBuffer),
|
|
136209
|
+
headers: z.record(z.string()).optional()
|
|
136210
|
+
});
|
|
135941
136211
|
var handlerError = z.object({
|
|
135942
136212
|
status: z.number(),
|
|
135943
136213
|
error: z.string().optional(),
|
|
@@ -140952,6 +141222,15 @@ var Server = class {
|
|
|
140952
141222
|
if (isHandlerError(outputUnvalidated)) {
|
|
140953
141223
|
throw XRPCError2.fromError(outputUnvalidated);
|
|
140954
141224
|
}
|
|
141225
|
+
if (outputUnvalidated && isHandlerPipeThrough(outputUnvalidated)) {
|
|
141226
|
+
if (outputUnvalidated?.headers) {
|
|
141227
|
+
Object.entries(outputUnvalidated.headers).forEach(([name3, val]) => {
|
|
141228
|
+
res.header(name3, val);
|
|
141229
|
+
});
|
|
141230
|
+
}
|
|
141231
|
+
res.header("Content-Type", outputUnvalidated.encoding).status(200).send(Buffer.from(outputUnvalidated.buffer));
|
|
141232
|
+
return;
|
|
141233
|
+
}
|
|
140955
141234
|
if (!outputUnvalidated || isHandlerSuccess(outputUnvalidated)) {
|
|
140956
141235
|
const output2 = validateResOutput(outputUnvalidated);
|
|
140957
141236
|
if (output2?.headers) {
|
|
@@ -141093,6 +141372,24 @@ var Server = class {
|
|
|
141093
141372
|
function isHandlerSuccess(v) {
|
|
141094
141373
|
return handlerSuccess.safeParse(v).success;
|
|
141095
141374
|
}
|
|
141375
|
+
function isHandlerPipeThrough(v) {
|
|
141376
|
+
if (v === null || typeof v !== "object") {
|
|
141377
|
+
return false;
|
|
141378
|
+
}
|
|
141379
|
+
if (!isString(v["encoding"]) || !(v["buffer"] instanceof ArrayBuffer)) {
|
|
141380
|
+
return false;
|
|
141381
|
+
}
|
|
141382
|
+
if (v["headers"] !== void 0) {
|
|
141383
|
+
if (v["headers"] === null || typeof v["headers"] !== "object") {
|
|
141384
|
+
return false;
|
|
141385
|
+
}
|
|
141386
|
+
if (!Object.values(v["headers"]).every(isString)) {
|
|
141387
|
+
return false;
|
|
141388
|
+
}
|
|
141389
|
+
}
|
|
141390
|
+
return true;
|
|
141391
|
+
}
|
|
141392
|
+
var isString = (val) => typeof val === "string";
|
|
141096
141393
|
var kRequestLocals = Symbol("requestLocals");
|
|
141097
141394
|
function createLocalsMiddleware(nsid2) {
|
|
141098
141395
|
return function(req, _res, next) {
|
|
@@ -141139,7 +141436,7 @@ var errorMiddleware = function(err, req, res, next) {
|
|
|
141139
141436
|
function isUndefined(obj) {
|
|
141140
141437
|
return obj === void 0;
|
|
141141
141438
|
}
|
|
141142
|
-
function
|
|
141439
|
+
function isString2(obj) {
|
|
141143
141440
|
return typeof obj === "string";
|
|
141144
141441
|
}
|
|
141145
141442
|
function isNumber(obj) {
|
|
@@ -141881,7 +142178,7 @@ var DynamicReferenceBuilder = class {
|
|
|
141881
142178
|
}
|
|
141882
142179
|
};
|
|
141883
142180
|
function isDynamicReferenceBuilder(obj) {
|
|
141884
|
-
return isObject2(obj) && isOperationNodeSource(obj) &&
|
|
142181
|
+
return isObject2(obj) && isOperationNodeSource(obj) && isString2(obj.dynamicReference);
|
|
141885
142182
|
}
|
|
141886
142183
|
|
|
141887
142184
|
// ../../node_modules/.pnpm/kysely@0.22.0/node_modules/kysely/dist/esm/parser/reference-parser.js
|
|
@@ -141893,7 +142190,7 @@ function parseReferenceExpressionOrList(arg) {
|
|
|
141893
142190
|
}
|
|
141894
142191
|
}
|
|
141895
142192
|
function parseReferenceExpression(exp) {
|
|
141896
|
-
if (
|
|
142193
|
+
if (isString2(exp)) {
|
|
141897
142194
|
return parseStringReference(exp);
|
|
141898
142195
|
} else if (isDynamicReferenceBuilder(exp)) {
|
|
141899
142196
|
return exp.toOperationNode();
|
|
@@ -142043,7 +142340,7 @@ function parseIsFilter(left, op, right) {
|
|
|
142043
142340
|
return FilterNode.create(parseReferenceExpression(left), parseFilterOperator(op), ValueNode.createImmediate(right));
|
|
142044
142341
|
}
|
|
142045
142342
|
function parseFilterOperator(op) {
|
|
142046
|
-
if (
|
|
142343
|
+
if (isString2(op) && OPERATORS.includes(op)) {
|
|
142047
142344
|
return OperatorNode.create(op);
|
|
142048
142345
|
} else if (isOperationNodeSource(op)) {
|
|
142049
142346
|
return op.toOperationNode();
|
|
@@ -142146,7 +142443,7 @@ function parseSelectExpressionOrList(selection) {
|
|
|
142146
142443
|
}
|
|
142147
142444
|
}
|
|
142148
142445
|
function parseSelectExpression(selection) {
|
|
142149
|
-
if (
|
|
142446
|
+
if (isString2(selection)) {
|
|
142150
142447
|
return SelectionNode.create(parseAliasedStringReference(selection));
|
|
142151
142448
|
} else if (isDynamicReferenceBuilder(selection)) {
|
|
142152
142449
|
return SelectionNode.create(selection.toOperationNode());
|
|
@@ -142164,7 +142461,7 @@ function parseSelectAll(table) {
|
|
|
142164
142461
|
}
|
|
142165
142462
|
}
|
|
142166
142463
|
function parseSelectAllArg(table) {
|
|
142167
|
-
if (
|
|
142464
|
+
if (isString2(table)) {
|
|
142168
142465
|
return SelectionNode.createSelectAllFromTable(parseTable(table));
|
|
142169
142466
|
}
|
|
142170
142467
|
throw new Error(`invalid value selectAll expression: ${JSON.stringify(table)}`);
|
|
@@ -145094,7 +145391,7 @@ function parseTableExpressionOrList(table) {
|
|
|
145094
145391
|
}
|
|
145095
145392
|
}
|
|
145096
145393
|
function parseTableExpression(table) {
|
|
145097
|
-
if (
|
|
145394
|
+
if (isString2(table)) {
|
|
145098
145395
|
return parseAliasedTable(table);
|
|
145099
145396
|
} else {
|
|
145100
145397
|
return parseAliasedComplexExpression(table);
|
|
@@ -147409,7 +147706,7 @@ var DefaultQueryCompiler = class extends OperationNodeVisitor {
|
|
|
147409
147706
|
this.append(this.getRightIdentifierWrapper());
|
|
147410
147707
|
}
|
|
147411
147708
|
compileUnwrappedIdentifier(node) {
|
|
147412
|
-
if (!
|
|
147709
|
+
if (!isString2(node.name)) {
|
|
147413
147710
|
throw new Error("a non-string identifier was passed to compileUnwrappedIdentifier.");
|
|
147414
147711
|
}
|
|
147415
147712
|
this.append(this.sanitizeIdentifier(node.name));
|
|
@@ -148108,7 +148405,7 @@ var DefaultQueryCompiler = class extends OperationNodeVisitor {
|
|
|
148108
148405
|
this.#parameters.push(parameter);
|
|
148109
148406
|
}
|
|
148110
148407
|
appendImmediateValue(value) {
|
|
148111
|
-
if (
|
|
148408
|
+
if (isString2(value)) {
|
|
148112
148409
|
this.append(`'${value}'`);
|
|
148113
148410
|
} else if (isNumber(value) || isBoolean(value)) {
|
|
148114
148411
|
this.append(value.toString());
|
|
@@ -148545,7 +148842,7 @@ ${stackExtension}`;
|
|
|
148545
148842
|
return err;
|
|
148546
148843
|
}
|
|
148547
148844
|
function isStackHolder(obj) {
|
|
148548
|
-
return isObject2(obj) &&
|
|
148845
|
+
return isObject2(obj) && isString2(obj.stack);
|
|
148549
148846
|
}
|
|
148550
148847
|
|
|
148551
148848
|
// ../../node_modules/.pnpm/kysely@0.22.0/node_modules/kysely/dist/esm/dialect/postgres/postgres-driver.js
|
|
@@ -149008,7 +149305,11 @@ function getAuthorFeed_default(server, ctx) {
|
|
|
149008
149305
|
const graphService = ctx.services.graph(db);
|
|
149009
149306
|
const { viewer } = ctx.authVerifier.parseCreds(auth);
|
|
149010
149307
|
const [result, repoRev] = await Promise.all([
|
|
149011
|
-
getAuthorFeed({
|
|
149308
|
+
getAuthorFeed({
|
|
149309
|
+
...params2,
|
|
149310
|
+
includeSoftDeleted: auth.credentials.type === "role",
|
|
149311
|
+
viewer
|
|
149312
|
+
}, { db, actorService, feedService, graphService }),
|
|
149012
149313
|
actorService.getRepoRev(viewer)
|
|
149013
149314
|
]);
|
|
149014
149315
|
setRepoRev(res, repoRev);
|
|
@@ -149020,10 +149321,10 @@ function getAuthorFeed_default(server, ctx) {
|
|
|
149020
149321
|
});
|
|
149021
149322
|
}
|
|
149022
149323
|
var skeleton2 = async (params2, ctx) => {
|
|
149023
|
-
const { cursor, limit, actor, filter, viewer } = params2;
|
|
149324
|
+
const { cursor, limit, actor, filter, viewer, includeSoftDeleted } = params2;
|
|
149024
149325
|
const { db, actorService, feedService, graphService } = ctx;
|
|
149025
149326
|
const { ref } = db.db.dynamic;
|
|
149026
|
-
const actorRes = await actorService.getActor(actor);
|
|
149327
|
+
const actorRes = await actorService.getActor(actor, includeSoftDeleted);
|
|
149027
149328
|
if (!actorRes) {
|
|
149028
149329
|
throw new InvalidRequestError("Profile not found");
|
|
149029
149330
|
}
|
|
@@ -149067,7 +149368,8 @@ var hydration2 = async (state, ctx) => {
|
|
|
149067
149368
|
const refs = feedService.feedItemRefs(feedItems);
|
|
149068
149369
|
const hydrated = await feedService.feedHydration({
|
|
149069
149370
|
...refs,
|
|
149070
|
-
viewer: params2.viewer
|
|
149371
|
+
viewer: params2.viewer,
|
|
149372
|
+
includeSoftDeleted: params2.includeSoftDeleted
|
|
149071
149373
|
});
|
|
149072
149374
|
return { ...state, ...hydrated };
|
|
149073
149375
|
};
|
|
@@ -149381,6 +149683,12 @@ var schemaDict = {
|
|
|
149381
149683
|
suspendUntil: {
|
|
149382
149684
|
type: "string",
|
|
149383
149685
|
format: "datetime"
|
|
149686
|
+
},
|
|
149687
|
+
tags: {
|
|
149688
|
+
type: "array",
|
|
149689
|
+
items: {
|
|
149690
|
+
type: "string"
|
|
149691
|
+
}
|
|
149384
149692
|
}
|
|
149385
149693
|
}
|
|
149386
149694
|
},
|
|
@@ -149972,6 +150280,31 @@ var schemaDict = {
|
|
|
149972
150280
|
}
|
|
149973
150281
|
}
|
|
149974
150282
|
},
|
|
150283
|
+
modEventTag: {
|
|
150284
|
+
type: "object",
|
|
150285
|
+
description: "Add/Remove a tag on a subject",
|
|
150286
|
+
required: ["add", "remove"],
|
|
150287
|
+
properties: {
|
|
150288
|
+
add: {
|
|
150289
|
+
type: "array",
|
|
150290
|
+
items: {
|
|
150291
|
+
type: "string"
|
|
150292
|
+
},
|
|
150293
|
+
description: "Tags to be added to the subject. If already exists, won't be duplicated."
|
|
150294
|
+
},
|
|
150295
|
+
remove: {
|
|
150296
|
+
type: "array",
|
|
150297
|
+
items: {
|
|
150298
|
+
type: "string"
|
|
150299
|
+
},
|
|
150300
|
+
description: "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated."
|
|
150301
|
+
},
|
|
150302
|
+
comment: {
|
|
150303
|
+
type: "string",
|
|
150304
|
+
description: "Additional comment about added/removed tags."
|
|
150305
|
+
}
|
|
150306
|
+
}
|
|
150307
|
+
},
|
|
149975
150308
|
communicationTemplateView: {
|
|
149976
150309
|
type: "object",
|
|
149977
150310
|
required: [
|
|
@@ -150146,7 +150479,8 @@ var schemaDict = {
|
|
|
150146
150479
|
"lex:com.atproto.admin.defs#modEventMute",
|
|
150147
150480
|
"lex:com.atproto.admin.defs#modEventReverseTakedown",
|
|
150148
150481
|
"lex:com.atproto.admin.defs#modEventUnmute",
|
|
150149
|
-
"lex:com.atproto.admin.defs#modEventEmail"
|
|
150482
|
+
"lex:com.atproto.admin.defs#modEventEmail",
|
|
150483
|
+
"lex:com.atproto.admin.defs#modEventTag"
|
|
150150
150484
|
]
|
|
150151
150485
|
},
|
|
150152
150486
|
subject: {
|
|
@@ -150568,6 +150902,20 @@ var schemaDict = {
|
|
|
150568
150902
|
},
|
|
150569
150903
|
description: "If specified, only events where all of these labels were removed are returned"
|
|
150570
150904
|
},
|
|
150905
|
+
addedTags: {
|
|
150906
|
+
type: "array",
|
|
150907
|
+
items: {
|
|
150908
|
+
type: "string"
|
|
150909
|
+
},
|
|
150910
|
+
description: "If specified, only events where all of these tags were added are returned"
|
|
150911
|
+
},
|
|
150912
|
+
removedTags: {
|
|
150913
|
+
type: "array",
|
|
150914
|
+
items: {
|
|
150915
|
+
type: "string"
|
|
150916
|
+
},
|
|
150917
|
+
description: "If specified, only events where all of these tags were removed are returned"
|
|
150918
|
+
},
|
|
150571
150919
|
reportTypes: {
|
|
150572
150920
|
type: "array",
|
|
150573
150921
|
items: {
|
|
@@ -150683,6 +151031,18 @@ var schemaDict = {
|
|
|
150683
151031
|
maximum: 100,
|
|
150684
151032
|
default: 50
|
|
150685
151033
|
},
|
|
151034
|
+
tags: {
|
|
151035
|
+
type: "array",
|
|
151036
|
+
items: {
|
|
151037
|
+
type: "string"
|
|
151038
|
+
}
|
|
151039
|
+
},
|
|
151040
|
+
excludeTags: {
|
|
151041
|
+
type: "array",
|
|
151042
|
+
items: {
|
|
151043
|
+
type: "string"
|
|
151044
|
+
}
|
|
151045
|
+
},
|
|
150686
151046
|
cursor: {
|
|
150687
151047
|
type: "string"
|
|
150688
151048
|
}
|
|
@@ -150971,7 +151331,7 @@ var schemaDict = {
|
|
|
150971
151331
|
defs: {
|
|
150972
151332
|
main: {
|
|
150973
151333
|
type: "query",
|
|
150974
|
-
description: "
|
|
151334
|
+
description: "Resolves a handle (domain name) to a DID.",
|
|
150975
151335
|
parameters: {
|
|
150976
151336
|
type: "params",
|
|
150977
151337
|
required: ["handle"],
|
|
@@ -151005,7 +151365,7 @@ var schemaDict = {
|
|
|
151005
151365
|
defs: {
|
|
151006
151366
|
main: {
|
|
151007
151367
|
type: "procedure",
|
|
151008
|
-
description: "Updates the handle
|
|
151368
|
+
description: "Updates the current account's handle. Verifies handle validity, and updates did:plc document if necessary. Implemented by PDS, and requires auth.",
|
|
151009
151369
|
input: {
|
|
151010
151370
|
encoding: "application/json",
|
|
151011
151371
|
schema: {
|
|
@@ -151014,7 +151374,8 @@ var schemaDict = {
|
|
|
151014
151374
|
properties: {
|
|
151015
151375
|
handle: {
|
|
151016
151376
|
type: "string",
|
|
151017
|
-
format: "handle"
|
|
151377
|
+
format: "handle",
|
|
151378
|
+
description: "The new handle."
|
|
151018
151379
|
}
|
|
151019
151380
|
}
|
|
151020
151381
|
}
|
|
@@ -151097,7 +151458,7 @@ var schemaDict = {
|
|
|
151097
151458
|
defs: {
|
|
151098
151459
|
main: {
|
|
151099
151460
|
type: "query",
|
|
151100
|
-
description: "Find labels relevant to the provided URI patterns.",
|
|
151461
|
+
description: "Find labels relevant to the provided AT-URI patterns. Public endpoint for moderation services, though may return different or additional results with auth.",
|
|
151101
151462
|
parameters: {
|
|
151102
151463
|
type: "params",
|
|
151103
151464
|
required: ["uriPatterns"],
|
|
@@ -151156,13 +151517,13 @@ var schemaDict = {
|
|
|
151156
151517
|
defs: {
|
|
151157
151518
|
main: {
|
|
151158
151519
|
type: "subscription",
|
|
151159
|
-
description: "Subscribe to
|
|
151520
|
+
description: "Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream.",
|
|
151160
151521
|
parameters: {
|
|
151161
151522
|
type: "params",
|
|
151162
151523
|
properties: {
|
|
151163
151524
|
cursor: {
|
|
151164
151525
|
type: "integer",
|
|
151165
|
-
description: "The last known event to backfill from."
|
|
151526
|
+
description: "The last known event seq number to backfill from."
|
|
151166
151527
|
}
|
|
151167
151528
|
}
|
|
151168
151529
|
},
|
|
@@ -151218,7 +151579,7 @@ var schemaDict = {
|
|
|
151218
151579
|
defs: {
|
|
151219
151580
|
main: {
|
|
151220
151581
|
type: "procedure",
|
|
151221
|
-
description: "
|
|
151582
|
+
description: "Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.",
|
|
151222
151583
|
input: {
|
|
151223
151584
|
encoding: "application/json",
|
|
151224
151585
|
schema: {
|
|
@@ -151227,10 +151588,12 @@ var schemaDict = {
|
|
|
151227
151588
|
properties: {
|
|
151228
151589
|
reasonType: {
|
|
151229
151590
|
type: "ref",
|
|
151591
|
+
description: "Indicates the broad category of violation the report is for.",
|
|
151230
151592
|
ref: "lex:com.atproto.moderation.defs#reasonType"
|
|
151231
151593
|
},
|
|
151232
151594
|
reason: {
|
|
151233
|
-
type: "string"
|
|
151595
|
+
type: "string",
|
|
151596
|
+
description: "Additional context about the content and violation."
|
|
151234
151597
|
},
|
|
151235
151598
|
subject: {
|
|
151236
151599
|
type: "union",
|
|
@@ -151339,7 +151702,7 @@ var schemaDict = {
|
|
|
151339
151702
|
defs: {
|
|
151340
151703
|
main: {
|
|
151341
151704
|
type: "procedure",
|
|
151342
|
-
description: "Apply a batch transaction of creates, updates, and deletes.",
|
|
151705
|
+
description: "Apply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.",
|
|
151343
151706
|
input: {
|
|
151344
151707
|
encoding: "application/json",
|
|
151345
151708
|
schema: {
|
|
@@ -151349,12 +151712,12 @@ var schemaDict = {
|
|
|
151349
151712
|
repo: {
|
|
151350
151713
|
type: "string",
|
|
151351
151714
|
format: "at-identifier",
|
|
151352
|
-
description: "The handle or DID of the repo."
|
|
151715
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
151353
151716
|
},
|
|
151354
151717
|
validate: {
|
|
151355
151718
|
type: "boolean",
|
|
151356
151719
|
default: true,
|
|
151357
|
-
description: "
|
|
151720
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data, for all operations."
|
|
151358
151721
|
},
|
|
151359
151722
|
writes: {
|
|
151360
151723
|
type: "array",
|
|
@@ -151370,6 +151733,7 @@ var schemaDict = {
|
|
|
151370
151733
|
},
|
|
151371
151734
|
swapCommit: {
|
|
151372
151735
|
type: "string",
|
|
151736
|
+
description: "If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations.",
|
|
151373
151737
|
format: "cid"
|
|
151374
151738
|
}
|
|
151375
151739
|
}
|
|
@@ -151377,13 +151741,14 @@ var schemaDict = {
|
|
|
151377
151741
|
},
|
|
151378
151742
|
errors: [
|
|
151379
151743
|
{
|
|
151380
|
-
name: "InvalidSwap"
|
|
151744
|
+
name: "InvalidSwap",
|
|
151745
|
+
description: "Indicates that the 'swapCommit' parameter did not match current commit."
|
|
151381
151746
|
}
|
|
151382
151747
|
]
|
|
151383
151748
|
},
|
|
151384
151749
|
create: {
|
|
151385
151750
|
type: "object",
|
|
151386
|
-
description: "
|
|
151751
|
+
description: "Operation which creates a new record.",
|
|
151387
151752
|
required: ["collection", "value"],
|
|
151388
151753
|
properties: {
|
|
151389
151754
|
collection: {
|
|
@@ -151401,7 +151766,7 @@ var schemaDict = {
|
|
|
151401
151766
|
},
|
|
151402
151767
|
update: {
|
|
151403
151768
|
type: "object",
|
|
151404
|
-
description: "
|
|
151769
|
+
description: "Operation which updates an existing record.",
|
|
151405
151770
|
required: ["collection", "rkey", "value"],
|
|
151406
151771
|
properties: {
|
|
151407
151772
|
collection: {
|
|
@@ -151418,7 +151783,7 @@ var schemaDict = {
|
|
|
151418
151783
|
},
|
|
151419
151784
|
delete: {
|
|
151420
151785
|
type: "object",
|
|
151421
|
-
description: "
|
|
151786
|
+
description: "Operation which deletes an existing record.",
|
|
151422
151787
|
required: ["collection", "rkey"],
|
|
151423
151788
|
properties: {
|
|
151424
151789
|
collection: {
|
|
@@ -151438,7 +151803,7 @@ var schemaDict = {
|
|
|
151438
151803
|
defs: {
|
|
151439
151804
|
main: {
|
|
151440
151805
|
type: "procedure",
|
|
151441
|
-
description: "Create a new record.",
|
|
151806
|
+
description: "Create a single new repository record. Requires auth, implemented by PDS.",
|
|
151442
151807
|
input: {
|
|
151443
151808
|
encoding: "application/json",
|
|
151444
151809
|
schema: {
|
|
@@ -151448,7 +151813,7 @@ var schemaDict = {
|
|
|
151448
151813
|
repo: {
|
|
151449
151814
|
type: "string",
|
|
151450
151815
|
format: "at-identifier",
|
|
151451
|
-
description: "The handle or DID of the repo."
|
|
151816
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
151452
151817
|
},
|
|
151453
151818
|
collection: {
|
|
151454
151819
|
type: "string",
|
|
@@ -151457,17 +151822,17 @@ var schemaDict = {
|
|
|
151457
151822
|
},
|
|
151458
151823
|
rkey: {
|
|
151459
151824
|
type: "string",
|
|
151460
|
-
description: "The
|
|
151825
|
+
description: "The Record Key.",
|
|
151461
151826
|
maxLength: 15
|
|
151462
151827
|
},
|
|
151463
151828
|
validate: {
|
|
151464
151829
|
type: "boolean",
|
|
151465
151830
|
default: true,
|
|
151466
|
-
description: "
|
|
151831
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data."
|
|
151467
151832
|
},
|
|
151468
151833
|
record: {
|
|
151469
151834
|
type: "unknown",
|
|
151470
|
-
description: "The record
|
|
151835
|
+
description: "The record itself. Must contain a $type field."
|
|
151471
151836
|
},
|
|
151472
151837
|
swapCommit: {
|
|
151473
151838
|
type: "string",
|
|
@@ -151496,7 +151861,8 @@ var schemaDict = {
|
|
|
151496
151861
|
},
|
|
151497
151862
|
errors: [
|
|
151498
151863
|
{
|
|
151499
|
-
name: "InvalidSwap"
|
|
151864
|
+
name: "InvalidSwap",
|
|
151865
|
+
description: "Indicates that 'swapCommit' didn't match current repo commit."
|
|
151500
151866
|
}
|
|
151501
151867
|
]
|
|
151502
151868
|
}
|
|
@@ -151508,7 +151874,7 @@ var schemaDict = {
|
|
|
151508
151874
|
defs: {
|
|
151509
151875
|
main: {
|
|
151510
151876
|
type: "procedure",
|
|
151511
|
-
description: "Delete a record, or ensure it doesn't exist.",
|
|
151877
|
+
description: "Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.",
|
|
151512
151878
|
input: {
|
|
151513
151879
|
encoding: "application/json",
|
|
151514
151880
|
schema: {
|
|
@@ -151518,7 +151884,7 @@ var schemaDict = {
|
|
|
151518
151884
|
repo: {
|
|
151519
151885
|
type: "string",
|
|
151520
151886
|
format: "at-identifier",
|
|
151521
|
-
description: "The handle or DID of the repo."
|
|
151887
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
151522
151888
|
},
|
|
151523
151889
|
collection: {
|
|
151524
151890
|
type: "string",
|
|
@@ -151527,7 +151893,7 @@ var schemaDict = {
|
|
|
151527
151893
|
},
|
|
151528
151894
|
rkey: {
|
|
151529
151895
|
type: "string",
|
|
151530
|
-
description: "The
|
|
151896
|
+
description: "The Record Key."
|
|
151531
151897
|
},
|
|
151532
151898
|
swapRecord: {
|
|
151533
151899
|
type: "string",
|
|
@@ -151556,7 +151922,7 @@ var schemaDict = {
|
|
|
151556
151922
|
defs: {
|
|
151557
151923
|
main: {
|
|
151558
151924
|
type: "query",
|
|
151559
|
-
description: "Get information about
|
|
151925
|
+
description: "Get information about an account and repository, including the list of collections. Does not require auth.",
|
|
151560
151926
|
parameters: {
|
|
151561
151927
|
type: "params",
|
|
151562
151928
|
required: ["repo"],
|
|
@@ -151589,17 +151955,20 @@ var schemaDict = {
|
|
|
151589
151955
|
format: "did"
|
|
151590
151956
|
},
|
|
151591
151957
|
didDoc: {
|
|
151592
|
-
type: "unknown"
|
|
151958
|
+
type: "unknown",
|
|
151959
|
+
description: "The complete DID document for this account."
|
|
151593
151960
|
},
|
|
151594
151961
|
collections: {
|
|
151595
151962
|
type: "array",
|
|
151963
|
+
description: "List of all the collections (NSIDs) for which this repo contains at least one record.",
|
|
151596
151964
|
items: {
|
|
151597
151965
|
type: "string",
|
|
151598
151966
|
format: "nsid"
|
|
151599
151967
|
}
|
|
151600
151968
|
},
|
|
151601
151969
|
handleIsCorrect: {
|
|
151602
|
-
type: "boolean"
|
|
151970
|
+
type: "boolean",
|
|
151971
|
+
description: "Indicates if handle is currently valid (resolves bi-directionally)"
|
|
151603
151972
|
}
|
|
151604
151973
|
}
|
|
151605
151974
|
}
|
|
@@ -151613,7 +151982,7 @@ var schemaDict = {
|
|
|
151613
151982
|
defs: {
|
|
151614
151983
|
main: {
|
|
151615
151984
|
type: "query",
|
|
151616
|
-
description: "Get a record.",
|
|
151985
|
+
description: "Get a single record from a repository. Does not require auth.",
|
|
151617
151986
|
parameters: {
|
|
151618
151987
|
type: "params",
|
|
151619
151988
|
required: ["repo", "collection", "rkey"],
|
|
@@ -151630,7 +151999,7 @@ var schemaDict = {
|
|
|
151630
151999
|
},
|
|
151631
152000
|
rkey: {
|
|
151632
152001
|
type: "string",
|
|
151633
|
-
description: "The
|
|
152002
|
+
description: "The Record Key."
|
|
151634
152003
|
},
|
|
151635
152004
|
cid: {
|
|
151636
152005
|
type: "string",
|
|
@@ -151668,7 +152037,7 @@ var schemaDict = {
|
|
|
151668
152037
|
defs: {
|
|
151669
152038
|
main: {
|
|
151670
152039
|
type: "query",
|
|
151671
|
-
description: "List a range of records in a collection.",
|
|
152040
|
+
description: "List a range of records in a repository, matching a specific collection. Does not require auth.",
|
|
151672
152041
|
parameters: {
|
|
151673
152042
|
type: "params",
|
|
151674
152043
|
required: ["repo", "collection"],
|
|
@@ -151752,7 +152121,7 @@ var schemaDict = {
|
|
|
151752
152121
|
defs: {
|
|
151753
152122
|
main: {
|
|
151754
152123
|
type: "procedure",
|
|
151755
|
-
description: "Write a record, creating or updating it as needed.",
|
|
152124
|
+
description: "Write a repository record, creating or updating it as needed. Requires auth, implemented by PDS.",
|
|
151756
152125
|
input: {
|
|
151757
152126
|
encoding: "application/json",
|
|
151758
152127
|
schema: {
|
|
@@ -151763,7 +152132,7 @@ var schemaDict = {
|
|
|
151763
152132
|
repo: {
|
|
151764
152133
|
type: "string",
|
|
151765
152134
|
format: "at-identifier",
|
|
151766
|
-
description: "The handle or DID of the repo."
|
|
152135
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
151767
152136
|
},
|
|
151768
152137
|
collection: {
|
|
151769
152138
|
type: "string",
|
|
@@ -151772,13 +152141,13 @@ var schemaDict = {
|
|
|
151772
152141
|
},
|
|
151773
152142
|
rkey: {
|
|
151774
152143
|
type: "string",
|
|
151775
|
-
description: "The
|
|
152144
|
+
description: "The Record Key.",
|
|
151776
152145
|
maxLength: 15
|
|
151777
152146
|
},
|
|
151778
152147
|
validate: {
|
|
151779
152148
|
type: "boolean",
|
|
151780
152149
|
default: true,
|
|
151781
|
-
description: "
|
|
152150
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data."
|
|
151782
152151
|
},
|
|
151783
152152
|
record: {
|
|
151784
152153
|
type: "unknown",
|
|
@@ -151787,7 +152156,7 @@ var schemaDict = {
|
|
|
151787
152156
|
swapRecord: {
|
|
151788
152157
|
type: "string",
|
|
151789
152158
|
format: "cid",
|
|
151790
|
-
description: "Compare and swap with the previous record by CID."
|
|
152159
|
+
description: "Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation"
|
|
151791
152160
|
},
|
|
151792
152161
|
swapCommit: {
|
|
151793
152162
|
type: "string",
|
|
@@ -151849,7 +152218,7 @@ var schemaDict = {
|
|
|
151849
152218
|
defs: {
|
|
151850
152219
|
main: {
|
|
151851
152220
|
type: "procedure",
|
|
151852
|
-
description: "Upload a new blob to be
|
|
152221
|
+
description: "Upload a new blob, to be referenced from a repository record. The blob will be deleted if it is not referenced within a time window (eg, minutes). Blob restrictions (mimetype, size, etc) are enforced when the reference is created. Requires auth, implemented by PDS.",
|
|
151853
152222
|
input: {
|
|
151854
152223
|
encoding: "*/*"
|
|
151855
152224
|
},
|
|
@@ -151913,7 +152282,7 @@ var schemaDict = {
|
|
|
151913
152282
|
defs: {
|
|
151914
152283
|
main: {
|
|
151915
152284
|
type: "procedure",
|
|
151916
|
-
description: "Create an account.",
|
|
152285
|
+
description: "Create an account. Implemented by PDS.",
|
|
151917
152286
|
input: {
|
|
151918
152287
|
encoding: "application/json",
|
|
151919
152288
|
schema: {
|
|
@@ -151925,11 +152294,13 @@ var schemaDict = {
|
|
|
151925
152294
|
},
|
|
151926
152295
|
handle: {
|
|
151927
152296
|
type: "string",
|
|
151928
|
-
format: "handle"
|
|
152297
|
+
format: "handle",
|
|
152298
|
+
description: "Requested handle for the account."
|
|
151929
152299
|
},
|
|
151930
152300
|
did: {
|
|
151931
152301
|
type: "string",
|
|
151932
|
-
format: "did"
|
|
152302
|
+
format: "did",
|
|
152303
|
+
description: "Pre-existing atproto DID, being imported to a new account."
|
|
151933
152304
|
},
|
|
151934
152305
|
inviteCode: {
|
|
151935
152306
|
type: "string"
|
|
@@ -151941,13 +152312,16 @@ var schemaDict = {
|
|
|
151941
152312
|
type: "string"
|
|
151942
152313
|
},
|
|
151943
152314
|
password: {
|
|
151944
|
-
type: "string"
|
|
152315
|
+
type: "string",
|
|
152316
|
+
description: "Initial account password. May need to meet instance-specific password strength requirements."
|
|
151945
152317
|
},
|
|
151946
152318
|
recoveryKey: {
|
|
151947
|
-
type: "string"
|
|
152319
|
+
type: "string",
|
|
152320
|
+
description: "DID PLC rotation key (aka, recovery key) to be included in PLC creation operation."
|
|
151948
152321
|
},
|
|
151949
152322
|
plcOp: {
|
|
151950
|
-
type: "unknown"
|
|
152323
|
+
type: "unknown",
|
|
152324
|
+
description: "A signed DID PLC operation to be submitted as part of importing an existing account to this instance. NOTE: this optional field may be updated when full account migration is implemented."
|
|
151951
152325
|
}
|
|
151952
152326
|
}
|
|
151953
152327
|
}
|
|
@@ -151956,6 +152330,7 @@ var schemaDict = {
|
|
|
151956
152330
|
encoding: "application/json",
|
|
151957
152331
|
schema: {
|
|
151958
152332
|
type: "object",
|
|
152333
|
+
description: "Account login session returned on successful account creation.",
|
|
151959
152334
|
required: ["accessJwt", "refreshJwt", "handle", "did"],
|
|
151960
152335
|
properties: {
|
|
151961
152336
|
accessJwt: {
|
|
@@ -151970,10 +152345,12 @@ var schemaDict = {
|
|
|
151970
152345
|
},
|
|
151971
152346
|
did: {
|
|
151972
152347
|
type: "string",
|
|
151973
|
-
format: "did"
|
|
152348
|
+
format: "did",
|
|
152349
|
+
description: "The DID of the new account."
|
|
151974
152350
|
},
|
|
151975
152351
|
didDoc: {
|
|
151976
|
-
type: "unknown"
|
|
152352
|
+
type: "unknown",
|
|
152353
|
+
description: "Complete DID document."
|
|
151977
152354
|
}
|
|
151978
152355
|
}
|
|
151979
152356
|
}
|
|
@@ -152018,7 +152395,8 @@ var schemaDict = {
|
|
|
152018
152395
|
required: ["name"],
|
|
152019
152396
|
properties: {
|
|
152020
152397
|
name: {
|
|
152021
|
-
type: "string"
|
|
152398
|
+
type: "string",
|
|
152399
|
+
description: "A short name for the App Password, to help distinguish them."
|
|
152022
152400
|
}
|
|
152023
152401
|
}
|
|
152024
152402
|
}
|
|
@@ -152285,7 +152663,7 @@ var schemaDict = {
|
|
|
152285
152663
|
defs: {
|
|
152286
152664
|
main: {
|
|
152287
152665
|
type: "procedure",
|
|
152288
|
-
description: "Delete an actor's account with a token and password.",
|
|
152666
|
+
description: "Delete an actor's account with a token and password. Can only be called after requesting a deletion token. Requires auth.",
|
|
152289
152667
|
input: {
|
|
152290
152668
|
encoding: "application/json",
|
|
152291
152669
|
schema: {
|
|
@@ -152322,7 +152700,7 @@ var schemaDict = {
|
|
|
152322
152700
|
defs: {
|
|
152323
152701
|
main: {
|
|
152324
152702
|
type: "procedure",
|
|
152325
|
-
description: "Delete the current session."
|
|
152703
|
+
description: "Delete the current session. Requires auth."
|
|
152326
152704
|
}
|
|
152327
152705
|
}
|
|
152328
152706
|
},
|
|
@@ -152332,7 +152710,7 @@ var schemaDict = {
|
|
|
152332
152710
|
defs: {
|
|
152333
152711
|
main: {
|
|
152334
152712
|
type: "query",
|
|
152335
|
-
description: "
|
|
152713
|
+
description: "Describes the server's account creation requirements and capabilities. Implemented by PDS.",
|
|
152336
152714
|
output: {
|
|
152337
152715
|
encoding: "application/json",
|
|
152338
152716
|
schema: {
|
|
@@ -152340,19 +152718,23 @@ var schemaDict = {
|
|
|
152340
152718
|
required: ["availableUserDomains"],
|
|
152341
152719
|
properties: {
|
|
152342
152720
|
inviteCodeRequired: {
|
|
152343
|
-
type: "boolean"
|
|
152721
|
+
type: "boolean",
|
|
152722
|
+
description: "If true, an invite code must be supplied to create an account on this instance."
|
|
152344
152723
|
},
|
|
152345
152724
|
phoneVerificationRequired: {
|
|
152346
|
-
type: "boolean"
|
|
152725
|
+
type: "boolean",
|
|
152726
|
+
description: "If true, a phone verification token must be supplied to create an account on this instance."
|
|
152347
152727
|
},
|
|
152348
152728
|
availableUserDomains: {
|
|
152349
152729
|
type: "array",
|
|
152730
|
+
description: "List of domain suffixes that can be used in account handles.",
|
|
152350
152731
|
items: {
|
|
152351
152732
|
type: "string"
|
|
152352
152733
|
}
|
|
152353
152734
|
},
|
|
152354
152735
|
links: {
|
|
152355
152736
|
type: "ref",
|
|
152737
|
+
description: "URLs of service policy documents.",
|
|
152356
152738
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
152357
152739
|
}
|
|
152358
152740
|
}
|
|
@@ -152378,7 +152760,7 @@ var schemaDict = {
|
|
|
152378
152760
|
defs: {
|
|
152379
152761
|
main: {
|
|
152380
152762
|
type: "query",
|
|
152381
|
-
description: "Get all invite codes for
|
|
152763
|
+
description: "Get all invite codes for the current account. Requires auth.",
|
|
152382
152764
|
parameters: {
|
|
152383
152765
|
type: "params",
|
|
152384
152766
|
properties: {
|
|
@@ -152388,7 +152770,8 @@ var schemaDict = {
|
|
|
152388
152770
|
},
|
|
152389
152771
|
createAvailable: {
|
|
152390
152772
|
type: "boolean",
|
|
152391
|
-
default: true
|
|
152773
|
+
default: true,
|
|
152774
|
+
description: "Controls whether any new 'earned' but not 'created' invites should be created."
|
|
152392
152775
|
}
|
|
152393
152776
|
}
|
|
152394
152777
|
},
|
|
@@ -152422,7 +152805,7 @@ var schemaDict = {
|
|
|
152422
152805
|
defs: {
|
|
152423
152806
|
main: {
|
|
152424
152807
|
type: "query",
|
|
152425
|
-
description: "Get information about the current session.",
|
|
152808
|
+
description: "Get information about the current auth session. Requires auth.",
|
|
152426
152809
|
output: {
|
|
152427
152810
|
encoding: "application/json",
|
|
152428
152811
|
schema: {
|
|
@@ -152502,7 +152885,7 @@ var schemaDict = {
|
|
|
152502
152885
|
defs: {
|
|
152503
152886
|
main: {
|
|
152504
152887
|
type: "procedure",
|
|
152505
|
-
description: "Refresh an authentication session.",
|
|
152888
|
+
description: "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
|
|
152506
152889
|
output: {
|
|
152507
152890
|
encoding: "application/json",
|
|
152508
152891
|
schema: {
|
|
@@ -152607,7 +152990,7 @@ var schemaDict = {
|
|
|
152607
152990
|
defs: {
|
|
152608
152991
|
main: {
|
|
152609
152992
|
type: "procedure",
|
|
152610
|
-
description: "Reserve a repo signing key for account creation.",
|
|
152993
|
+
description: "Reserve a repo signing key, for use with account creation. Necessary so that a DID PLC update operation can be constructed during an account migraiton. Public and does not require auth; implemented by PDS. NOTE: this endpoint may change when full account migration is implemented.",
|
|
152611
152994
|
input: {
|
|
152612
152995
|
encoding: "application/json",
|
|
152613
152996
|
schema: {
|
|
@@ -152615,7 +152998,8 @@ var schemaDict = {
|
|
|
152615
152998
|
properties: {
|
|
152616
152999
|
did: {
|
|
152617
153000
|
type: "string",
|
|
152618
|
-
|
|
153001
|
+
format: "did",
|
|
153002
|
+
description: "The DID to reserve a key for."
|
|
152619
153003
|
}
|
|
152620
153004
|
}
|
|
152621
153005
|
}
|
|
@@ -152628,7 +153012,7 @@ var schemaDict = {
|
|
|
152628
153012
|
properties: {
|
|
152629
153013
|
signingKey: {
|
|
152630
153014
|
type: "string",
|
|
152631
|
-
description: "
|
|
153015
|
+
description: "The public key for the reserved signing key, in did:key serialization."
|
|
152632
153016
|
}
|
|
152633
153017
|
}
|
|
152634
153018
|
}
|
|
@@ -152734,7 +153118,7 @@ var schemaDict = {
|
|
|
152734
153118
|
defs: {
|
|
152735
153119
|
main: {
|
|
152736
153120
|
type: "query",
|
|
152737
|
-
description: "Get a blob associated with a given
|
|
153121
|
+
description: "Get a blob associated with a given account. Returns the full blob as originally uploaded. Does not require auth; implemented by PDS.",
|
|
152738
153122
|
parameters: {
|
|
152739
153123
|
type: "params",
|
|
152740
153124
|
required: ["did", "cid"],
|
|
@@ -152742,7 +153126,7 @@ var schemaDict = {
|
|
|
152742
153126
|
did: {
|
|
152743
153127
|
type: "string",
|
|
152744
153128
|
format: "did",
|
|
152745
|
-
description: "The DID of the
|
|
153129
|
+
description: "The DID of the account."
|
|
152746
153130
|
},
|
|
152747
153131
|
cid: {
|
|
152748
153132
|
type: "string",
|
|
@@ -152763,7 +153147,7 @@ var schemaDict = {
|
|
|
152763
153147
|
defs: {
|
|
152764
153148
|
main: {
|
|
152765
153149
|
type: "query",
|
|
152766
|
-
description: "Get blocks from a given repo.",
|
|
153150
|
+
description: "Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS.",
|
|
152767
153151
|
parameters: {
|
|
152768
153152
|
type: "params",
|
|
152769
153153
|
required: ["did", "cids"],
|
|
@@ -152857,7 +153241,7 @@ var schemaDict = {
|
|
|
152857
153241
|
defs: {
|
|
152858
153242
|
main: {
|
|
152859
153243
|
type: "query",
|
|
152860
|
-
description: "Get the current commit CID & revision of the repo.",
|
|
153244
|
+
description: "Get the current commit CID & revision of the specified repo. Does not require auth.",
|
|
152861
153245
|
parameters: {
|
|
152862
153246
|
type: "params",
|
|
152863
153247
|
required: ["did"],
|
|
@@ -152899,7 +153283,7 @@ var schemaDict = {
|
|
|
152899
153283
|
defs: {
|
|
152900
153284
|
main: {
|
|
152901
153285
|
type: "query",
|
|
152902
|
-
description: "Get blocks needed
|
|
153286
|
+
description: "Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth.",
|
|
152903
153287
|
parameters: {
|
|
152904
153288
|
type: "params",
|
|
152905
153289
|
required: ["did", "collection", "rkey"],
|
|
@@ -152914,7 +153298,8 @@ var schemaDict = {
|
|
|
152914
153298
|
format: "nsid"
|
|
152915
153299
|
},
|
|
152916
153300
|
rkey: {
|
|
152917
|
-
type: "string"
|
|
153301
|
+
type: "string",
|
|
153302
|
+
description: "Record Key"
|
|
152918
153303
|
},
|
|
152919
153304
|
commit: {
|
|
152920
153305
|
type: "string",
|
|
@@ -152935,7 +153320,7 @@ var schemaDict = {
|
|
|
152935
153320
|
defs: {
|
|
152936
153321
|
main: {
|
|
152937
153322
|
type: "query",
|
|
152938
|
-
description: "
|
|
153323
|
+
description: "Download a repository export as CAR file. Optionally only a 'diff' since a previous revision. Does not require auth; implemented by PDS.",
|
|
152939
153324
|
parameters: {
|
|
152940
153325
|
type: "params",
|
|
152941
153326
|
required: ["did"],
|
|
@@ -152947,7 +153332,7 @@ var schemaDict = {
|
|
|
152947
153332
|
},
|
|
152948
153333
|
since: {
|
|
152949
153334
|
type: "string",
|
|
152950
|
-
description: "The revision of the repo to
|
|
153335
|
+
description: "The revision ('rev') of the repo to create a diff from."
|
|
152951
153336
|
}
|
|
152952
153337
|
}
|
|
152953
153338
|
},
|
|
@@ -152963,7 +153348,7 @@ var schemaDict = {
|
|
|
152963
153348
|
defs: {
|
|
152964
153349
|
main: {
|
|
152965
153350
|
type: "query",
|
|
152966
|
-
description: "List blob
|
|
153351
|
+
description: "List blob CIDso for an account, since some repo revision. Does not require auth; implemented by PDS.",
|
|
152967
153352
|
parameters: {
|
|
152968
153353
|
type: "params",
|
|
152969
153354
|
required: ["did"],
|
|
@@ -153016,7 +153401,7 @@ var schemaDict = {
|
|
|
153016
153401
|
defs: {
|
|
153017
153402
|
main: {
|
|
153018
153403
|
type: "query",
|
|
153019
|
-
description: "
|
|
153404
|
+
description: "Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay.",
|
|
153020
153405
|
parameters: {
|
|
153021
153406
|
type: "params",
|
|
153022
153407
|
properties: {
|
|
@@ -153061,7 +153446,8 @@ var schemaDict = {
|
|
|
153061
153446
|
},
|
|
153062
153447
|
head: {
|
|
153063
153448
|
type: "string",
|
|
153064
|
-
format: "cid"
|
|
153449
|
+
format: "cid",
|
|
153450
|
+
description: "Current repo commit CID"
|
|
153065
153451
|
},
|
|
153066
153452
|
rev: {
|
|
153067
153453
|
type: "string"
|
|
@@ -153076,7 +153462,7 @@ var schemaDict = {
|
|
|
153076
153462
|
defs: {
|
|
153077
153463
|
main: {
|
|
153078
153464
|
type: "procedure",
|
|
153079
|
-
description: "Notify a crawling service of a recent update
|
|
153465
|
+
description: "Notify a crawling service of a recent update, and that crawling should resume. Intended use is after a gap between repo stream events caused the crawling service to disconnect. Does not require auth; implemented by Relay.",
|
|
153080
153466
|
input: {
|
|
153081
153467
|
encoding: "application/json",
|
|
153082
153468
|
schema: {
|
|
@@ -153085,7 +153471,7 @@ var schemaDict = {
|
|
|
153085
153471
|
properties: {
|
|
153086
153472
|
hostname: {
|
|
153087
153473
|
type: "string",
|
|
153088
|
-
description: "Hostname of the service that is notifying of update."
|
|
153474
|
+
description: "Hostname of the current service (usually a PDS) that is notifying of update."
|
|
153089
153475
|
}
|
|
153090
153476
|
}
|
|
153091
153477
|
}
|
|
@@ -153099,7 +153485,7 @@ var schemaDict = {
|
|
|
153099
153485
|
defs: {
|
|
153100
153486
|
main: {
|
|
153101
153487
|
type: "procedure",
|
|
153102
|
-
description: "Request a service to persistently crawl hosted repos.",
|
|
153488
|
+
description: "Request a service to persistently crawl hosted repos. Expected use is new PDS instances declaring their existence to Relays. Does not require auth.",
|
|
153103
153489
|
input: {
|
|
153104
153490
|
encoding: "application/json",
|
|
153105
153491
|
schema: {
|
|
@@ -153108,7 +153494,7 @@ var schemaDict = {
|
|
|
153108
153494
|
properties: {
|
|
153109
153495
|
hostname: {
|
|
153110
153496
|
type: "string",
|
|
153111
|
-
description: "Hostname of the service that is requesting to be crawled."
|
|
153497
|
+
description: "Hostname of the current service (eg, PDS) that is requesting to be crawled."
|
|
153112
153498
|
}
|
|
153113
153499
|
}
|
|
153114
153500
|
}
|
|
@@ -153122,13 +153508,13 @@ var schemaDict = {
|
|
|
153122
153508
|
defs: {
|
|
153123
153509
|
main: {
|
|
153124
153510
|
type: "subscription",
|
|
153125
|
-
description: "
|
|
153511
|
+
description: "Repository event stream, aka Firehose endpoint. Outputs repo commits with diff data, and identity update events, for all repositories on the current server. See the atproto specifications for details around stream sequencing, repo versioning, CAR diff format, and more. Public and does not require auth; implemented by PDS and Relay.",
|
|
153126
153512
|
parameters: {
|
|
153127
153513
|
type: "params",
|
|
153128
153514
|
properties: {
|
|
153129
153515
|
cursor: {
|
|
153130
153516
|
type: "integer",
|
|
153131
|
-
description: "The last known event to backfill from."
|
|
153517
|
+
description: "The last known event seq number to backfill from."
|
|
153132
153518
|
}
|
|
153133
153519
|
}
|
|
153134
153520
|
},
|
|
@@ -153149,12 +153535,14 @@ var schemaDict = {
|
|
|
153149
153535
|
name: "FutureCursor"
|
|
153150
153536
|
},
|
|
153151
153537
|
{
|
|
153152
|
-
name: "ConsumerTooSlow"
|
|
153538
|
+
name: "ConsumerTooSlow",
|
|
153539
|
+
description: "If the consumer of the stream can not keep up with events, and a backlog gets too large, the server will drop the connection."
|
|
153153
153540
|
}
|
|
153154
153541
|
]
|
|
153155
153542
|
},
|
|
153156
153543
|
commit: {
|
|
153157
153544
|
type: "object",
|
|
153545
|
+
description: "Represents an update of repository state. Note that empty commits are allowed, which include no repo data changes, but an update to rev and signature.",
|
|
153158
153546
|
required: [
|
|
153159
153547
|
"seq",
|
|
153160
153548
|
"rebase",
|
|
@@ -153171,59 +153559,69 @@ var schemaDict = {
|
|
|
153171
153559
|
nullable: ["prev", "since"],
|
|
153172
153560
|
properties: {
|
|
153173
153561
|
seq: {
|
|
153174
|
-
type: "integer"
|
|
153562
|
+
type: "integer",
|
|
153563
|
+
description: "The stream sequence number of this message."
|
|
153175
153564
|
},
|
|
153176
153565
|
rebase: {
|
|
153177
|
-
type: "boolean"
|
|
153566
|
+
type: "boolean",
|
|
153567
|
+
description: "DEPRECATED -- unused"
|
|
153178
153568
|
},
|
|
153179
153569
|
tooBig: {
|
|
153180
|
-
type: "boolean"
|
|
153570
|
+
type: "boolean",
|
|
153571
|
+
description: "Indicates that this commit contained too many ops, or data size was too large. Consumers will need to make a separate request to get missing data."
|
|
153181
153572
|
},
|
|
153182
153573
|
repo: {
|
|
153183
153574
|
type: "string",
|
|
153184
|
-
format: "did"
|
|
153575
|
+
format: "did",
|
|
153576
|
+
description: "The repo this event comes from."
|
|
153185
153577
|
},
|
|
153186
153578
|
commit: {
|
|
153187
|
-
type: "cid-link"
|
|
153579
|
+
type: "cid-link",
|
|
153580
|
+
description: "Repo commit object CID."
|
|
153188
153581
|
},
|
|
153189
153582
|
prev: {
|
|
153190
|
-
type: "cid-link"
|
|
153583
|
+
type: "cid-link",
|
|
153584
|
+
description: "DEPRECATED -- unused. WARNING -- nullable and optional; stick with optional to ensure golang interoperability."
|
|
153191
153585
|
},
|
|
153192
153586
|
rev: {
|
|
153193
153587
|
type: "string",
|
|
153194
|
-
description: "The rev of the emitted commit."
|
|
153588
|
+
description: "The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event."
|
|
153195
153589
|
},
|
|
153196
153590
|
since: {
|
|
153197
153591
|
type: "string",
|
|
153198
|
-
description: "The rev of the last emitted commit from this repo."
|
|
153592
|
+
description: "The rev of the last emitted commit from this repo (if any)."
|
|
153199
153593
|
},
|
|
153200
153594
|
blocks: {
|
|
153201
153595
|
type: "bytes",
|
|
153202
|
-
description: "CAR file containing relevant blocks.",
|
|
153596
|
+
description: "CAR file containing relevant blocks, as a diff since the previous repo state.",
|
|
153203
153597
|
maxLength: 1e6
|
|
153204
153598
|
},
|
|
153205
153599
|
ops: {
|
|
153206
153600
|
type: "array",
|
|
153207
153601
|
items: {
|
|
153208
153602
|
type: "ref",
|
|
153209
|
-
ref: "lex:com.atproto.sync.subscribeRepos#repoOp"
|
|
153603
|
+
ref: "lex:com.atproto.sync.subscribeRepos#repoOp",
|
|
153604
|
+
description: "List of repo mutation operations in this commit (eg, records created, updated, or deleted)."
|
|
153210
153605
|
},
|
|
153211
153606
|
maxLength: 200
|
|
153212
153607
|
},
|
|
153213
153608
|
blobs: {
|
|
153214
153609
|
type: "array",
|
|
153215
153610
|
items: {
|
|
153216
|
-
type: "cid-link"
|
|
153611
|
+
type: "cid-link",
|
|
153612
|
+
description: "List of new blobs (by CID) referenced by records in this commit."
|
|
153217
153613
|
}
|
|
153218
153614
|
},
|
|
153219
153615
|
time: {
|
|
153220
153616
|
type: "string",
|
|
153221
|
-
format: "datetime"
|
|
153617
|
+
format: "datetime",
|
|
153618
|
+
description: "Timestamp of when this message was originally broadcast."
|
|
153222
153619
|
}
|
|
153223
153620
|
}
|
|
153224
153621
|
},
|
|
153225
153622
|
handle: {
|
|
153226
153623
|
type: "object",
|
|
153624
|
+
description: "Represents an update of the account's handle, or transition to/from invalid state.",
|
|
153227
153625
|
required: ["seq", "did", "handle", "time"],
|
|
153228
153626
|
properties: {
|
|
153229
153627
|
seq: {
|
|
@@ -153245,6 +153643,7 @@ var schemaDict = {
|
|
|
153245
153643
|
},
|
|
153246
153644
|
migrate: {
|
|
153247
153645
|
type: "object",
|
|
153646
|
+
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; full account migration may introduce a new message instead.",
|
|
153248
153647
|
required: ["seq", "did", "migrateTo", "time"],
|
|
153249
153648
|
nullable: ["migrateTo"],
|
|
153250
153649
|
properties: {
|
|
@@ -153266,6 +153665,7 @@ var schemaDict = {
|
|
|
153266
153665
|
},
|
|
153267
153666
|
tombstone: {
|
|
153268
153667
|
type: "object",
|
|
153668
|
+
description: "Indicates that an account has been deleted.",
|
|
153269
153669
|
required: ["seq", "did", "time"],
|
|
153270
153670
|
properties: {
|
|
153271
153671
|
seq: {
|
|
@@ -153296,7 +153696,7 @@ var schemaDict = {
|
|
|
153296
153696
|
},
|
|
153297
153697
|
repoOp: {
|
|
153298
153698
|
type: "object",
|
|
153299
|
-
description: "A repo operation, ie a
|
|
153699
|
+
description: "A repo operation, ie a mutation of a single record.",
|
|
153300
153700
|
required: ["action", "path", "cid"],
|
|
153301
153701
|
nullable: ["cid"],
|
|
153302
153702
|
properties: {
|
|
@@ -153308,7 +153708,8 @@ var schemaDict = {
|
|
|
153308
153708
|
type: "string"
|
|
153309
153709
|
},
|
|
153310
153710
|
cid: {
|
|
153311
|
-
type: "cid-link"
|
|
153711
|
+
type: "cid-link",
|
|
153712
|
+
description: "For creates and updates, the new record CID. For deletions, null."
|
|
153312
153713
|
}
|
|
153313
153714
|
}
|
|
153314
153715
|
}
|
|
@@ -153348,7 +153749,7 @@ var schemaDict = {
|
|
|
153348
153749
|
defs: {
|
|
153349
153750
|
main: {
|
|
153350
153751
|
type: "query",
|
|
153351
|
-
description: "Fetch all labels from a labeler created after a certain date.",
|
|
153752
|
+
description: "Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead",
|
|
153352
153753
|
parameters: {
|
|
153353
153754
|
type: "params",
|
|
153354
153755
|
properties: {
|
|
@@ -153461,7 +153862,7 @@ var schemaDict = {
|
|
|
153461
153862
|
defs: {
|
|
153462
153863
|
main: {
|
|
153463
153864
|
type: "procedure",
|
|
153464
|
-
description: "Transfer an account.",
|
|
153865
|
+
description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
|
|
153465
153866
|
input: {
|
|
153466
153867
|
encoding: "application/json",
|
|
153467
153868
|
schema: {
|
|
@@ -153534,7 +153935,6 @@ var schemaDict = {
|
|
|
153534
153935
|
AppBskyActorDefs: {
|
|
153535
153936
|
lexicon: 1,
|
|
153536
153937
|
id: "app.bsky.actor.defs",
|
|
153537
|
-
description: "A reference to an actor in the network.",
|
|
153538
153938
|
defs: {
|
|
153539
153939
|
profileViewBasic: {
|
|
153540
153940
|
type: "object",
|
|
@@ -153667,6 +154067,7 @@ var schemaDict = {
|
|
|
153667
154067
|
},
|
|
153668
154068
|
viewerState: {
|
|
153669
154069
|
type: "object",
|
|
154070
|
+
description: "Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.",
|
|
153670
154071
|
properties: {
|
|
153671
154072
|
muted: {
|
|
153672
154073
|
type: "boolean"
|
|
@@ -153751,6 +154152,9 @@ var schemaDict = {
|
|
|
153751
154152
|
type: "string",
|
|
153752
154153
|
format: "at-uri"
|
|
153753
154154
|
}
|
|
154155
|
+
},
|
|
154156
|
+
timelineIndex: {
|
|
154157
|
+
type: "integer"
|
|
153754
154158
|
}
|
|
153755
154159
|
}
|
|
153756
154160
|
},
|
|
@@ -153832,7 +154236,7 @@ var schemaDict = {
|
|
|
153832
154236
|
defs: {
|
|
153833
154237
|
main: {
|
|
153834
154238
|
type: "query",
|
|
153835
|
-
description: "Get private preferences attached to the account.",
|
|
154239
|
+
description: "Get private preferences attached to the current account. Expected use is synchronization between multiple devices, and import/export during account migration. Requires auth.",
|
|
153836
154240
|
parameters: {
|
|
153837
154241
|
type: "params",
|
|
153838
154242
|
properties: {}
|
|
@@ -153859,14 +154263,15 @@ var schemaDict = {
|
|
|
153859
154263
|
defs: {
|
|
153860
154264
|
main: {
|
|
153861
154265
|
type: "query",
|
|
153862
|
-
description: "Get detailed profile view of an actor.",
|
|
154266
|
+
description: "Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth.",
|
|
153863
154267
|
parameters: {
|
|
153864
154268
|
type: "params",
|
|
153865
154269
|
required: ["actor"],
|
|
153866
154270
|
properties: {
|
|
153867
154271
|
actor: {
|
|
153868
154272
|
type: "string",
|
|
153869
|
-
format: "at-identifier"
|
|
154273
|
+
format: "at-identifier",
|
|
154274
|
+
description: "Handle or DID of account to fetch profile of."
|
|
153870
154275
|
}
|
|
153871
154276
|
}
|
|
153872
154277
|
},
|
|
@@ -153926,7 +154331,7 @@ var schemaDict = {
|
|
|
153926
154331
|
defs: {
|
|
153927
154332
|
main: {
|
|
153928
154333
|
type: "query",
|
|
153929
|
-
description: "Get a list of suggested actors
|
|
154334
|
+
description: "Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.",
|
|
153930
154335
|
parameters: {
|
|
153931
154336
|
type: "params",
|
|
153932
154337
|
properties: {
|
|
@@ -153969,7 +154374,7 @@ var schemaDict = {
|
|
|
153969
154374
|
defs: {
|
|
153970
154375
|
main: {
|
|
153971
154376
|
type: "record",
|
|
153972
|
-
description: "A declaration of a profile.",
|
|
154377
|
+
description: "A declaration of a Bluesky account profile.",
|
|
153973
154378
|
key: "literal:self",
|
|
153974
154379
|
record: {
|
|
153975
154380
|
type: "object",
|
|
@@ -153981,21 +154386,25 @@ var schemaDict = {
|
|
|
153981
154386
|
},
|
|
153982
154387
|
description: {
|
|
153983
154388
|
type: "string",
|
|
154389
|
+
description: "Free-form profile description text.",
|
|
153984
154390
|
maxGraphemes: 256,
|
|
153985
154391
|
maxLength: 2560
|
|
153986
154392
|
},
|
|
153987
154393
|
avatar: {
|
|
153988
154394
|
type: "blob",
|
|
154395
|
+
description: "Small image to be displayed next to posts from account. AKA, 'profile picture'",
|
|
153989
154396
|
accept: ["image/png", "image/jpeg"],
|
|
153990
154397
|
maxSize: 1e6
|
|
153991
154398
|
},
|
|
153992
154399
|
banner: {
|
|
153993
154400
|
type: "blob",
|
|
154401
|
+
description: "Larger horizontal image to display behind profile view.",
|
|
153994
154402
|
accept: ["image/png", "image/jpeg"],
|
|
153995
154403
|
maxSize: 1e6
|
|
153996
154404
|
},
|
|
153997
154405
|
labels: {
|
|
153998
154406
|
type: "union",
|
|
154407
|
+
description: "Self-label values, specific to the Bluesky application, on the overall account.",
|
|
153999
154408
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
154000
154409
|
}
|
|
154001
154410
|
}
|
|
@@ -154032,7 +154441,7 @@ var schemaDict = {
|
|
|
154032
154441
|
defs: {
|
|
154033
154442
|
main: {
|
|
154034
154443
|
type: "query",
|
|
154035
|
-
description: "Find actors (profiles) matching search criteria.",
|
|
154444
|
+
description: "Find actors (profiles) matching search criteria. Does not require auth.",
|
|
154036
154445
|
parameters: {
|
|
154037
154446
|
type: "params",
|
|
154038
154447
|
properties: {
|
|
@@ -154083,7 +154492,7 @@ var schemaDict = {
|
|
|
154083
154492
|
defs: {
|
|
154084
154493
|
main: {
|
|
154085
154494
|
type: "query",
|
|
154086
|
-
description: "Find actor suggestions for a prefix search term.",
|
|
154495
|
+
description: "Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require auth.",
|
|
154087
154496
|
parameters: {
|
|
154088
154497
|
type: "params",
|
|
154089
154498
|
properties: {
|
|
@@ -154125,10 +154534,10 @@ var schemaDict = {
|
|
|
154125
154534
|
AppBskyEmbedExternal: {
|
|
154126
154535
|
lexicon: 1,
|
|
154127
154536
|
id: "app.bsky.embed.external",
|
|
154128
|
-
description: "A representation of some externally linked content, embedded in another form of content.",
|
|
154129
154537
|
defs: {
|
|
154130
154538
|
main: {
|
|
154131
154539
|
type: "object",
|
|
154540
|
+
description: "A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).",
|
|
154132
154541
|
required: ["external"],
|
|
154133
154542
|
properties: {
|
|
154134
154543
|
external: {
|
|
@@ -154192,7 +154601,7 @@ var schemaDict = {
|
|
|
154192
154601
|
AppBskyEmbedImages: {
|
|
154193
154602
|
lexicon: 1,
|
|
154194
154603
|
id: "app.bsky.embed.images",
|
|
154195
|
-
description: "A set of images embedded in
|
|
154604
|
+
description: "A set of images embedded in a Bluesky record (eg, a post).",
|
|
154196
154605
|
defs: {
|
|
154197
154606
|
main: {
|
|
154198
154607
|
type: "object",
|
|
@@ -154218,7 +154627,8 @@ var schemaDict = {
|
|
|
154218
154627
|
maxSize: 1e6
|
|
154219
154628
|
},
|
|
154220
154629
|
alt: {
|
|
154221
|
-
type: "string"
|
|
154630
|
+
type: "string",
|
|
154631
|
+
description: "Alt text description of the image, for accessibility."
|
|
154222
154632
|
},
|
|
154223
154633
|
aspectRatio: {
|
|
154224
154634
|
type: "ref",
|
|
@@ -154260,13 +154670,16 @@ var schemaDict = {
|
|
|
154260
154670
|
required: ["thumb", "fullsize", "alt"],
|
|
154261
154671
|
properties: {
|
|
154262
154672
|
thumb: {
|
|
154263
|
-
type: "string"
|
|
154673
|
+
type: "string",
|
|
154674
|
+
description: "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View."
|
|
154264
154675
|
},
|
|
154265
154676
|
fullsize: {
|
|
154266
|
-
type: "string"
|
|
154677
|
+
type: "string",
|
|
154678
|
+
description: "Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View."
|
|
154267
154679
|
},
|
|
154268
154680
|
alt: {
|
|
154269
|
-
type: "string"
|
|
154681
|
+
type: "string",
|
|
154682
|
+
description: "Alt text description of the image, for accessibility."
|
|
154270
154683
|
},
|
|
154271
154684
|
aspectRatio: {
|
|
154272
154685
|
type: "ref",
|
|
@@ -154279,7 +154692,7 @@ var schemaDict = {
|
|
|
154279
154692
|
AppBskyEmbedRecord: {
|
|
154280
154693
|
lexicon: 1,
|
|
154281
154694
|
id: "app.bsky.embed.record",
|
|
154282
|
-
description: "A representation of a record embedded in
|
|
154695
|
+
description: "A representation of a record embedded in a Bluesky record (eg, a post). For example, a quote-post, or sharing a feed generator record.",
|
|
154283
154696
|
defs: {
|
|
154284
154697
|
main: {
|
|
154285
154698
|
type: "object",
|
|
@@ -154324,7 +154737,8 @@ var schemaDict = {
|
|
|
154324
154737
|
ref: "lex:app.bsky.actor.defs#profileViewBasic"
|
|
154325
154738
|
},
|
|
154326
154739
|
value: {
|
|
154327
|
-
type: "unknown"
|
|
154740
|
+
type: "unknown",
|
|
154741
|
+
description: "The record data itself."
|
|
154328
154742
|
},
|
|
154329
154743
|
labels: {
|
|
154330
154744
|
type: "array",
|
|
@@ -154388,7 +154802,7 @@ var schemaDict = {
|
|
|
154388
154802
|
AppBskyEmbedRecordWithMedia: {
|
|
154389
154803
|
lexicon: 1,
|
|
154390
154804
|
id: "app.bsky.embed.recordWithMedia",
|
|
154391
|
-
description: "A representation of a record embedded in
|
|
154805
|
+
description: "A representation of a record embedded in a Bluesky record (eg, a post), alongside other compatible embeds. For example, a quote post and image, or a quote post and external URL card.",
|
|
154392
154806
|
defs: {
|
|
154393
154807
|
main: {
|
|
154394
154808
|
type: "object",
|
|
@@ -154487,6 +154901,7 @@ var schemaDict = {
|
|
|
154487
154901
|
},
|
|
154488
154902
|
viewerState: {
|
|
154489
154903
|
type: "object",
|
|
154904
|
+
description: "Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.",
|
|
154490
154905
|
properties: {
|
|
154491
154906
|
repost: {
|
|
154492
154907
|
type: "string",
|
|
@@ -154746,7 +155161,7 @@ var schemaDict = {
|
|
|
154746
155161
|
defs: {
|
|
154747
155162
|
main: {
|
|
154748
155163
|
type: "query",
|
|
154749
|
-
description: "Get information about a feed generator, including policies and offered feed URIs.",
|
|
155164
|
+
description: "Get information about a feed generator, including policies and offered feed URIs. Does not require auth; implemented by Feed Generator services (not App View).",
|
|
154750
155165
|
output: {
|
|
154751
155166
|
encoding: "application/json",
|
|
154752
155167
|
schema: {
|
|
@@ -154801,7 +155216,7 @@ var schemaDict = {
|
|
|
154801
155216
|
defs: {
|
|
154802
155217
|
main: {
|
|
154803
155218
|
type: "record",
|
|
154804
|
-
description: "
|
|
155219
|
+
description: "Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository.",
|
|
154805
155220
|
key: "any",
|
|
154806
155221
|
record: {
|
|
154807
155222
|
type: "object",
|
|
@@ -154835,6 +155250,7 @@ var schemaDict = {
|
|
|
154835
155250
|
},
|
|
154836
155251
|
labels: {
|
|
154837
155252
|
type: "union",
|
|
155253
|
+
description: "Self-label values",
|
|
154838
155254
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
154839
155255
|
},
|
|
154840
155256
|
createdAt: {
|
|
@@ -154852,7 +155268,7 @@ var schemaDict = {
|
|
|
154852
155268
|
defs: {
|
|
154853
155269
|
main: {
|
|
154854
155270
|
type: "query",
|
|
154855
|
-
description: "Get a list of feeds created by the actor.",
|
|
155271
|
+
description: "Get a list of feeds (feed generator records) created by the actor (in the actor's repo).",
|
|
154856
155272
|
parameters: {
|
|
154857
155273
|
type: "params",
|
|
154858
155274
|
required: ["actor"],
|
|
@@ -154900,7 +155316,7 @@ var schemaDict = {
|
|
|
154900
155316
|
defs: {
|
|
154901
155317
|
main: {
|
|
154902
155318
|
type: "query",
|
|
154903
|
-
description: "Get a list of posts liked by an actor.",
|
|
155319
|
+
description: "Get a list of posts liked by an actor. Does not require auth.",
|
|
154904
155320
|
parameters: {
|
|
154905
155321
|
type: "params",
|
|
154906
155322
|
required: ["actor"],
|
|
@@ -154956,7 +155372,7 @@ var schemaDict = {
|
|
|
154956
155372
|
defs: {
|
|
154957
155373
|
main: {
|
|
154958
155374
|
type: "query",
|
|
154959
|
-
description: "Get a view of an actor's feed.",
|
|
155375
|
+
description: "Get a view of an actor's 'author feed' (post and reposts by the author). Does not require auth.",
|
|
154960
155376
|
parameters: {
|
|
154961
155377
|
type: "params",
|
|
154962
155378
|
required: ["actor"],
|
|
@@ -154976,6 +155392,7 @@ var schemaDict = {
|
|
|
154976
155392
|
},
|
|
154977
155393
|
filter: {
|
|
154978
155394
|
type: "string",
|
|
155395
|
+
description: "Combinations of post/repost types to include in response.",
|
|
154979
155396
|
knownValues: [
|
|
154980
155397
|
"posts_with_replies",
|
|
154981
155398
|
"posts_no_replies",
|
|
@@ -155022,7 +155439,7 @@ var schemaDict = {
|
|
|
155022
155439
|
defs: {
|
|
155023
155440
|
main: {
|
|
155024
155441
|
type: "query",
|
|
155025
|
-
description: "Get a hydrated feed from an actor's selected feed generator.",
|
|
155442
|
+
description: "Get a hydrated feed from an actor's selected feed generator. Implemented by App View.",
|
|
155026
155443
|
parameters: {
|
|
155027
155444
|
type: "params",
|
|
155028
155445
|
required: ["feed"],
|
|
@@ -155075,14 +155492,15 @@ var schemaDict = {
|
|
|
155075
155492
|
defs: {
|
|
155076
155493
|
main: {
|
|
155077
155494
|
type: "query",
|
|
155078
|
-
description: "Get information about a feed generator.",
|
|
155495
|
+
description: "Get information about a feed generator. Implemented by AppView.",
|
|
155079
155496
|
parameters: {
|
|
155080
155497
|
type: "params",
|
|
155081
155498
|
required: ["feed"],
|
|
155082
155499
|
properties: {
|
|
155083
155500
|
feed: {
|
|
155084
155501
|
type: "string",
|
|
155085
|
-
format: "at-uri"
|
|
155502
|
+
format: "at-uri",
|
|
155503
|
+
description: "AT-URI of the feed generator record."
|
|
155086
155504
|
}
|
|
155087
155505
|
}
|
|
155088
155506
|
},
|
|
@@ -155097,10 +155515,12 @@ var schemaDict = {
|
|
|
155097
155515
|
ref: "lex:app.bsky.feed.defs#generatorView"
|
|
155098
155516
|
},
|
|
155099
155517
|
isOnline: {
|
|
155100
|
-
type: "boolean"
|
|
155518
|
+
type: "boolean",
|
|
155519
|
+
description: "Indicates whether the feed generator service has been online recently, or else seems to be inactive."
|
|
155101
155520
|
},
|
|
155102
155521
|
isValid: {
|
|
155103
|
-
type: "boolean"
|
|
155522
|
+
type: "boolean",
|
|
155523
|
+
description: "Indicates whether the feed generator service is compatible with the record declaration."
|
|
155104
155524
|
}
|
|
155105
155525
|
}
|
|
155106
155526
|
}
|
|
@@ -155153,14 +155573,15 @@ var schemaDict = {
|
|
|
155153
155573
|
defs: {
|
|
155154
155574
|
main: {
|
|
155155
155575
|
type: "query",
|
|
155156
|
-
description: "Get a skeleton of a feed provided by a feed generator.",
|
|
155576
|
+
description: "Get a skeleton of a feed provided by a feed generator. Auth is optional, depending on provider requirements, and provides the DID of the requester. Implemented by Feed Generator Service.",
|
|
155157
155577
|
parameters: {
|
|
155158
155578
|
type: "params",
|
|
155159
155579
|
required: ["feed"],
|
|
155160
155580
|
properties: {
|
|
155161
155581
|
feed: {
|
|
155162
155582
|
type: "string",
|
|
155163
|
-
format: "at-uri"
|
|
155583
|
+
format: "at-uri",
|
|
155584
|
+
description: "Reference to feed generator record describing the specific feed being requested."
|
|
155164
155585
|
},
|
|
155165
155586
|
limit: {
|
|
155166
155587
|
type: "integer",
|
|
@@ -155206,18 +155627,20 @@ var schemaDict = {
|
|
|
155206
155627
|
defs: {
|
|
155207
155628
|
main: {
|
|
155208
155629
|
type: "query",
|
|
155209
|
-
description: "Get
|
|
155630
|
+
description: "Get like records which reference a subject (by AT-URI and CID).",
|
|
155210
155631
|
parameters: {
|
|
155211
155632
|
type: "params",
|
|
155212
155633
|
required: ["uri"],
|
|
155213
155634
|
properties: {
|
|
155214
155635
|
uri: {
|
|
155215
155636
|
type: "string",
|
|
155216
|
-
format: "at-uri"
|
|
155637
|
+
format: "at-uri",
|
|
155638
|
+
description: "AT-URI of the subject (eg, a post record)."
|
|
155217
155639
|
},
|
|
155218
155640
|
cid: {
|
|
155219
155641
|
type: "string",
|
|
155220
|
-
format: "cid"
|
|
155642
|
+
format: "cid",
|
|
155643
|
+
description: "CID of the subject record (aka, specific version of record), to filter likes."
|
|
155221
155644
|
},
|
|
155222
155645
|
limit: {
|
|
155223
155646
|
type: "integer",
|
|
@@ -155284,14 +155707,15 @@ var schemaDict = {
|
|
|
155284
155707
|
defs: {
|
|
155285
155708
|
main: {
|
|
155286
155709
|
type: "query",
|
|
155287
|
-
description: "Get a
|
|
155710
|
+
description: "Get a feed of recent posts from a list (posts and reposts from any actors on the list). Does not require auth.",
|
|
155288
155711
|
parameters: {
|
|
155289
155712
|
type: "params",
|
|
155290
155713
|
required: ["list"],
|
|
155291
155714
|
properties: {
|
|
155292
155715
|
list: {
|
|
155293
155716
|
type: "string",
|
|
155294
|
-
format: "at-uri"
|
|
155717
|
+
format: "at-uri",
|
|
155718
|
+
description: "Reference (AT-URI) to the list record."
|
|
155295
155719
|
},
|
|
155296
155720
|
limit: {
|
|
155297
155721
|
type: "integer",
|
|
@@ -155337,23 +155761,26 @@ var schemaDict = {
|
|
|
155337
155761
|
defs: {
|
|
155338
155762
|
main: {
|
|
155339
155763
|
type: "query",
|
|
155340
|
-
description: "Get posts in a thread.",
|
|
155764
|
+
description: "Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.",
|
|
155341
155765
|
parameters: {
|
|
155342
155766
|
type: "params",
|
|
155343
155767
|
required: ["uri"],
|
|
155344
155768
|
properties: {
|
|
155345
155769
|
uri: {
|
|
155346
155770
|
type: "string",
|
|
155347
|
-
format: "at-uri"
|
|
155771
|
+
format: "at-uri",
|
|
155772
|
+
description: "Reference (AT-URI) to post record."
|
|
155348
155773
|
},
|
|
155349
155774
|
depth: {
|
|
155350
155775
|
type: "integer",
|
|
155776
|
+
description: "How many levels of reply depth should be included in response.",
|
|
155351
155777
|
default: 6,
|
|
155352
155778
|
minimum: 0,
|
|
155353
155779
|
maximum: 1e3
|
|
155354
155780
|
},
|
|
155355
155781
|
parentHeight: {
|
|
155356
155782
|
type: "integer",
|
|
155783
|
+
description: "How many levels of parent (and grandparent, etc) post to include.",
|
|
155357
155784
|
default: 80,
|
|
155358
155785
|
minimum: 0,
|
|
155359
155786
|
maximum: 1e3
|
|
@@ -155391,13 +155818,14 @@ var schemaDict = {
|
|
|
155391
155818
|
defs: {
|
|
155392
155819
|
main: {
|
|
155393
155820
|
type: "query",
|
|
155394
|
-
description: "
|
|
155821
|
+
description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
|
|
155395
155822
|
parameters: {
|
|
155396
155823
|
type: "params",
|
|
155397
155824
|
required: ["uris"],
|
|
155398
155825
|
properties: {
|
|
155399
155826
|
uris: {
|
|
155400
155827
|
type: "array",
|
|
155828
|
+
description: "List of post AT-URIs to return hydrated views for.",
|
|
155401
155829
|
items: {
|
|
155402
155830
|
type: "string",
|
|
155403
155831
|
format: "at-uri"
|
|
@@ -155431,18 +155859,20 @@ var schemaDict = {
|
|
|
155431
155859
|
defs: {
|
|
155432
155860
|
main: {
|
|
155433
155861
|
type: "query",
|
|
155434
|
-
description: "Get a list of reposts.",
|
|
155862
|
+
description: "Get a list of reposts for a given post.",
|
|
155435
155863
|
parameters: {
|
|
155436
155864
|
type: "params",
|
|
155437
155865
|
required: ["uri"],
|
|
155438
155866
|
properties: {
|
|
155439
155867
|
uri: {
|
|
155440
155868
|
type: "string",
|
|
155441
|
-
format: "at-uri"
|
|
155869
|
+
format: "at-uri",
|
|
155870
|
+
description: "Reference (AT-URI) of post record"
|
|
155442
155871
|
},
|
|
155443
155872
|
cid: {
|
|
155444
155873
|
type: "string",
|
|
155445
|
-
format: "cid"
|
|
155874
|
+
format: "cid",
|
|
155875
|
+
description: "If supplied, filters to reposts of specific version (by CID) of the post record."
|
|
155446
155876
|
},
|
|
155447
155877
|
limit: {
|
|
155448
155878
|
type: "integer",
|
|
@@ -155491,7 +155921,7 @@ var schemaDict = {
|
|
|
155491
155921
|
defs: {
|
|
155492
155922
|
main: {
|
|
155493
155923
|
type: "query",
|
|
155494
|
-
description: "Get a list of suggested feeds for the
|
|
155924
|
+
description: "Get a list of suggested feeds (feed generators) for the requesting account.",
|
|
155495
155925
|
parameters: {
|
|
155496
155926
|
type: "params",
|
|
155497
155927
|
properties: {
|
|
@@ -155534,12 +155964,13 @@ var schemaDict = {
|
|
|
155534
155964
|
defs: {
|
|
155535
155965
|
main: {
|
|
155536
155966
|
type: "query",
|
|
155537
|
-
description: "Get a view of the
|
|
155967
|
+
description: "Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed.",
|
|
155538
155968
|
parameters: {
|
|
155539
155969
|
type: "params",
|
|
155540
155970
|
properties: {
|
|
155541
155971
|
algorithm: {
|
|
155542
|
-
type: "string"
|
|
155972
|
+
type: "string",
|
|
155973
|
+
description: "Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism."
|
|
155543
155974
|
},
|
|
155544
155975
|
limit: {
|
|
155545
155976
|
type: "integer",
|
|
@@ -155580,7 +156011,7 @@ var schemaDict = {
|
|
|
155580
156011
|
defs: {
|
|
155581
156012
|
main: {
|
|
155582
156013
|
type: "record",
|
|
155583
|
-
description: "
|
|
156014
|
+
description: "Record declaring a 'like' of a piece of subject content.",
|
|
155584
156015
|
key: "tid",
|
|
155585
156016
|
record: {
|
|
155586
156017
|
type: "object",
|
|
@@ -155605,7 +156036,7 @@ var schemaDict = {
|
|
|
155605
156036
|
defs: {
|
|
155606
156037
|
main: {
|
|
155607
156038
|
type: "record",
|
|
155608
|
-
description: "
|
|
156039
|
+
description: "Record containing a Bluesky post.",
|
|
155609
156040
|
key: "tid",
|
|
155610
156041
|
record: {
|
|
155611
156042
|
type: "object",
|
|
@@ -155614,11 +156045,12 @@ var schemaDict = {
|
|
|
155614
156045
|
text: {
|
|
155615
156046
|
type: "string",
|
|
155616
156047
|
maxLength: 3e3,
|
|
155617
|
-
maxGraphemes: 300
|
|
156048
|
+
maxGraphemes: 300,
|
|
156049
|
+
description: "The primary post content. May be an empty string, if there are embeds."
|
|
155618
156050
|
},
|
|
155619
156051
|
entities: {
|
|
155620
156052
|
type: "array",
|
|
155621
|
-
description: "
|
|
156053
|
+
description: "DEPRECATED: replaced by app.bsky.richtext.facet.",
|
|
155622
156054
|
items: {
|
|
155623
156055
|
type: "ref",
|
|
155624
156056
|
ref: "lex:app.bsky.feed.post#entity"
|
|
@@ -155626,6 +156058,7 @@ var schemaDict = {
|
|
|
155626
156058
|
},
|
|
155627
156059
|
facets: {
|
|
155628
156060
|
type: "array",
|
|
156061
|
+
description: "Annotations of text (mentions, URLs, hashtags, etc)",
|
|
155629
156062
|
items: {
|
|
155630
156063
|
type: "ref",
|
|
155631
156064
|
ref: "lex:app.bsky.richtext.facet"
|
|
@@ -155646,6 +156079,7 @@ var schemaDict = {
|
|
|
155646
156079
|
},
|
|
155647
156080
|
langs: {
|
|
155648
156081
|
type: "array",
|
|
156082
|
+
description: "Indicates human language of post primary text content.",
|
|
155649
156083
|
maxLength: 3,
|
|
155650
156084
|
items: {
|
|
155651
156085
|
type: "string",
|
|
@@ -155654,21 +156088,23 @@ var schemaDict = {
|
|
|
155654
156088
|
},
|
|
155655
156089
|
labels: {
|
|
155656
156090
|
type: "union",
|
|
156091
|
+
description: "Self-label values for this post. Effectively content warnings.",
|
|
155657
156092
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
155658
156093
|
},
|
|
155659
156094
|
tags: {
|
|
155660
156095
|
type: "array",
|
|
156096
|
+
description: "Additional non-inline tags describing this post.",
|
|
155661
156097
|
maxLength: 8,
|
|
155662
156098
|
items: {
|
|
155663
156099
|
type: "string",
|
|
155664
156100
|
maxLength: 640,
|
|
155665
156101
|
maxGraphemes: 64
|
|
155666
|
-
}
|
|
155667
|
-
description: "Additional non-inline tags describing this post."
|
|
156102
|
+
}
|
|
155668
156103
|
},
|
|
155669
156104
|
createdAt: {
|
|
155670
156105
|
type: "string",
|
|
155671
|
-
format: "datetime"
|
|
156106
|
+
format: "datetime",
|
|
156107
|
+
description: "Client-declared timestamp when this post was originally created."
|
|
155672
156108
|
}
|
|
155673
156109
|
}
|
|
155674
156110
|
}
|
|
@@ -155727,7 +156163,7 @@ var schemaDict = {
|
|
|
155727
156163
|
id: "app.bsky.feed.repost",
|
|
155728
156164
|
defs: {
|
|
155729
156165
|
main: {
|
|
155730
|
-
description: "
|
|
156166
|
+
description: "Record representing a 'repost' of an existing Bluesky post.",
|
|
155731
156167
|
type: "record",
|
|
155732
156168
|
key: "tid",
|
|
155733
156169
|
record: {
|
|
@@ -155753,7 +156189,7 @@ var schemaDict = {
|
|
|
155753
156189
|
defs: {
|
|
155754
156190
|
main: {
|
|
155755
156191
|
type: "query",
|
|
155756
|
-
description: "Find posts matching search criteria.",
|
|
156192
|
+
description: "Find posts matching search criteria, returning views of those posts.",
|
|
155757
156193
|
parameters: {
|
|
155758
156194
|
type: "params",
|
|
155759
156195
|
required: ["q"],
|
|
@@ -155812,14 +156248,15 @@ var schemaDict = {
|
|
|
155812
156248
|
main: {
|
|
155813
156249
|
type: "record",
|
|
155814
156250
|
key: "tid",
|
|
155815
|
-
description: "
|
|
156251
|
+
description: "Record defining interaction gating rules for a thread (aka, reply controls). The record key (rkey) of the threadgate record must match the record key of the thread's root post, and that record must be in the same repository..",
|
|
155816
156252
|
record: {
|
|
155817
156253
|
type: "object",
|
|
155818
156254
|
required: ["post", "createdAt"],
|
|
155819
156255
|
properties: {
|
|
155820
156256
|
post: {
|
|
155821
156257
|
type: "string",
|
|
155822
|
-
format: "at-uri"
|
|
156258
|
+
format: "at-uri",
|
|
156259
|
+
description: "Reference (AT-URI) to the post record."
|
|
155823
156260
|
},
|
|
155824
156261
|
allow: {
|
|
155825
156262
|
type: "array",
|
|
@@ -155869,7 +156306,7 @@ var schemaDict = {
|
|
|
155869
156306
|
defs: {
|
|
155870
156307
|
main: {
|
|
155871
156308
|
type: "record",
|
|
155872
|
-
description: "
|
|
156309
|
+
description: "Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details.",
|
|
155873
156310
|
key: "tid",
|
|
155874
156311
|
record: {
|
|
155875
156312
|
type: "object",
|
|
@@ -155877,7 +156314,8 @@ var schemaDict = {
|
|
|
155877
156314
|
properties: {
|
|
155878
156315
|
subject: {
|
|
155879
156316
|
type: "string",
|
|
155880
|
-
format: "did"
|
|
156317
|
+
format: "did",
|
|
156318
|
+
description: "DID of the account to be blocked."
|
|
155881
156319
|
},
|
|
155882
156320
|
createdAt: {
|
|
155883
156321
|
type: "string",
|
|
@@ -156061,7 +156499,7 @@ var schemaDict = {
|
|
|
156061
156499
|
defs: {
|
|
156062
156500
|
main: {
|
|
156063
156501
|
type: "record",
|
|
156064
|
-
description: "
|
|
156502
|
+
description: "Record declaring a social 'follow' relationship of another account. Duplicate follows will be ignored by the AppView.",
|
|
156065
156503
|
key: "tid",
|
|
156066
156504
|
record: {
|
|
156067
156505
|
type: "object",
|
|
@@ -156086,7 +156524,7 @@ var schemaDict = {
|
|
|
156086
156524
|
defs: {
|
|
156087
156525
|
main: {
|
|
156088
156526
|
type: "query",
|
|
156089
|
-
description: "
|
|
156527
|
+
description: "Enumerates which accounts the requesting account is currently blocking. Requires auth.",
|
|
156090
156528
|
parameters: {
|
|
156091
156529
|
type: "params",
|
|
156092
156530
|
properties: {
|
|
@@ -156129,7 +156567,7 @@ var schemaDict = {
|
|
|
156129
156567
|
defs: {
|
|
156130
156568
|
main: {
|
|
156131
156569
|
type: "query",
|
|
156132
|
-
description: "
|
|
156570
|
+
description: "Enumerates accounts which follow a specified account (actor).",
|
|
156133
156571
|
parameters: {
|
|
156134
156572
|
type: "params",
|
|
156135
156573
|
required: ["actor"],
|
|
@@ -156181,7 +156619,7 @@ var schemaDict = {
|
|
|
156181
156619
|
defs: {
|
|
156182
156620
|
main: {
|
|
156183
156621
|
type: "query",
|
|
156184
|
-
description: "
|
|
156622
|
+
description: "Enumerates accounts which a specified account (actor) follows.",
|
|
156185
156623
|
parameters: {
|
|
156186
156624
|
type: "params",
|
|
156187
156625
|
required: ["actor"],
|
|
@@ -156233,14 +156671,15 @@ var schemaDict = {
|
|
|
156233
156671
|
defs: {
|
|
156234
156672
|
main: {
|
|
156235
156673
|
type: "query",
|
|
156236
|
-
description: "
|
|
156674
|
+
description: "Gets a 'view' (with additional context) of a specified list.",
|
|
156237
156675
|
parameters: {
|
|
156238
156676
|
type: "params",
|
|
156239
156677
|
required: ["list"],
|
|
156240
156678
|
properties: {
|
|
156241
156679
|
list: {
|
|
156242
156680
|
type: "string",
|
|
156243
|
-
format: "at-uri"
|
|
156681
|
+
format: "at-uri",
|
|
156682
|
+
description: "Reference (AT-URI) of the list record to hydrate."
|
|
156244
156683
|
},
|
|
156245
156684
|
limit: {
|
|
156246
156685
|
type: "integer",
|
|
@@ -156285,7 +156724,7 @@ var schemaDict = {
|
|
|
156285
156724
|
defs: {
|
|
156286
156725
|
main: {
|
|
156287
156726
|
type: "query",
|
|
156288
|
-
description: "Get lists that the actor is blocking.",
|
|
156727
|
+
description: "Get mod lists that the requesting account (actor) is blocking. Requires auth.",
|
|
156289
156728
|
parameters: {
|
|
156290
156729
|
type: "params",
|
|
156291
156730
|
properties: {
|
|
@@ -156328,7 +156767,7 @@ var schemaDict = {
|
|
|
156328
156767
|
defs: {
|
|
156329
156768
|
main: {
|
|
156330
156769
|
type: "query",
|
|
156331
|
-
description: "
|
|
156770
|
+
description: "Enumerates mod lists that the requesting account (actor) currently has muted. Requires auth.",
|
|
156332
156771
|
parameters: {
|
|
156333
156772
|
type: "params",
|
|
156334
156773
|
properties: {
|
|
@@ -156371,14 +156810,15 @@ var schemaDict = {
|
|
|
156371
156810
|
defs: {
|
|
156372
156811
|
main: {
|
|
156373
156812
|
type: "query",
|
|
156374
|
-
description: "
|
|
156813
|
+
description: "Enumerates the lists created by a specified account (actor).",
|
|
156375
156814
|
parameters: {
|
|
156376
156815
|
type: "params",
|
|
156377
156816
|
required: ["actor"],
|
|
156378
156817
|
properties: {
|
|
156379
156818
|
actor: {
|
|
156380
156819
|
type: "string",
|
|
156381
|
-
format: "at-identifier"
|
|
156820
|
+
format: "at-identifier",
|
|
156821
|
+
description: "The account (actor) to enumerate lists from."
|
|
156382
156822
|
},
|
|
156383
156823
|
limit: {
|
|
156384
156824
|
type: "integer",
|
|
@@ -156419,7 +156859,7 @@ var schemaDict = {
|
|
|
156419
156859
|
defs: {
|
|
156420
156860
|
main: {
|
|
156421
156861
|
type: "query",
|
|
156422
|
-
description: "
|
|
156862
|
+
description: "Enumerates accounts that the requesting account (actor) currently has muted. Requires auth.",
|
|
156423
156863
|
parameters: {
|
|
156424
156864
|
type: "params",
|
|
156425
156865
|
properties: {
|
|
@@ -156462,17 +156902,19 @@ var schemaDict = {
|
|
|
156462
156902
|
defs: {
|
|
156463
156903
|
main: {
|
|
156464
156904
|
type: "query",
|
|
156465
|
-
description: "Enumerates public relationships between one account, and a list of other accounts",
|
|
156905
|
+
description: "Enumerates public relationships between one account, and a list of other accounts. Does not require auth.",
|
|
156466
156906
|
parameters: {
|
|
156467
156907
|
type: "params",
|
|
156468
156908
|
required: ["actor"],
|
|
156469
156909
|
properties: {
|
|
156470
156910
|
actor: {
|
|
156471
156911
|
type: "string",
|
|
156472
|
-
format: "at-identifier"
|
|
156912
|
+
format: "at-identifier",
|
|
156913
|
+
description: "Primary account requesting relationships for."
|
|
156473
156914
|
},
|
|
156474
156915
|
others: {
|
|
156475
156916
|
type: "array",
|
|
156917
|
+
description: "List of 'other' accounts to be related back to the primary.",
|
|
156476
156918
|
maxLength: 30,
|
|
156477
156919
|
items: {
|
|
156478
156920
|
type: "string",
|
|
@@ -156519,7 +156961,7 @@ var schemaDict = {
|
|
|
156519
156961
|
defs: {
|
|
156520
156962
|
main: {
|
|
156521
156963
|
type: "query",
|
|
156522
|
-
description: "
|
|
156964
|
+
description: "Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.",
|
|
156523
156965
|
parameters: {
|
|
156524
156966
|
type: "params",
|
|
156525
156967
|
required: ["actor"],
|
|
@@ -156555,7 +156997,7 @@ var schemaDict = {
|
|
|
156555
156997
|
defs: {
|
|
156556
156998
|
main: {
|
|
156557
156999
|
type: "record",
|
|
156558
|
-
description: "
|
|
157000
|
+
description: "Record representing a list of accounts (actors). Scope includes both moderation-oriented lists and curration-oriented lists.",
|
|
156559
157001
|
key: "tid",
|
|
156560
157002
|
record: {
|
|
156561
157003
|
type: "object",
|
|
@@ -156563,12 +157005,14 @@ var schemaDict = {
|
|
|
156563
157005
|
properties: {
|
|
156564
157006
|
purpose: {
|
|
156565
157007
|
type: "ref",
|
|
157008
|
+
description: "Defines the purpose of the list (aka, moderation-oriented or curration-oriented)",
|
|
156566
157009
|
ref: "lex:app.bsky.graph.defs#listPurpose"
|
|
156567
157010
|
},
|
|
156568
157011
|
name: {
|
|
156569
157012
|
type: "string",
|
|
156570
157013
|
maxLength: 64,
|
|
156571
|
-
minLength: 1
|
|
157014
|
+
minLength: 1,
|
|
157015
|
+
description: "Display name for list; can not be empty."
|
|
156572
157016
|
},
|
|
156573
157017
|
description: {
|
|
156574
157018
|
type: "string",
|
|
@@ -156606,7 +157050,7 @@ var schemaDict = {
|
|
|
156606
157050
|
defs: {
|
|
156607
157051
|
main: {
|
|
156608
157052
|
type: "record",
|
|
156609
|
-
description: "
|
|
157053
|
+
description: "Record representing a block relationship against an entire an entire list of accounts (actors).",
|
|
156610
157054
|
key: "tid",
|
|
156611
157055
|
record: {
|
|
156612
157056
|
type: "object",
|
|
@@ -156614,7 +157058,8 @@ var schemaDict = {
|
|
|
156614
157058
|
properties: {
|
|
156615
157059
|
subject: {
|
|
156616
157060
|
type: "string",
|
|
156617
|
-
format: "at-uri"
|
|
157061
|
+
format: "at-uri",
|
|
157062
|
+
description: "Reference (AT-URI) to the mod list record."
|
|
156618
157063
|
},
|
|
156619
157064
|
createdAt: {
|
|
156620
157065
|
type: "string",
|
|
@@ -156631,7 +157076,7 @@ var schemaDict = {
|
|
|
156631
157076
|
defs: {
|
|
156632
157077
|
main: {
|
|
156633
157078
|
type: "record",
|
|
156634
|
-
description: "
|
|
157079
|
+
description: "Record representing an account's inclusion on a specific list. The AppView will ignore duplicate listitem records.",
|
|
156635
157080
|
key: "tid",
|
|
156636
157081
|
record: {
|
|
156637
157082
|
type: "object",
|
|
@@ -156639,11 +157084,13 @@ var schemaDict = {
|
|
|
156639
157084
|
properties: {
|
|
156640
157085
|
subject: {
|
|
156641
157086
|
type: "string",
|
|
156642
|
-
format: "did"
|
|
157087
|
+
format: "did",
|
|
157088
|
+
description: "The account which is included on the list."
|
|
156643
157089
|
},
|
|
156644
157090
|
list: {
|
|
156645
157091
|
type: "string",
|
|
156646
|
-
format: "at-uri"
|
|
157092
|
+
format: "at-uri",
|
|
157093
|
+
description: "Reference (AT-URI) to the list record (app.bsky.graph.list)."
|
|
156647
157094
|
},
|
|
156648
157095
|
createdAt: {
|
|
156649
157096
|
type: "string",
|
|
@@ -156660,7 +157107,7 @@ var schemaDict = {
|
|
|
156660
157107
|
defs: {
|
|
156661
157108
|
main: {
|
|
156662
157109
|
type: "procedure",
|
|
156663
|
-
description: "
|
|
157110
|
+
description: "Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth.",
|
|
156664
157111
|
input: {
|
|
156665
157112
|
encoding: "application/json",
|
|
156666
157113
|
schema: {
|
|
@@ -156683,7 +157130,7 @@ var schemaDict = {
|
|
|
156683
157130
|
defs: {
|
|
156684
157131
|
main: {
|
|
156685
157132
|
type: "procedure",
|
|
156686
|
-
description: "
|
|
157133
|
+
description: "Creates a mute relationship for the specified list of accounts. Mutes are private in Bluesky. Requires auth.",
|
|
156687
157134
|
input: {
|
|
156688
157135
|
encoding: "application/json",
|
|
156689
157136
|
schema: {
|
|
@@ -156706,7 +157153,7 @@ var schemaDict = {
|
|
|
156706
157153
|
defs: {
|
|
156707
157154
|
main: {
|
|
156708
157155
|
type: "procedure",
|
|
156709
|
-
description: "
|
|
157156
|
+
description: "Unmutes the specified account. Requires auth.",
|
|
156710
157157
|
input: {
|
|
156711
157158
|
encoding: "application/json",
|
|
156712
157159
|
schema: {
|
|
@@ -156729,7 +157176,7 @@ var schemaDict = {
|
|
|
156729
157176
|
defs: {
|
|
156730
157177
|
main: {
|
|
156731
157178
|
type: "procedure",
|
|
156732
|
-
description: "
|
|
157179
|
+
description: "Unmutes the specified list of accounts. Requires auth.",
|
|
156733
157180
|
input: {
|
|
156734
157181
|
encoding: "application/json",
|
|
156735
157182
|
schema: {
|
|
@@ -156752,7 +157199,7 @@ var schemaDict = {
|
|
|
156752
157199
|
defs: {
|
|
156753
157200
|
main: {
|
|
156754
157201
|
type: "query",
|
|
156755
|
-
description: "
|
|
157202
|
+
description: "Count the number of unread notifications for the requesting account. Requires auth.",
|
|
156756
157203
|
parameters: {
|
|
156757
157204
|
type: "params",
|
|
156758
157205
|
properties: {
|
|
@@ -156783,7 +157230,7 @@ var schemaDict = {
|
|
|
156783
157230
|
defs: {
|
|
156784
157231
|
main: {
|
|
156785
157232
|
type: "query",
|
|
156786
|
-
description: "
|
|
157233
|
+
description: "Enumerate notifications for the requesting account. Requires auth.",
|
|
156787
157234
|
parameters: {
|
|
156788
157235
|
type: "params",
|
|
156789
157236
|
properties: {
|
|
@@ -156893,7 +157340,7 @@ var schemaDict = {
|
|
|
156893
157340
|
defs: {
|
|
156894
157341
|
main: {
|
|
156895
157342
|
type: "procedure",
|
|
156896
|
-
description: "Register
|
|
157343
|
+
description: "Register to receive push notifications, via a specified service, for the requesting account. Requires auth.",
|
|
156897
157344
|
input: {
|
|
156898
157345
|
encoding: "application/json",
|
|
156899
157346
|
schema: {
|
|
@@ -156926,7 +157373,7 @@ var schemaDict = {
|
|
|
156926
157373
|
defs: {
|
|
156927
157374
|
main: {
|
|
156928
157375
|
type: "procedure",
|
|
156929
|
-
description: "Notify server that the
|
|
157376
|
+
description: "Notify server that the requesting account has seen notifications. Requires auth.",
|
|
156930
157377
|
input: {
|
|
156931
157378
|
encoding: "application/json",
|
|
156932
157379
|
schema: {
|
|
@@ -156949,6 +157396,7 @@ var schemaDict = {
|
|
|
156949
157396
|
defs: {
|
|
156950
157397
|
main: {
|
|
156951
157398
|
type: "object",
|
|
157399
|
+
description: "Annotation of a sub-string within rich text.",
|
|
156952
157400
|
required: ["index", "features"],
|
|
156953
157401
|
properties: {
|
|
156954
157402
|
index: {
|
|
@@ -156970,7 +157418,7 @@ var schemaDict = {
|
|
|
156970
157418
|
},
|
|
156971
157419
|
mention: {
|
|
156972
157420
|
type: "object",
|
|
156973
|
-
description: "
|
|
157421
|
+
description: "Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.",
|
|
156974
157422
|
required: ["did"],
|
|
156975
157423
|
properties: {
|
|
156976
157424
|
did: {
|
|
@@ -156981,7 +157429,7 @@ var schemaDict = {
|
|
|
156981
157429
|
},
|
|
156982
157430
|
link: {
|
|
156983
157431
|
type: "object",
|
|
156984
|
-
description: "
|
|
157432
|
+
description: "Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.",
|
|
156985
157433
|
required: ["uri"],
|
|
156986
157434
|
properties: {
|
|
156987
157435
|
uri: {
|
|
@@ -156992,7 +157440,7 @@ var schemaDict = {
|
|
|
156992
157440
|
},
|
|
156993
157441
|
tag: {
|
|
156994
157442
|
type: "object",
|
|
156995
|
-
description: "
|
|
157443
|
+
description: "Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags').",
|
|
156996
157444
|
required: ["tag"],
|
|
156997
157445
|
properties: {
|
|
156998
157446
|
tag: {
|
|
@@ -157004,7 +157452,7 @@ var schemaDict = {
|
|
|
157004
157452
|
},
|
|
157005
157453
|
byteSlice: {
|
|
157006
157454
|
type: "object",
|
|
157007
|
-
description: "
|
|
157455
|
+
description: "Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.",
|
|
157008
157456
|
required: ["byteStart", "byteEnd"],
|
|
157009
157457
|
properties: {
|
|
157010
157458
|
byteStart: {
|
|
@@ -161311,6 +161759,12 @@ var schemaDict2 = {
|
|
|
161311
161759
|
suspendUntil: {
|
|
161312
161760
|
type: "string",
|
|
161313
161761
|
format: "datetime"
|
|
161762
|
+
},
|
|
161763
|
+
tags: {
|
|
161764
|
+
type: "array",
|
|
161765
|
+
items: {
|
|
161766
|
+
type: "string"
|
|
161767
|
+
}
|
|
161314
161768
|
}
|
|
161315
161769
|
}
|
|
161316
161770
|
},
|
|
@@ -161902,6 +162356,31 @@ var schemaDict2 = {
|
|
|
161902
162356
|
}
|
|
161903
162357
|
}
|
|
161904
162358
|
},
|
|
162359
|
+
modEventTag: {
|
|
162360
|
+
type: "object",
|
|
162361
|
+
description: "Add/Remove a tag on a subject",
|
|
162362
|
+
required: ["add", "remove"],
|
|
162363
|
+
properties: {
|
|
162364
|
+
add: {
|
|
162365
|
+
type: "array",
|
|
162366
|
+
items: {
|
|
162367
|
+
type: "string"
|
|
162368
|
+
},
|
|
162369
|
+
description: "Tags to be added to the subject. If already exists, won't be duplicated."
|
|
162370
|
+
},
|
|
162371
|
+
remove: {
|
|
162372
|
+
type: "array",
|
|
162373
|
+
items: {
|
|
162374
|
+
type: "string"
|
|
162375
|
+
},
|
|
162376
|
+
description: "Tags to be removed to the subject. Ignores a tag If it doesn't exist, won't be duplicated."
|
|
162377
|
+
},
|
|
162378
|
+
comment: {
|
|
162379
|
+
type: "string",
|
|
162380
|
+
description: "Additional comment about added/removed tags."
|
|
162381
|
+
}
|
|
162382
|
+
}
|
|
162383
|
+
},
|
|
161905
162384
|
communicationTemplateView: {
|
|
161906
162385
|
type: "object",
|
|
161907
162386
|
required: [
|
|
@@ -162076,7 +162555,8 @@ var schemaDict2 = {
|
|
|
162076
162555
|
"lex:com.atproto.admin.defs#modEventMute",
|
|
162077
162556
|
"lex:com.atproto.admin.defs#modEventReverseTakedown",
|
|
162078
162557
|
"lex:com.atproto.admin.defs#modEventUnmute",
|
|
162079
|
-
"lex:com.atproto.admin.defs#modEventEmail"
|
|
162558
|
+
"lex:com.atproto.admin.defs#modEventEmail",
|
|
162559
|
+
"lex:com.atproto.admin.defs#modEventTag"
|
|
162080
162560
|
]
|
|
162081
162561
|
},
|
|
162082
162562
|
subject: {
|
|
@@ -162498,6 +162978,20 @@ var schemaDict2 = {
|
|
|
162498
162978
|
},
|
|
162499
162979
|
description: "If specified, only events where all of these labels were removed are returned"
|
|
162500
162980
|
},
|
|
162981
|
+
addedTags: {
|
|
162982
|
+
type: "array",
|
|
162983
|
+
items: {
|
|
162984
|
+
type: "string"
|
|
162985
|
+
},
|
|
162986
|
+
description: "If specified, only events where all of these tags were added are returned"
|
|
162987
|
+
},
|
|
162988
|
+
removedTags: {
|
|
162989
|
+
type: "array",
|
|
162990
|
+
items: {
|
|
162991
|
+
type: "string"
|
|
162992
|
+
},
|
|
162993
|
+
description: "If specified, only events where all of these tags were removed are returned"
|
|
162994
|
+
},
|
|
162501
162995
|
reportTypes: {
|
|
162502
162996
|
type: "array",
|
|
162503
162997
|
items: {
|
|
@@ -162613,6 +163107,18 @@ var schemaDict2 = {
|
|
|
162613
163107
|
maximum: 100,
|
|
162614
163108
|
default: 50
|
|
162615
163109
|
},
|
|
163110
|
+
tags: {
|
|
163111
|
+
type: "array",
|
|
163112
|
+
items: {
|
|
163113
|
+
type: "string"
|
|
163114
|
+
}
|
|
163115
|
+
},
|
|
163116
|
+
excludeTags: {
|
|
163117
|
+
type: "array",
|
|
163118
|
+
items: {
|
|
163119
|
+
type: "string"
|
|
163120
|
+
}
|
|
163121
|
+
},
|
|
162616
163122
|
cursor: {
|
|
162617
163123
|
type: "string"
|
|
162618
163124
|
}
|
|
@@ -162901,7 +163407,7 @@ var schemaDict2 = {
|
|
|
162901
163407
|
defs: {
|
|
162902
163408
|
main: {
|
|
162903
163409
|
type: "query",
|
|
162904
|
-
description: "
|
|
163410
|
+
description: "Resolves a handle (domain name) to a DID.",
|
|
162905
163411
|
parameters: {
|
|
162906
163412
|
type: "params",
|
|
162907
163413
|
required: ["handle"],
|
|
@@ -162935,7 +163441,7 @@ var schemaDict2 = {
|
|
|
162935
163441
|
defs: {
|
|
162936
163442
|
main: {
|
|
162937
163443
|
type: "procedure",
|
|
162938
|
-
description: "Updates the handle
|
|
163444
|
+
description: "Updates the current account's handle. Verifies handle validity, and updates did:plc document if necessary. Implemented by PDS, and requires auth.",
|
|
162939
163445
|
input: {
|
|
162940
163446
|
encoding: "application/json",
|
|
162941
163447
|
schema: {
|
|
@@ -162944,7 +163450,8 @@ var schemaDict2 = {
|
|
|
162944
163450
|
properties: {
|
|
162945
163451
|
handle: {
|
|
162946
163452
|
type: "string",
|
|
162947
|
-
format: "handle"
|
|
163453
|
+
format: "handle",
|
|
163454
|
+
description: "The new handle."
|
|
162948
163455
|
}
|
|
162949
163456
|
}
|
|
162950
163457
|
}
|
|
@@ -163027,7 +163534,7 @@ var schemaDict2 = {
|
|
|
163027
163534
|
defs: {
|
|
163028
163535
|
main: {
|
|
163029
163536
|
type: "query",
|
|
163030
|
-
description: "Find labels relevant to the provided URI patterns.",
|
|
163537
|
+
description: "Find labels relevant to the provided AT-URI patterns. Public endpoint for moderation services, though may return different or additional results with auth.",
|
|
163031
163538
|
parameters: {
|
|
163032
163539
|
type: "params",
|
|
163033
163540
|
required: ["uriPatterns"],
|
|
@@ -163086,13 +163593,13 @@ var schemaDict2 = {
|
|
|
163086
163593
|
defs: {
|
|
163087
163594
|
main: {
|
|
163088
163595
|
type: "subscription",
|
|
163089
|
-
description: "Subscribe to
|
|
163596
|
+
description: "Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream.",
|
|
163090
163597
|
parameters: {
|
|
163091
163598
|
type: "params",
|
|
163092
163599
|
properties: {
|
|
163093
163600
|
cursor: {
|
|
163094
163601
|
type: "integer",
|
|
163095
|
-
description: "The last known event to backfill from."
|
|
163602
|
+
description: "The last known event seq number to backfill from."
|
|
163096
163603
|
}
|
|
163097
163604
|
}
|
|
163098
163605
|
},
|
|
@@ -163148,7 +163655,7 @@ var schemaDict2 = {
|
|
|
163148
163655
|
defs: {
|
|
163149
163656
|
main: {
|
|
163150
163657
|
type: "procedure",
|
|
163151
|
-
description: "
|
|
163658
|
+
description: "Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.",
|
|
163152
163659
|
input: {
|
|
163153
163660
|
encoding: "application/json",
|
|
163154
163661
|
schema: {
|
|
@@ -163157,10 +163664,12 @@ var schemaDict2 = {
|
|
|
163157
163664
|
properties: {
|
|
163158
163665
|
reasonType: {
|
|
163159
163666
|
type: "ref",
|
|
163667
|
+
description: "Indicates the broad category of violation the report is for.",
|
|
163160
163668
|
ref: "lex:com.atproto.moderation.defs#reasonType"
|
|
163161
163669
|
},
|
|
163162
163670
|
reason: {
|
|
163163
|
-
type: "string"
|
|
163671
|
+
type: "string",
|
|
163672
|
+
description: "Additional context about the content and violation."
|
|
163164
163673
|
},
|
|
163165
163674
|
subject: {
|
|
163166
163675
|
type: "union",
|
|
@@ -163269,7 +163778,7 @@ var schemaDict2 = {
|
|
|
163269
163778
|
defs: {
|
|
163270
163779
|
main: {
|
|
163271
163780
|
type: "procedure",
|
|
163272
|
-
description: "Apply a batch transaction of creates, updates, and deletes.",
|
|
163781
|
+
description: "Apply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.",
|
|
163273
163782
|
input: {
|
|
163274
163783
|
encoding: "application/json",
|
|
163275
163784
|
schema: {
|
|
@@ -163279,12 +163788,12 @@ var schemaDict2 = {
|
|
|
163279
163788
|
repo: {
|
|
163280
163789
|
type: "string",
|
|
163281
163790
|
format: "at-identifier",
|
|
163282
|
-
description: "The handle or DID of the repo."
|
|
163791
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
163283
163792
|
},
|
|
163284
163793
|
validate: {
|
|
163285
163794
|
type: "boolean",
|
|
163286
163795
|
default: true,
|
|
163287
|
-
description: "
|
|
163796
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data, for all operations."
|
|
163288
163797
|
},
|
|
163289
163798
|
writes: {
|
|
163290
163799
|
type: "array",
|
|
@@ -163300,6 +163809,7 @@ var schemaDict2 = {
|
|
|
163300
163809
|
},
|
|
163301
163810
|
swapCommit: {
|
|
163302
163811
|
type: "string",
|
|
163812
|
+
description: "If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations.",
|
|
163303
163813
|
format: "cid"
|
|
163304
163814
|
}
|
|
163305
163815
|
}
|
|
@@ -163307,13 +163817,14 @@ var schemaDict2 = {
|
|
|
163307
163817
|
},
|
|
163308
163818
|
errors: [
|
|
163309
163819
|
{
|
|
163310
|
-
name: "InvalidSwap"
|
|
163820
|
+
name: "InvalidSwap",
|
|
163821
|
+
description: "Indicates that the 'swapCommit' parameter did not match current commit."
|
|
163311
163822
|
}
|
|
163312
163823
|
]
|
|
163313
163824
|
},
|
|
163314
163825
|
create: {
|
|
163315
163826
|
type: "object",
|
|
163316
|
-
description: "
|
|
163827
|
+
description: "Operation which creates a new record.",
|
|
163317
163828
|
required: ["collection", "value"],
|
|
163318
163829
|
properties: {
|
|
163319
163830
|
collection: {
|
|
@@ -163331,7 +163842,7 @@ var schemaDict2 = {
|
|
|
163331
163842
|
},
|
|
163332
163843
|
update: {
|
|
163333
163844
|
type: "object",
|
|
163334
|
-
description: "
|
|
163845
|
+
description: "Operation which updates an existing record.",
|
|
163335
163846
|
required: ["collection", "rkey", "value"],
|
|
163336
163847
|
properties: {
|
|
163337
163848
|
collection: {
|
|
@@ -163348,7 +163859,7 @@ var schemaDict2 = {
|
|
|
163348
163859
|
},
|
|
163349
163860
|
delete: {
|
|
163350
163861
|
type: "object",
|
|
163351
|
-
description: "
|
|
163862
|
+
description: "Operation which deletes an existing record.",
|
|
163352
163863
|
required: ["collection", "rkey"],
|
|
163353
163864
|
properties: {
|
|
163354
163865
|
collection: {
|
|
@@ -163368,7 +163879,7 @@ var schemaDict2 = {
|
|
|
163368
163879
|
defs: {
|
|
163369
163880
|
main: {
|
|
163370
163881
|
type: "procedure",
|
|
163371
|
-
description: "Create a new record.",
|
|
163882
|
+
description: "Create a single new repository record. Requires auth, implemented by PDS.",
|
|
163372
163883
|
input: {
|
|
163373
163884
|
encoding: "application/json",
|
|
163374
163885
|
schema: {
|
|
@@ -163378,7 +163889,7 @@ var schemaDict2 = {
|
|
|
163378
163889
|
repo: {
|
|
163379
163890
|
type: "string",
|
|
163380
163891
|
format: "at-identifier",
|
|
163381
|
-
description: "The handle or DID of the repo."
|
|
163892
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
163382
163893
|
},
|
|
163383
163894
|
collection: {
|
|
163384
163895
|
type: "string",
|
|
@@ -163387,17 +163898,17 @@ var schemaDict2 = {
|
|
|
163387
163898
|
},
|
|
163388
163899
|
rkey: {
|
|
163389
163900
|
type: "string",
|
|
163390
|
-
description: "The
|
|
163901
|
+
description: "The Record Key.",
|
|
163391
163902
|
maxLength: 15
|
|
163392
163903
|
},
|
|
163393
163904
|
validate: {
|
|
163394
163905
|
type: "boolean",
|
|
163395
163906
|
default: true,
|
|
163396
|
-
description: "
|
|
163907
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data."
|
|
163397
163908
|
},
|
|
163398
163909
|
record: {
|
|
163399
163910
|
type: "unknown",
|
|
163400
|
-
description: "The record
|
|
163911
|
+
description: "The record itself. Must contain a $type field."
|
|
163401
163912
|
},
|
|
163402
163913
|
swapCommit: {
|
|
163403
163914
|
type: "string",
|
|
@@ -163426,7 +163937,8 @@ var schemaDict2 = {
|
|
|
163426
163937
|
},
|
|
163427
163938
|
errors: [
|
|
163428
163939
|
{
|
|
163429
|
-
name: "InvalidSwap"
|
|
163940
|
+
name: "InvalidSwap",
|
|
163941
|
+
description: "Indicates that 'swapCommit' didn't match current repo commit."
|
|
163430
163942
|
}
|
|
163431
163943
|
]
|
|
163432
163944
|
}
|
|
@@ -163438,7 +163950,7 @@ var schemaDict2 = {
|
|
|
163438
163950
|
defs: {
|
|
163439
163951
|
main: {
|
|
163440
163952
|
type: "procedure",
|
|
163441
|
-
description: "Delete a record, or ensure it doesn't exist.",
|
|
163953
|
+
description: "Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.",
|
|
163442
163954
|
input: {
|
|
163443
163955
|
encoding: "application/json",
|
|
163444
163956
|
schema: {
|
|
@@ -163448,7 +163960,7 @@ var schemaDict2 = {
|
|
|
163448
163960
|
repo: {
|
|
163449
163961
|
type: "string",
|
|
163450
163962
|
format: "at-identifier",
|
|
163451
|
-
description: "The handle or DID of the repo."
|
|
163963
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
163452
163964
|
},
|
|
163453
163965
|
collection: {
|
|
163454
163966
|
type: "string",
|
|
@@ -163457,7 +163969,7 @@ var schemaDict2 = {
|
|
|
163457
163969
|
},
|
|
163458
163970
|
rkey: {
|
|
163459
163971
|
type: "string",
|
|
163460
|
-
description: "The
|
|
163972
|
+
description: "The Record Key."
|
|
163461
163973
|
},
|
|
163462
163974
|
swapRecord: {
|
|
163463
163975
|
type: "string",
|
|
@@ -163486,7 +163998,7 @@ var schemaDict2 = {
|
|
|
163486
163998
|
defs: {
|
|
163487
163999
|
main: {
|
|
163488
164000
|
type: "query",
|
|
163489
|
-
description: "Get information about
|
|
164001
|
+
description: "Get information about an account and repository, including the list of collections. Does not require auth.",
|
|
163490
164002
|
parameters: {
|
|
163491
164003
|
type: "params",
|
|
163492
164004
|
required: ["repo"],
|
|
@@ -163519,17 +164031,20 @@ var schemaDict2 = {
|
|
|
163519
164031
|
format: "did"
|
|
163520
164032
|
},
|
|
163521
164033
|
didDoc: {
|
|
163522
|
-
type: "unknown"
|
|
164034
|
+
type: "unknown",
|
|
164035
|
+
description: "The complete DID document for this account."
|
|
163523
164036
|
},
|
|
163524
164037
|
collections: {
|
|
163525
164038
|
type: "array",
|
|
164039
|
+
description: "List of all the collections (NSIDs) for which this repo contains at least one record.",
|
|
163526
164040
|
items: {
|
|
163527
164041
|
type: "string",
|
|
163528
164042
|
format: "nsid"
|
|
163529
164043
|
}
|
|
163530
164044
|
},
|
|
163531
164045
|
handleIsCorrect: {
|
|
163532
|
-
type: "boolean"
|
|
164046
|
+
type: "boolean",
|
|
164047
|
+
description: "Indicates if handle is currently valid (resolves bi-directionally)"
|
|
163533
164048
|
}
|
|
163534
164049
|
}
|
|
163535
164050
|
}
|
|
@@ -163543,7 +164058,7 @@ var schemaDict2 = {
|
|
|
163543
164058
|
defs: {
|
|
163544
164059
|
main: {
|
|
163545
164060
|
type: "query",
|
|
163546
|
-
description: "Get a record.",
|
|
164061
|
+
description: "Get a single record from a repository. Does not require auth.",
|
|
163547
164062
|
parameters: {
|
|
163548
164063
|
type: "params",
|
|
163549
164064
|
required: ["repo", "collection", "rkey"],
|
|
@@ -163560,7 +164075,7 @@ var schemaDict2 = {
|
|
|
163560
164075
|
},
|
|
163561
164076
|
rkey: {
|
|
163562
164077
|
type: "string",
|
|
163563
|
-
description: "The
|
|
164078
|
+
description: "The Record Key."
|
|
163564
164079
|
},
|
|
163565
164080
|
cid: {
|
|
163566
164081
|
type: "string",
|
|
@@ -163598,7 +164113,7 @@ var schemaDict2 = {
|
|
|
163598
164113
|
defs: {
|
|
163599
164114
|
main: {
|
|
163600
164115
|
type: "query",
|
|
163601
|
-
description: "List a range of records in a collection.",
|
|
164116
|
+
description: "List a range of records in a repository, matching a specific collection. Does not require auth.",
|
|
163602
164117
|
parameters: {
|
|
163603
164118
|
type: "params",
|
|
163604
164119
|
required: ["repo", "collection"],
|
|
@@ -163682,7 +164197,7 @@ var schemaDict2 = {
|
|
|
163682
164197
|
defs: {
|
|
163683
164198
|
main: {
|
|
163684
164199
|
type: "procedure",
|
|
163685
|
-
description: "Write a record, creating or updating it as needed.",
|
|
164200
|
+
description: "Write a repository record, creating or updating it as needed. Requires auth, implemented by PDS.",
|
|
163686
164201
|
input: {
|
|
163687
164202
|
encoding: "application/json",
|
|
163688
164203
|
schema: {
|
|
@@ -163693,7 +164208,7 @@ var schemaDict2 = {
|
|
|
163693
164208
|
repo: {
|
|
163694
164209
|
type: "string",
|
|
163695
164210
|
format: "at-identifier",
|
|
163696
|
-
description: "The handle or DID of the repo."
|
|
164211
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
163697
164212
|
},
|
|
163698
164213
|
collection: {
|
|
163699
164214
|
type: "string",
|
|
@@ -163702,13 +164217,13 @@ var schemaDict2 = {
|
|
|
163702
164217
|
},
|
|
163703
164218
|
rkey: {
|
|
163704
164219
|
type: "string",
|
|
163705
|
-
description: "The
|
|
164220
|
+
description: "The Record Key.",
|
|
163706
164221
|
maxLength: 15
|
|
163707
164222
|
},
|
|
163708
164223
|
validate: {
|
|
163709
164224
|
type: "boolean",
|
|
163710
164225
|
default: true,
|
|
163711
|
-
description: "
|
|
164226
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data."
|
|
163712
164227
|
},
|
|
163713
164228
|
record: {
|
|
163714
164229
|
type: "unknown",
|
|
@@ -163717,7 +164232,7 @@ var schemaDict2 = {
|
|
|
163717
164232
|
swapRecord: {
|
|
163718
164233
|
type: "string",
|
|
163719
164234
|
format: "cid",
|
|
163720
|
-
description: "Compare and swap with the previous record by CID."
|
|
164235
|
+
description: "Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation"
|
|
163721
164236
|
},
|
|
163722
164237
|
swapCommit: {
|
|
163723
164238
|
type: "string",
|
|
@@ -163779,7 +164294,7 @@ var schemaDict2 = {
|
|
|
163779
164294
|
defs: {
|
|
163780
164295
|
main: {
|
|
163781
164296
|
type: "procedure",
|
|
163782
|
-
description: "Upload a new blob to be
|
|
164297
|
+
description: "Upload a new blob, to be referenced from a repository record. The blob will be deleted if it is not referenced within a time window (eg, minutes). Blob restrictions (mimetype, size, etc) are enforced when the reference is created. Requires auth, implemented by PDS.",
|
|
163783
164298
|
input: {
|
|
163784
164299
|
encoding: "*/*"
|
|
163785
164300
|
},
|
|
@@ -163843,7 +164358,7 @@ var schemaDict2 = {
|
|
|
163843
164358
|
defs: {
|
|
163844
164359
|
main: {
|
|
163845
164360
|
type: "procedure",
|
|
163846
|
-
description: "Create an account.",
|
|
164361
|
+
description: "Create an account. Implemented by PDS.",
|
|
163847
164362
|
input: {
|
|
163848
164363
|
encoding: "application/json",
|
|
163849
164364
|
schema: {
|
|
@@ -163855,11 +164370,13 @@ var schemaDict2 = {
|
|
|
163855
164370
|
},
|
|
163856
164371
|
handle: {
|
|
163857
164372
|
type: "string",
|
|
163858
|
-
format: "handle"
|
|
164373
|
+
format: "handle",
|
|
164374
|
+
description: "Requested handle for the account."
|
|
163859
164375
|
},
|
|
163860
164376
|
did: {
|
|
163861
164377
|
type: "string",
|
|
163862
|
-
format: "did"
|
|
164378
|
+
format: "did",
|
|
164379
|
+
description: "Pre-existing atproto DID, being imported to a new account."
|
|
163863
164380
|
},
|
|
163864
164381
|
inviteCode: {
|
|
163865
164382
|
type: "string"
|
|
@@ -163871,13 +164388,16 @@ var schemaDict2 = {
|
|
|
163871
164388
|
type: "string"
|
|
163872
164389
|
},
|
|
163873
164390
|
password: {
|
|
163874
|
-
type: "string"
|
|
164391
|
+
type: "string",
|
|
164392
|
+
description: "Initial account password. May need to meet instance-specific password strength requirements."
|
|
163875
164393
|
},
|
|
163876
164394
|
recoveryKey: {
|
|
163877
|
-
type: "string"
|
|
164395
|
+
type: "string",
|
|
164396
|
+
description: "DID PLC rotation key (aka, recovery key) to be included in PLC creation operation."
|
|
163878
164397
|
},
|
|
163879
164398
|
plcOp: {
|
|
163880
|
-
type: "unknown"
|
|
164399
|
+
type: "unknown",
|
|
164400
|
+
description: "A signed DID PLC operation to be submitted as part of importing an existing account to this instance. NOTE: this optional field may be updated when full account migration is implemented."
|
|
163881
164401
|
}
|
|
163882
164402
|
}
|
|
163883
164403
|
}
|
|
@@ -163886,6 +164406,7 @@ var schemaDict2 = {
|
|
|
163886
164406
|
encoding: "application/json",
|
|
163887
164407
|
schema: {
|
|
163888
164408
|
type: "object",
|
|
164409
|
+
description: "Account login session returned on successful account creation.",
|
|
163889
164410
|
required: ["accessJwt", "refreshJwt", "handle", "did"],
|
|
163890
164411
|
properties: {
|
|
163891
164412
|
accessJwt: {
|
|
@@ -163900,10 +164421,12 @@ var schemaDict2 = {
|
|
|
163900
164421
|
},
|
|
163901
164422
|
did: {
|
|
163902
164423
|
type: "string",
|
|
163903
|
-
format: "did"
|
|
164424
|
+
format: "did",
|
|
164425
|
+
description: "The DID of the new account."
|
|
163904
164426
|
},
|
|
163905
164427
|
didDoc: {
|
|
163906
|
-
type: "unknown"
|
|
164428
|
+
type: "unknown",
|
|
164429
|
+
description: "Complete DID document."
|
|
163907
164430
|
}
|
|
163908
164431
|
}
|
|
163909
164432
|
}
|
|
@@ -163948,7 +164471,8 @@ var schemaDict2 = {
|
|
|
163948
164471
|
required: ["name"],
|
|
163949
164472
|
properties: {
|
|
163950
164473
|
name: {
|
|
163951
|
-
type: "string"
|
|
164474
|
+
type: "string",
|
|
164475
|
+
description: "A short name for the App Password, to help distinguish them."
|
|
163952
164476
|
}
|
|
163953
164477
|
}
|
|
163954
164478
|
}
|
|
@@ -164215,7 +164739,7 @@ var schemaDict2 = {
|
|
|
164215
164739
|
defs: {
|
|
164216
164740
|
main: {
|
|
164217
164741
|
type: "procedure",
|
|
164218
|
-
description: "Delete an actor's account with a token and password.",
|
|
164742
|
+
description: "Delete an actor's account with a token and password. Can only be called after requesting a deletion token. Requires auth.",
|
|
164219
164743
|
input: {
|
|
164220
164744
|
encoding: "application/json",
|
|
164221
164745
|
schema: {
|
|
@@ -164252,7 +164776,7 @@ var schemaDict2 = {
|
|
|
164252
164776
|
defs: {
|
|
164253
164777
|
main: {
|
|
164254
164778
|
type: "procedure",
|
|
164255
|
-
description: "Delete the current session."
|
|
164779
|
+
description: "Delete the current session. Requires auth."
|
|
164256
164780
|
}
|
|
164257
164781
|
}
|
|
164258
164782
|
},
|
|
@@ -164262,7 +164786,7 @@ var schemaDict2 = {
|
|
|
164262
164786
|
defs: {
|
|
164263
164787
|
main: {
|
|
164264
164788
|
type: "query",
|
|
164265
|
-
description: "
|
|
164789
|
+
description: "Describes the server's account creation requirements and capabilities. Implemented by PDS.",
|
|
164266
164790
|
output: {
|
|
164267
164791
|
encoding: "application/json",
|
|
164268
164792
|
schema: {
|
|
@@ -164270,19 +164794,23 @@ var schemaDict2 = {
|
|
|
164270
164794
|
required: ["availableUserDomains"],
|
|
164271
164795
|
properties: {
|
|
164272
164796
|
inviteCodeRequired: {
|
|
164273
|
-
type: "boolean"
|
|
164797
|
+
type: "boolean",
|
|
164798
|
+
description: "If true, an invite code must be supplied to create an account on this instance."
|
|
164274
164799
|
},
|
|
164275
164800
|
phoneVerificationRequired: {
|
|
164276
|
-
type: "boolean"
|
|
164801
|
+
type: "boolean",
|
|
164802
|
+
description: "If true, a phone verification token must be supplied to create an account on this instance."
|
|
164277
164803
|
},
|
|
164278
164804
|
availableUserDomains: {
|
|
164279
164805
|
type: "array",
|
|
164806
|
+
description: "List of domain suffixes that can be used in account handles.",
|
|
164280
164807
|
items: {
|
|
164281
164808
|
type: "string"
|
|
164282
164809
|
}
|
|
164283
164810
|
},
|
|
164284
164811
|
links: {
|
|
164285
164812
|
type: "ref",
|
|
164813
|
+
description: "URLs of service policy documents.",
|
|
164286
164814
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
164287
164815
|
}
|
|
164288
164816
|
}
|
|
@@ -164308,7 +164836,7 @@ var schemaDict2 = {
|
|
|
164308
164836
|
defs: {
|
|
164309
164837
|
main: {
|
|
164310
164838
|
type: "query",
|
|
164311
|
-
description: "Get all invite codes for
|
|
164839
|
+
description: "Get all invite codes for the current account. Requires auth.",
|
|
164312
164840
|
parameters: {
|
|
164313
164841
|
type: "params",
|
|
164314
164842
|
properties: {
|
|
@@ -164318,7 +164846,8 @@ var schemaDict2 = {
|
|
|
164318
164846
|
},
|
|
164319
164847
|
createAvailable: {
|
|
164320
164848
|
type: "boolean",
|
|
164321
|
-
default: true
|
|
164849
|
+
default: true,
|
|
164850
|
+
description: "Controls whether any new 'earned' but not 'created' invites should be created."
|
|
164322
164851
|
}
|
|
164323
164852
|
}
|
|
164324
164853
|
},
|
|
@@ -164352,7 +164881,7 @@ var schemaDict2 = {
|
|
|
164352
164881
|
defs: {
|
|
164353
164882
|
main: {
|
|
164354
164883
|
type: "query",
|
|
164355
|
-
description: "Get information about the current session.",
|
|
164884
|
+
description: "Get information about the current auth session. Requires auth.",
|
|
164356
164885
|
output: {
|
|
164357
164886
|
encoding: "application/json",
|
|
164358
164887
|
schema: {
|
|
@@ -164432,7 +164961,7 @@ var schemaDict2 = {
|
|
|
164432
164961
|
defs: {
|
|
164433
164962
|
main: {
|
|
164434
164963
|
type: "procedure",
|
|
164435
|
-
description: "Refresh an authentication session.",
|
|
164964
|
+
description: "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
|
|
164436
164965
|
output: {
|
|
164437
164966
|
encoding: "application/json",
|
|
164438
164967
|
schema: {
|
|
@@ -164537,7 +165066,7 @@ var schemaDict2 = {
|
|
|
164537
165066
|
defs: {
|
|
164538
165067
|
main: {
|
|
164539
165068
|
type: "procedure",
|
|
164540
|
-
description: "Reserve a repo signing key for account creation.",
|
|
165069
|
+
description: "Reserve a repo signing key, for use with account creation. Necessary so that a DID PLC update operation can be constructed during an account migraiton. Public and does not require auth; implemented by PDS. NOTE: this endpoint may change when full account migration is implemented.",
|
|
164541
165070
|
input: {
|
|
164542
165071
|
encoding: "application/json",
|
|
164543
165072
|
schema: {
|
|
@@ -164545,7 +165074,8 @@ var schemaDict2 = {
|
|
|
164545
165074
|
properties: {
|
|
164546
165075
|
did: {
|
|
164547
165076
|
type: "string",
|
|
164548
|
-
|
|
165077
|
+
format: "did",
|
|
165078
|
+
description: "The DID to reserve a key for."
|
|
164549
165079
|
}
|
|
164550
165080
|
}
|
|
164551
165081
|
}
|
|
@@ -164558,7 +165088,7 @@ var schemaDict2 = {
|
|
|
164558
165088
|
properties: {
|
|
164559
165089
|
signingKey: {
|
|
164560
165090
|
type: "string",
|
|
164561
|
-
description: "
|
|
165091
|
+
description: "The public key for the reserved signing key, in did:key serialization."
|
|
164562
165092
|
}
|
|
164563
165093
|
}
|
|
164564
165094
|
}
|
|
@@ -164664,7 +165194,7 @@ var schemaDict2 = {
|
|
|
164664
165194
|
defs: {
|
|
164665
165195
|
main: {
|
|
164666
165196
|
type: "query",
|
|
164667
|
-
description: "Get a blob associated with a given
|
|
165197
|
+
description: "Get a blob associated with a given account. Returns the full blob as originally uploaded. Does not require auth; implemented by PDS.",
|
|
164668
165198
|
parameters: {
|
|
164669
165199
|
type: "params",
|
|
164670
165200
|
required: ["did", "cid"],
|
|
@@ -164672,7 +165202,7 @@ var schemaDict2 = {
|
|
|
164672
165202
|
did: {
|
|
164673
165203
|
type: "string",
|
|
164674
165204
|
format: "did",
|
|
164675
|
-
description: "The DID of the
|
|
165205
|
+
description: "The DID of the account."
|
|
164676
165206
|
},
|
|
164677
165207
|
cid: {
|
|
164678
165208
|
type: "string",
|
|
@@ -164693,7 +165223,7 @@ var schemaDict2 = {
|
|
|
164693
165223
|
defs: {
|
|
164694
165224
|
main: {
|
|
164695
165225
|
type: "query",
|
|
164696
|
-
description: "Get blocks from a given repo.",
|
|
165226
|
+
description: "Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS.",
|
|
164697
165227
|
parameters: {
|
|
164698
165228
|
type: "params",
|
|
164699
165229
|
required: ["did", "cids"],
|
|
@@ -164787,7 +165317,7 @@ var schemaDict2 = {
|
|
|
164787
165317
|
defs: {
|
|
164788
165318
|
main: {
|
|
164789
165319
|
type: "query",
|
|
164790
|
-
description: "Get the current commit CID & revision of the repo.",
|
|
165320
|
+
description: "Get the current commit CID & revision of the specified repo. Does not require auth.",
|
|
164791
165321
|
parameters: {
|
|
164792
165322
|
type: "params",
|
|
164793
165323
|
required: ["did"],
|
|
@@ -164829,7 +165359,7 @@ var schemaDict2 = {
|
|
|
164829
165359
|
defs: {
|
|
164830
165360
|
main: {
|
|
164831
165361
|
type: "query",
|
|
164832
|
-
description: "Get blocks needed
|
|
165362
|
+
description: "Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth.",
|
|
164833
165363
|
parameters: {
|
|
164834
165364
|
type: "params",
|
|
164835
165365
|
required: ["did", "collection", "rkey"],
|
|
@@ -164844,7 +165374,8 @@ var schemaDict2 = {
|
|
|
164844
165374
|
format: "nsid"
|
|
164845
165375
|
},
|
|
164846
165376
|
rkey: {
|
|
164847
|
-
type: "string"
|
|
165377
|
+
type: "string",
|
|
165378
|
+
description: "Record Key"
|
|
164848
165379
|
},
|
|
164849
165380
|
commit: {
|
|
164850
165381
|
type: "string",
|
|
@@ -164865,7 +165396,7 @@ var schemaDict2 = {
|
|
|
164865
165396
|
defs: {
|
|
164866
165397
|
main: {
|
|
164867
165398
|
type: "query",
|
|
164868
|
-
description: "
|
|
165399
|
+
description: "Download a repository export as CAR file. Optionally only a 'diff' since a previous revision. Does not require auth; implemented by PDS.",
|
|
164869
165400
|
parameters: {
|
|
164870
165401
|
type: "params",
|
|
164871
165402
|
required: ["did"],
|
|
@@ -164877,7 +165408,7 @@ var schemaDict2 = {
|
|
|
164877
165408
|
},
|
|
164878
165409
|
since: {
|
|
164879
165410
|
type: "string",
|
|
164880
|
-
description: "The revision of the repo to
|
|
165411
|
+
description: "The revision ('rev') of the repo to create a diff from."
|
|
164881
165412
|
}
|
|
164882
165413
|
}
|
|
164883
165414
|
},
|
|
@@ -164893,7 +165424,7 @@ var schemaDict2 = {
|
|
|
164893
165424
|
defs: {
|
|
164894
165425
|
main: {
|
|
164895
165426
|
type: "query",
|
|
164896
|
-
description: "List blob
|
|
165427
|
+
description: "List blob CIDso for an account, since some repo revision. Does not require auth; implemented by PDS.",
|
|
164897
165428
|
parameters: {
|
|
164898
165429
|
type: "params",
|
|
164899
165430
|
required: ["did"],
|
|
@@ -164946,7 +165477,7 @@ var schemaDict2 = {
|
|
|
164946
165477
|
defs: {
|
|
164947
165478
|
main: {
|
|
164948
165479
|
type: "query",
|
|
164949
|
-
description: "
|
|
165480
|
+
description: "Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay.",
|
|
164950
165481
|
parameters: {
|
|
164951
165482
|
type: "params",
|
|
164952
165483
|
properties: {
|
|
@@ -164991,7 +165522,8 @@ var schemaDict2 = {
|
|
|
164991
165522
|
},
|
|
164992
165523
|
head: {
|
|
164993
165524
|
type: "string",
|
|
164994
|
-
format: "cid"
|
|
165525
|
+
format: "cid",
|
|
165526
|
+
description: "Current repo commit CID"
|
|
164995
165527
|
},
|
|
164996
165528
|
rev: {
|
|
164997
165529
|
type: "string"
|
|
@@ -165006,7 +165538,7 @@ var schemaDict2 = {
|
|
|
165006
165538
|
defs: {
|
|
165007
165539
|
main: {
|
|
165008
165540
|
type: "procedure",
|
|
165009
|
-
description: "Notify a crawling service of a recent update
|
|
165541
|
+
description: "Notify a crawling service of a recent update, and that crawling should resume. Intended use is after a gap between repo stream events caused the crawling service to disconnect. Does not require auth; implemented by Relay.",
|
|
165010
165542
|
input: {
|
|
165011
165543
|
encoding: "application/json",
|
|
165012
165544
|
schema: {
|
|
@@ -165015,7 +165547,7 @@ var schemaDict2 = {
|
|
|
165015
165547
|
properties: {
|
|
165016
165548
|
hostname: {
|
|
165017
165549
|
type: "string",
|
|
165018
|
-
description: "Hostname of the service that is notifying of update."
|
|
165550
|
+
description: "Hostname of the current service (usually a PDS) that is notifying of update."
|
|
165019
165551
|
}
|
|
165020
165552
|
}
|
|
165021
165553
|
}
|
|
@@ -165029,7 +165561,7 @@ var schemaDict2 = {
|
|
|
165029
165561
|
defs: {
|
|
165030
165562
|
main: {
|
|
165031
165563
|
type: "procedure",
|
|
165032
|
-
description: "Request a service to persistently crawl hosted repos.",
|
|
165564
|
+
description: "Request a service to persistently crawl hosted repos. Expected use is new PDS instances declaring their existence to Relays. Does not require auth.",
|
|
165033
165565
|
input: {
|
|
165034
165566
|
encoding: "application/json",
|
|
165035
165567
|
schema: {
|
|
@@ -165038,7 +165570,7 @@ var schemaDict2 = {
|
|
|
165038
165570
|
properties: {
|
|
165039
165571
|
hostname: {
|
|
165040
165572
|
type: "string",
|
|
165041
|
-
description: "Hostname of the service that is requesting to be crawled."
|
|
165573
|
+
description: "Hostname of the current service (eg, PDS) that is requesting to be crawled."
|
|
165042
165574
|
}
|
|
165043
165575
|
}
|
|
165044
165576
|
}
|
|
@@ -165052,13 +165584,13 @@ var schemaDict2 = {
|
|
|
165052
165584
|
defs: {
|
|
165053
165585
|
main: {
|
|
165054
165586
|
type: "subscription",
|
|
165055
|
-
description: "
|
|
165587
|
+
description: "Repository event stream, aka Firehose endpoint. Outputs repo commits with diff data, and identity update events, for all repositories on the current server. See the atproto specifications for details around stream sequencing, repo versioning, CAR diff format, and more. Public and does not require auth; implemented by PDS and Relay.",
|
|
165056
165588
|
parameters: {
|
|
165057
165589
|
type: "params",
|
|
165058
165590
|
properties: {
|
|
165059
165591
|
cursor: {
|
|
165060
165592
|
type: "integer",
|
|
165061
|
-
description: "The last known event to backfill from."
|
|
165593
|
+
description: "The last known event seq number to backfill from."
|
|
165062
165594
|
}
|
|
165063
165595
|
}
|
|
165064
165596
|
},
|
|
@@ -165079,12 +165611,14 @@ var schemaDict2 = {
|
|
|
165079
165611
|
name: "FutureCursor"
|
|
165080
165612
|
},
|
|
165081
165613
|
{
|
|
165082
|
-
name: "ConsumerTooSlow"
|
|
165614
|
+
name: "ConsumerTooSlow",
|
|
165615
|
+
description: "If the consumer of the stream can not keep up with events, and a backlog gets too large, the server will drop the connection."
|
|
165083
165616
|
}
|
|
165084
165617
|
]
|
|
165085
165618
|
},
|
|
165086
165619
|
commit: {
|
|
165087
165620
|
type: "object",
|
|
165621
|
+
description: "Represents an update of repository state. Note that empty commits are allowed, which include no repo data changes, but an update to rev and signature.",
|
|
165088
165622
|
required: [
|
|
165089
165623
|
"seq",
|
|
165090
165624
|
"rebase",
|
|
@@ -165101,59 +165635,69 @@ var schemaDict2 = {
|
|
|
165101
165635
|
nullable: ["prev", "since"],
|
|
165102
165636
|
properties: {
|
|
165103
165637
|
seq: {
|
|
165104
|
-
type: "integer"
|
|
165638
|
+
type: "integer",
|
|
165639
|
+
description: "The stream sequence number of this message."
|
|
165105
165640
|
},
|
|
165106
165641
|
rebase: {
|
|
165107
|
-
type: "boolean"
|
|
165642
|
+
type: "boolean",
|
|
165643
|
+
description: "DEPRECATED -- unused"
|
|
165108
165644
|
},
|
|
165109
165645
|
tooBig: {
|
|
165110
|
-
type: "boolean"
|
|
165646
|
+
type: "boolean",
|
|
165647
|
+
description: "Indicates that this commit contained too many ops, or data size was too large. Consumers will need to make a separate request to get missing data."
|
|
165111
165648
|
},
|
|
165112
165649
|
repo: {
|
|
165113
165650
|
type: "string",
|
|
165114
|
-
format: "did"
|
|
165651
|
+
format: "did",
|
|
165652
|
+
description: "The repo this event comes from."
|
|
165115
165653
|
},
|
|
165116
165654
|
commit: {
|
|
165117
|
-
type: "cid-link"
|
|
165655
|
+
type: "cid-link",
|
|
165656
|
+
description: "Repo commit object CID."
|
|
165118
165657
|
},
|
|
165119
165658
|
prev: {
|
|
165120
|
-
type: "cid-link"
|
|
165659
|
+
type: "cid-link",
|
|
165660
|
+
description: "DEPRECATED -- unused. WARNING -- nullable and optional; stick with optional to ensure golang interoperability."
|
|
165121
165661
|
},
|
|
165122
165662
|
rev: {
|
|
165123
165663
|
type: "string",
|
|
165124
|
-
description: "The rev of the emitted commit."
|
|
165664
|
+
description: "The rev of the emitted commit. Note that this information is also in the commit object included in blocks, unless this is a tooBig event."
|
|
165125
165665
|
},
|
|
165126
165666
|
since: {
|
|
165127
165667
|
type: "string",
|
|
165128
|
-
description: "The rev of the last emitted commit from this repo."
|
|
165668
|
+
description: "The rev of the last emitted commit from this repo (if any)."
|
|
165129
165669
|
},
|
|
165130
165670
|
blocks: {
|
|
165131
165671
|
type: "bytes",
|
|
165132
|
-
description: "CAR file containing relevant blocks.",
|
|
165672
|
+
description: "CAR file containing relevant blocks, as a diff since the previous repo state.",
|
|
165133
165673
|
maxLength: 1e6
|
|
165134
165674
|
},
|
|
165135
165675
|
ops: {
|
|
165136
165676
|
type: "array",
|
|
165137
165677
|
items: {
|
|
165138
165678
|
type: "ref",
|
|
165139
|
-
ref: "lex:com.atproto.sync.subscribeRepos#repoOp"
|
|
165679
|
+
ref: "lex:com.atproto.sync.subscribeRepos#repoOp",
|
|
165680
|
+
description: "List of repo mutation operations in this commit (eg, records created, updated, or deleted)."
|
|
165140
165681
|
},
|
|
165141
165682
|
maxLength: 200
|
|
165142
165683
|
},
|
|
165143
165684
|
blobs: {
|
|
165144
165685
|
type: "array",
|
|
165145
165686
|
items: {
|
|
165146
|
-
type: "cid-link"
|
|
165687
|
+
type: "cid-link",
|
|
165688
|
+
description: "List of new blobs (by CID) referenced by records in this commit."
|
|
165147
165689
|
}
|
|
165148
165690
|
},
|
|
165149
165691
|
time: {
|
|
165150
165692
|
type: "string",
|
|
165151
|
-
format: "datetime"
|
|
165693
|
+
format: "datetime",
|
|
165694
|
+
description: "Timestamp of when this message was originally broadcast."
|
|
165152
165695
|
}
|
|
165153
165696
|
}
|
|
165154
165697
|
},
|
|
165155
165698
|
handle: {
|
|
165156
165699
|
type: "object",
|
|
165700
|
+
description: "Represents an update of the account's handle, or transition to/from invalid state.",
|
|
165157
165701
|
required: ["seq", "did", "handle", "time"],
|
|
165158
165702
|
properties: {
|
|
165159
165703
|
seq: {
|
|
@@ -165175,6 +165719,7 @@ var schemaDict2 = {
|
|
|
165175
165719
|
},
|
|
165176
165720
|
migrate: {
|
|
165177
165721
|
type: "object",
|
|
165722
|
+
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; full account migration may introduce a new message instead.",
|
|
165178
165723
|
required: ["seq", "did", "migrateTo", "time"],
|
|
165179
165724
|
nullable: ["migrateTo"],
|
|
165180
165725
|
properties: {
|
|
@@ -165196,6 +165741,7 @@ var schemaDict2 = {
|
|
|
165196
165741
|
},
|
|
165197
165742
|
tombstone: {
|
|
165198
165743
|
type: "object",
|
|
165744
|
+
description: "Indicates that an account has been deleted.",
|
|
165199
165745
|
required: ["seq", "did", "time"],
|
|
165200
165746
|
properties: {
|
|
165201
165747
|
seq: {
|
|
@@ -165226,7 +165772,7 @@ var schemaDict2 = {
|
|
|
165226
165772
|
},
|
|
165227
165773
|
repoOp: {
|
|
165228
165774
|
type: "object",
|
|
165229
|
-
description: "A repo operation, ie a
|
|
165775
|
+
description: "A repo operation, ie a mutation of a single record.",
|
|
165230
165776
|
required: ["action", "path", "cid"],
|
|
165231
165777
|
nullable: ["cid"],
|
|
165232
165778
|
properties: {
|
|
@@ -165238,7 +165784,8 @@ var schemaDict2 = {
|
|
|
165238
165784
|
type: "string"
|
|
165239
165785
|
},
|
|
165240
165786
|
cid: {
|
|
165241
|
-
type: "cid-link"
|
|
165787
|
+
type: "cid-link",
|
|
165788
|
+
description: "For creates and updates, the new record CID. For deletions, null."
|
|
165242
165789
|
}
|
|
165243
165790
|
}
|
|
165244
165791
|
}
|
|
@@ -165278,7 +165825,7 @@ var schemaDict2 = {
|
|
|
165278
165825
|
defs: {
|
|
165279
165826
|
main: {
|
|
165280
165827
|
type: "query",
|
|
165281
|
-
description: "Fetch all labels from a labeler created after a certain date.",
|
|
165828
|
+
description: "Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead",
|
|
165282
165829
|
parameters: {
|
|
165283
165830
|
type: "params",
|
|
165284
165831
|
properties: {
|
|
@@ -165391,7 +165938,7 @@ var schemaDict2 = {
|
|
|
165391
165938
|
defs: {
|
|
165392
165939
|
main: {
|
|
165393
165940
|
type: "procedure",
|
|
165394
|
-
description: "Transfer an account.",
|
|
165941
|
+
description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
|
|
165395
165942
|
input: {
|
|
165396
165943
|
encoding: "application/json",
|
|
165397
165944
|
schema: {
|
|
@@ -165464,7 +166011,6 @@ var schemaDict2 = {
|
|
|
165464
166011
|
AppBskyActorDefs: {
|
|
165465
166012
|
lexicon: 1,
|
|
165466
166013
|
id: "app.bsky.actor.defs",
|
|
165467
|
-
description: "A reference to an actor in the network.",
|
|
165468
166014
|
defs: {
|
|
165469
166015
|
profileViewBasic: {
|
|
165470
166016
|
type: "object",
|
|
@@ -165597,6 +166143,7 @@ var schemaDict2 = {
|
|
|
165597
166143
|
},
|
|
165598
166144
|
viewerState: {
|
|
165599
166145
|
type: "object",
|
|
166146
|
+
description: "Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.",
|
|
165600
166147
|
properties: {
|
|
165601
166148
|
muted: {
|
|
165602
166149
|
type: "boolean"
|
|
@@ -165681,6 +166228,9 @@ var schemaDict2 = {
|
|
|
165681
166228
|
type: "string",
|
|
165682
166229
|
format: "at-uri"
|
|
165683
166230
|
}
|
|
166231
|
+
},
|
|
166232
|
+
timelineIndex: {
|
|
166233
|
+
type: "integer"
|
|
165684
166234
|
}
|
|
165685
166235
|
}
|
|
165686
166236
|
},
|
|
@@ -165762,7 +166312,7 @@ var schemaDict2 = {
|
|
|
165762
166312
|
defs: {
|
|
165763
166313
|
main: {
|
|
165764
166314
|
type: "query",
|
|
165765
|
-
description: "Get private preferences attached to the account.",
|
|
166315
|
+
description: "Get private preferences attached to the current account. Expected use is synchronization between multiple devices, and import/export during account migration. Requires auth.",
|
|
165766
166316
|
parameters: {
|
|
165767
166317
|
type: "params",
|
|
165768
166318
|
properties: {}
|
|
@@ -165789,14 +166339,15 @@ var schemaDict2 = {
|
|
|
165789
166339
|
defs: {
|
|
165790
166340
|
main: {
|
|
165791
166341
|
type: "query",
|
|
165792
|
-
description: "Get detailed profile view of an actor.",
|
|
166342
|
+
description: "Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth.",
|
|
165793
166343
|
parameters: {
|
|
165794
166344
|
type: "params",
|
|
165795
166345
|
required: ["actor"],
|
|
165796
166346
|
properties: {
|
|
165797
166347
|
actor: {
|
|
165798
166348
|
type: "string",
|
|
165799
|
-
format: "at-identifier"
|
|
166349
|
+
format: "at-identifier",
|
|
166350
|
+
description: "Handle or DID of account to fetch profile of."
|
|
165800
166351
|
}
|
|
165801
166352
|
}
|
|
165802
166353
|
},
|
|
@@ -165856,7 +166407,7 @@ var schemaDict2 = {
|
|
|
165856
166407
|
defs: {
|
|
165857
166408
|
main: {
|
|
165858
166409
|
type: "query",
|
|
165859
|
-
description: "Get a list of suggested actors
|
|
166410
|
+
description: "Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.",
|
|
165860
166411
|
parameters: {
|
|
165861
166412
|
type: "params",
|
|
165862
166413
|
properties: {
|
|
@@ -165899,7 +166450,7 @@ var schemaDict2 = {
|
|
|
165899
166450
|
defs: {
|
|
165900
166451
|
main: {
|
|
165901
166452
|
type: "record",
|
|
165902
|
-
description: "A declaration of a profile.",
|
|
166453
|
+
description: "A declaration of a Bluesky account profile.",
|
|
165903
166454
|
key: "literal:self",
|
|
165904
166455
|
record: {
|
|
165905
166456
|
type: "object",
|
|
@@ -165911,21 +166462,25 @@ var schemaDict2 = {
|
|
|
165911
166462
|
},
|
|
165912
166463
|
description: {
|
|
165913
166464
|
type: "string",
|
|
166465
|
+
description: "Free-form profile description text.",
|
|
165914
166466
|
maxGraphemes: 256,
|
|
165915
166467
|
maxLength: 2560
|
|
165916
166468
|
},
|
|
165917
166469
|
avatar: {
|
|
165918
166470
|
type: "blob",
|
|
166471
|
+
description: "Small image to be displayed next to posts from account. AKA, 'profile picture'",
|
|
165919
166472
|
accept: ["image/png", "image/jpeg"],
|
|
165920
166473
|
maxSize: 1e6
|
|
165921
166474
|
},
|
|
165922
166475
|
banner: {
|
|
165923
166476
|
type: "blob",
|
|
166477
|
+
description: "Larger horizontal image to display behind profile view.",
|
|
165924
166478
|
accept: ["image/png", "image/jpeg"],
|
|
165925
166479
|
maxSize: 1e6
|
|
165926
166480
|
},
|
|
165927
166481
|
labels: {
|
|
165928
166482
|
type: "union",
|
|
166483
|
+
description: "Self-label values, specific to the Bluesky application, on the overall account.",
|
|
165929
166484
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
165930
166485
|
}
|
|
165931
166486
|
}
|
|
@@ -165962,7 +166517,7 @@ var schemaDict2 = {
|
|
|
165962
166517
|
defs: {
|
|
165963
166518
|
main: {
|
|
165964
166519
|
type: "query",
|
|
165965
|
-
description: "Find actors (profiles) matching search criteria.",
|
|
166520
|
+
description: "Find actors (profiles) matching search criteria. Does not require auth.",
|
|
165966
166521
|
parameters: {
|
|
165967
166522
|
type: "params",
|
|
165968
166523
|
properties: {
|
|
@@ -166013,7 +166568,7 @@ var schemaDict2 = {
|
|
|
166013
166568
|
defs: {
|
|
166014
166569
|
main: {
|
|
166015
166570
|
type: "query",
|
|
166016
|
-
description: "Find actor suggestions for a prefix search term.",
|
|
166571
|
+
description: "Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require auth.",
|
|
166017
166572
|
parameters: {
|
|
166018
166573
|
type: "params",
|
|
166019
166574
|
properties: {
|
|
@@ -166055,10 +166610,10 @@ var schemaDict2 = {
|
|
|
166055
166610
|
AppBskyEmbedExternal: {
|
|
166056
166611
|
lexicon: 1,
|
|
166057
166612
|
id: "app.bsky.embed.external",
|
|
166058
|
-
description: "A representation of some externally linked content, embedded in another form of content.",
|
|
166059
166613
|
defs: {
|
|
166060
166614
|
main: {
|
|
166061
166615
|
type: "object",
|
|
166616
|
+
description: "A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).",
|
|
166062
166617
|
required: ["external"],
|
|
166063
166618
|
properties: {
|
|
166064
166619
|
external: {
|
|
@@ -166122,7 +166677,7 @@ var schemaDict2 = {
|
|
|
166122
166677
|
AppBskyEmbedImages: {
|
|
166123
166678
|
lexicon: 1,
|
|
166124
166679
|
id: "app.bsky.embed.images",
|
|
166125
|
-
description: "A set of images embedded in
|
|
166680
|
+
description: "A set of images embedded in a Bluesky record (eg, a post).",
|
|
166126
166681
|
defs: {
|
|
166127
166682
|
main: {
|
|
166128
166683
|
type: "object",
|
|
@@ -166148,7 +166703,8 @@ var schemaDict2 = {
|
|
|
166148
166703
|
maxSize: 1e6
|
|
166149
166704
|
},
|
|
166150
166705
|
alt: {
|
|
166151
|
-
type: "string"
|
|
166706
|
+
type: "string",
|
|
166707
|
+
description: "Alt text description of the image, for accessibility."
|
|
166152
166708
|
},
|
|
166153
166709
|
aspectRatio: {
|
|
166154
166710
|
type: "ref",
|
|
@@ -166190,13 +166746,16 @@ var schemaDict2 = {
|
|
|
166190
166746
|
required: ["thumb", "fullsize", "alt"],
|
|
166191
166747
|
properties: {
|
|
166192
166748
|
thumb: {
|
|
166193
|
-
type: "string"
|
|
166749
|
+
type: "string",
|
|
166750
|
+
description: "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View."
|
|
166194
166751
|
},
|
|
166195
166752
|
fullsize: {
|
|
166196
|
-
type: "string"
|
|
166753
|
+
type: "string",
|
|
166754
|
+
description: "Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View."
|
|
166197
166755
|
},
|
|
166198
166756
|
alt: {
|
|
166199
|
-
type: "string"
|
|
166757
|
+
type: "string",
|
|
166758
|
+
description: "Alt text description of the image, for accessibility."
|
|
166200
166759
|
},
|
|
166201
166760
|
aspectRatio: {
|
|
166202
166761
|
type: "ref",
|
|
@@ -166209,7 +166768,7 @@ var schemaDict2 = {
|
|
|
166209
166768
|
AppBskyEmbedRecord: {
|
|
166210
166769
|
lexicon: 1,
|
|
166211
166770
|
id: "app.bsky.embed.record",
|
|
166212
|
-
description: "A representation of a record embedded in
|
|
166771
|
+
description: "A representation of a record embedded in a Bluesky record (eg, a post). For example, a quote-post, or sharing a feed generator record.",
|
|
166213
166772
|
defs: {
|
|
166214
166773
|
main: {
|
|
166215
166774
|
type: "object",
|
|
@@ -166254,7 +166813,8 @@ var schemaDict2 = {
|
|
|
166254
166813
|
ref: "lex:app.bsky.actor.defs#profileViewBasic"
|
|
166255
166814
|
},
|
|
166256
166815
|
value: {
|
|
166257
|
-
type: "unknown"
|
|
166816
|
+
type: "unknown",
|
|
166817
|
+
description: "The record data itself."
|
|
166258
166818
|
},
|
|
166259
166819
|
labels: {
|
|
166260
166820
|
type: "array",
|
|
@@ -166318,7 +166878,7 @@ var schemaDict2 = {
|
|
|
166318
166878
|
AppBskyEmbedRecordWithMedia: {
|
|
166319
166879
|
lexicon: 1,
|
|
166320
166880
|
id: "app.bsky.embed.recordWithMedia",
|
|
166321
|
-
description: "A representation of a record embedded in
|
|
166881
|
+
description: "A representation of a record embedded in a Bluesky record (eg, a post), alongside other compatible embeds. For example, a quote post and image, or a quote post and external URL card.",
|
|
166322
166882
|
defs: {
|
|
166323
166883
|
main: {
|
|
166324
166884
|
type: "object",
|
|
@@ -166417,6 +166977,7 @@ var schemaDict2 = {
|
|
|
166417
166977
|
},
|
|
166418
166978
|
viewerState: {
|
|
166419
166979
|
type: "object",
|
|
166980
|
+
description: "Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.",
|
|
166420
166981
|
properties: {
|
|
166421
166982
|
repost: {
|
|
166422
166983
|
type: "string",
|
|
@@ -166676,7 +167237,7 @@ var schemaDict2 = {
|
|
|
166676
167237
|
defs: {
|
|
166677
167238
|
main: {
|
|
166678
167239
|
type: "query",
|
|
166679
|
-
description: "Get information about a feed generator, including policies and offered feed URIs.",
|
|
167240
|
+
description: "Get information about a feed generator, including policies and offered feed URIs. Does not require auth; implemented by Feed Generator services (not App View).",
|
|
166680
167241
|
output: {
|
|
166681
167242
|
encoding: "application/json",
|
|
166682
167243
|
schema: {
|
|
@@ -166731,7 +167292,7 @@ var schemaDict2 = {
|
|
|
166731
167292
|
defs: {
|
|
166732
167293
|
main: {
|
|
166733
167294
|
type: "record",
|
|
166734
|
-
description: "
|
|
167295
|
+
description: "Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository.",
|
|
166735
167296
|
key: "any",
|
|
166736
167297
|
record: {
|
|
166737
167298
|
type: "object",
|
|
@@ -166765,6 +167326,7 @@ var schemaDict2 = {
|
|
|
166765
167326
|
},
|
|
166766
167327
|
labels: {
|
|
166767
167328
|
type: "union",
|
|
167329
|
+
description: "Self-label values",
|
|
166768
167330
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
166769
167331
|
},
|
|
166770
167332
|
createdAt: {
|
|
@@ -166782,7 +167344,7 @@ var schemaDict2 = {
|
|
|
166782
167344
|
defs: {
|
|
166783
167345
|
main: {
|
|
166784
167346
|
type: "query",
|
|
166785
|
-
description: "Get a list of feeds created by the actor.",
|
|
167347
|
+
description: "Get a list of feeds (feed generator records) created by the actor (in the actor's repo).",
|
|
166786
167348
|
parameters: {
|
|
166787
167349
|
type: "params",
|
|
166788
167350
|
required: ["actor"],
|
|
@@ -166830,7 +167392,7 @@ var schemaDict2 = {
|
|
|
166830
167392
|
defs: {
|
|
166831
167393
|
main: {
|
|
166832
167394
|
type: "query",
|
|
166833
|
-
description: "Get a list of posts liked by an actor.",
|
|
167395
|
+
description: "Get a list of posts liked by an actor. Does not require auth.",
|
|
166834
167396
|
parameters: {
|
|
166835
167397
|
type: "params",
|
|
166836
167398
|
required: ["actor"],
|
|
@@ -166886,7 +167448,7 @@ var schemaDict2 = {
|
|
|
166886
167448
|
defs: {
|
|
166887
167449
|
main: {
|
|
166888
167450
|
type: "query",
|
|
166889
|
-
description: "Get a view of an actor's feed.",
|
|
167451
|
+
description: "Get a view of an actor's 'author feed' (post and reposts by the author). Does not require auth.",
|
|
166890
167452
|
parameters: {
|
|
166891
167453
|
type: "params",
|
|
166892
167454
|
required: ["actor"],
|
|
@@ -166906,6 +167468,7 @@ var schemaDict2 = {
|
|
|
166906
167468
|
},
|
|
166907
167469
|
filter: {
|
|
166908
167470
|
type: "string",
|
|
167471
|
+
description: "Combinations of post/repost types to include in response.",
|
|
166909
167472
|
knownValues: [
|
|
166910
167473
|
"posts_with_replies",
|
|
166911
167474
|
"posts_no_replies",
|
|
@@ -166952,7 +167515,7 @@ var schemaDict2 = {
|
|
|
166952
167515
|
defs: {
|
|
166953
167516
|
main: {
|
|
166954
167517
|
type: "query",
|
|
166955
|
-
description: "Get a hydrated feed from an actor's selected feed generator.",
|
|
167518
|
+
description: "Get a hydrated feed from an actor's selected feed generator. Implemented by App View.",
|
|
166956
167519
|
parameters: {
|
|
166957
167520
|
type: "params",
|
|
166958
167521
|
required: ["feed"],
|
|
@@ -167005,14 +167568,15 @@ var schemaDict2 = {
|
|
|
167005
167568
|
defs: {
|
|
167006
167569
|
main: {
|
|
167007
167570
|
type: "query",
|
|
167008
|
-
description: "Get information about a feed generator.",
|
|
167571
|
+
description: "Get information about a feed generator. Implemented by AppView.",
|
|
167009
167572
|
parameters: {
|
|
167010
167573
|
type: "params",
|
|
167011
167574
|
required: ["feed"],
|
|
167012
167575
|
properties: {
|
|
167013
167576
|
feed: {
|
|
167014
167577
|
type: "string",
|
|
167015
|
-
format: "at-uri"
|
|
167578
|
+
format: "at-uri",
|
|
167579
|
+
description: "AT-URI of the feed generator record."
|
|
167016
167580
|
}
|
|
167017
167581
|
}
|
|
167018
167582
|
},
|
|
@@ -167027,10 +167591,12 @@ var schemaDict2 = {
|
|
|
167027
167591
|
ref: "lex:app.bsky.feed.defs#generatorView"
|
|
167028
167592
|
},
|
|
167029
167593
|
isOnline: {
|
|
167030
|
-
type: "boolean"
|
|
167594
|
+
type: "boolean",
|
|
167595
|
+
description: "Indicates whether the feed generator service has been online recently, or else seems to be inactive."
|
|
167031
167596
|
},
|
|
167032
167597
|
isValid: {
|
|
167033
|
-
type: "boolean"
|
|
167598
|
+
type: "boolean",
|
|
167599
|
+
description: "Indicates whether the feed generator service is compatible with the record declaration."
|
|
167034
167600
|
}
|
|
167035
167601
|
}
|
|
167036
167602
|
}
|
|
@@ -167083,14 +167649,15 @@ var schemaDict2 = {
|
|
|
167083
167649
|
defs: {
|
|
167084
167650
|
main: {
|
|
167085
167651
|
type: "query",
|
|
167086
|
-
description: "Get a skeleton of a feed provided by a feed generator.",
|
|
167652
|
+
description: "Get a skeleton of a feed provided by a feed generator. Auth is optional, depending on provider requirements, and provides the DID of the requester. Implemented by Feed Generator Service.",
|
|
167087
167653
|
parameters: {
|
|
167088
167654
|
type: "params",
|
|
167089
167655
|
required: ["feed"],
|
|
167090
167656
|
properties: {
|
|
167091
167657
|
feed: {
|
|
167092
167658
|
type: "string",
|
|
167093
|
-
format: "at-uri"
|
|
167659
|
+
format: "at-uri",
|
|
167660
|
+
description: "Reference to feed generator record describing the specific feed being requested."
|
|
167094
167661
|
},
|
|
167095
167662
|
limit: {
|
|
167096
167663
|
type: "integer",
|
|
@@ -167136,18 +167703,20 @@ var schemaDict2 = {
|
|
|
167136
167703
|
defs: {
|
|
167137
167704
|
main: {
|
|
167138
167705
|
type: "query",
|
|
167139
|
-
description: "Get
|
|
167706
|
+
description: "Get like records which reference a subject (by AT-URI and CID).",
|
|
167140
167707
|
parameters: {
|
|
167141
167708
|
type: "params",
|
|
167142
167709
|
required: ["uri"],
|
|
167143
167710
|
properties: {
|
|
167144
167711
|
uri: {
|
|
167145
167712
|
type: "string",
|
|
167146
|
-
format: "at-uri"
|
|
167713
|
+
format: "at-uri",
|
|
167714
|
+
description: "AT-URI of the subject (eg, a post record)."
|
|
167147
167715
|
},
|
|
167148
167716
|
cid: {
|
|
167149
167717
|
type: "string",
|
|
167150
|
-
format: "cid"
|
|
167718
|
+
format: "cid",
|
|
167719
|
+
description: "CID of the subject record (aka, specific version of record), to filter likes."
|
|
167151
167720
|
},
|
|
167152
167721
|
limit: {
|
|
167153
167722
|
type: "integer",
|
|
@@ -167214,14 +167783,15 @@ var schemaDict2 = {
|
|
|
167214
167783
|
defs: {
|
|
167215
167784
|
main: {
|
|
167216
167785
|
type: "query",
|
|
167217
|
-
description: "Get a
|
|
167786
|
+
description: "Get a feed of recent posts from a list (posts and reposts from any actors on the list). Does not require auth.",
|
|
167218
167787
|
parameters: {
|
|
167219
167788
|
type: "params",
|
|
167220
167789
|
required: ["list"],
|
|
167221
167790
|
properties: {
|
|
167222
167791
|
list: {
|
|
167223
167792
|
type: "string",
|
|
167224
|
-
format: "at-uri"
|
|
167793
|
+
format: "at-uri",
|
|
167794
|
+
description: "Reference (AT-URI) to the list record."
|
|
167225
167795
|
},
|
|
167226
167796
|
limit: {
|
|
167227
167797
|
type: "integer",
|
|
@@ -167267,23 +167837,26 @@ var schemaDict2 = {
|
|
|
167267
167837
|
defs: {
|
|
167268
167838
|
main: {
|
|
167269
167839
|
type: "query",
|
|
167270
|
-
description: "Get posts in a thread.",
|
|
167840
|
+
description: "Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.",
|
|
167271
167841
|
parameters: {
|
|
167272
167842
|
type: "params",
|
|
167273
167843
|
required: ["uri"],
|
|
167274
167844
|
properties: {
|
|
167275
167845
|
uri: {
|
|
167276
167846
|
type: "string",
|
|
167277
|
-
format: "at-uri"
|
|
167847
|
+
format: "at-uri",
|
|
167848
|
+
description: "Reference (AT-URI) to post record."
|
|
167278
167849
|
},
|
|
167279
167850
|
depth: {
|
|
167280
167851
|
type: "integer",
|
|
167852
|
+
description: "How many levels of reply depth should be included in response.",
|
|
167281
167853
|
default: 6,
|
|
167282
167854
|
minimum: 0,
|
|
167283
167855
|
maximum: 1e3
|
|
167284
167856
|
},
|
|
167285
167857
|
parentHeight: {
|
|
167286
167858
|
type: "integer",
|
|
167859
|
+
description: "How many levels of parent (and grandparent, etc) post to include.",
|
|
167287
167860
|
default: 80,
|
|
167288
167861
|
minimum: 0,
|
|
167289
167862
|
maximum: 1e3
|
|
@@ -167321,13 +167894,14 @@ var schemaDict2 = {
|
|
|
167321
167894
|
defs: {
|
|
167322
167895
|
main: {
|
|
167323
167896
|
type: "query",
|
|
167324
|
-
description: "
|
|
167897
|
+
description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
|
|
167325
167898
|
parameters: {
|
|
167326
167899
|
type: "params",
|
|
167327
167900
|
required: ["uris"],
|
|
167328
167901
|
properties: {
|
|
167329
167902
|
uris: {
|
|
167330
167903
|
type: "array",
|
|
167904
|
+
description: "List of post AT-URIs to return hydrated views for.",
|
|
167331
167905
|
items: {
|
|
167332
167906
|
type: "string",
|
|
167333
167907
|
format: "at-uri"
|
|
@@ -167361,18 +167935,20 @@ var schemaDict2 = {
|
|
|
167361
167935
|
defs: {
|
|
167362
167936
|
main: {
|
|
167363
167937
|
type: "query",
|
|
167364
|
-
description: "Get a list of reposts.",
|
|
167938
|
+
description: "Get a list of reposts for a given post.",
|
|
167365
167939
|
parameters: {
|
|
167366
167940
|
type: "params",
|
|
167367
167941
|
required: ["uri"],
|
|
167368
167942
|
properties: {
|
|
167369
167943
|
uri: {
|
|
167370
167944
|
type: "string",
|
|
167371
|
-
format: "at-uri"
|
|
167945
|
+
format: "at-uri",
|
|
167946
|
+
description: "Reference (AT-URI) of post record"
|
|
167372
167947
|
},
|
|
167373
167948
|
cid: {
|
|
167374
167949
|
type: "string",
|
|
167375
|
-
format: "cid"
|
|
167950
|
+
format: "cid",
|
|
167951
|
+
description: "If supplied, filters to reposts of specific version (by CID) of the post record."
|
|
167376
167952
|
},
|
|
167377
167953
|
limit: {
|
|
167378
167954
|
type: "integer",
|
|
@@ -167421,7 +167997,7 @@ var schemaDict2 = {
|
|
|
167421
167997
|
defs: {
|
|
167422
167998
|
main: {
|
|
167423
167999
|
type: "query",
|
|
167424
|
-
description: "Get a list of suggested feeds for the
|
|
168000
|
+
description: "Get a list of suggested feeds (feed generators) for the requesting account.",
|
|
167425
168001
|
parameters: {
|
|
167426
168002
|
type: "params",
|
|
167427
168003
|
properties: {
|
|
@@ -167464,12 +168040,13 @@ var schemaDict2 = {
|
|
|
167464
168040
|
defs: {
|
|
167465
168041
|
main: {
|
|
167466
168042
|
type: "query",
|
|
167467
|
-
description: "Get a view of the
|
|
168043
|
+
description: "Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed.",
|
|
167468
168044
|
parameters: {
|
|
167469
168045
|
type: "params",
|
|
167470
168046
|
properties: {
|
|
167471
168047
|
algorithm: {
|
|
167472
|
-
type: "string"
|
|
168048
|
+
type: "string",
|
|
168049
|
+
description: "Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism."
|
|
167473
168050
|
},
|
|
167474
168051
|
limit: {
|
|
167475
168052
|
type: "integer",
|
|
@@ -167510,7 +168087,7 @@ var schemaDict2 = {
|
|
|
167510
168087
|
defs: {
|
|
167511
168088
|
main: {
|
|
167512
168089
|
type: "record",
|
|
167513
|
-
description: "
|
|
168090
|
+
description: "Record declaring a 'like' of a piece of subject content.",
|
|
167514
168091
|
key: "tid",
|
|
167515
168092
|
record: {
|
|
167516
168093
|
type: "object",
|
|
@@ -167535,7 +168112,7 @@ var schemaDict2 = {
|
|
|
167535
168112
|
defs: {
|
|
167536
168113
|
main: {
|
|
167537
168114
|
type: "record",
|
|
167538
|
-
description: "
|
|
168115
|
+
description: "Record containing a Bluesky post.",
|
|
167539
168116
|
key: "tid",
|
|
167540
168117
|
record: {
|
|
167541
168118
|
type: "object",
|
|
@@ -167544,11 +168121,12 @@ var schemaDict2 = {
|
|
|
167544
168121
|
text: {
|
|
167545
168122
|
type: "string",
|
|
167546
168123
|
maxLength: 3e3,
|
|
167547
|
-
maxGraphemes: 300
|
|
168124
|
+
maxGraphemes: 300,
|
|
168125
|
+
description: "The primary post content. May be an empty string, if there are embeds."
|
|
167548
168126
|
},
|
|
167549
168127
|
entities: {
|
|
167550
168128
|
type: "array",
|
|
167551
|
-
description: "
|
|
168129
|
+
description: "DEPRECATED: replaced by app.bsky.richtext.facet.",
|
|
167552
168130
|
items: {
|
|
167553
168131
|
type: "ref",
|
|
167554
168132
|
ref: "lex:app.bsky.feed.post#entity"
|
|
@@ -167556,6 +168134,7 @@ var schemaDict2 = {
|
|
|
167556
168134
|
},
|
|
167557
168135
|
facets: {
|
|
167558
168136
|
type: "array",
|
|
168137
|
+
description: "Annotations of text (mentions, URLs, hashtags, etc)",
|
|
167559
168138
|
items: {
|
|
167560
168139
|
type: "ref",
|
|
167561
168140
|
ref: "lex:app.bsky.richtext.facet"
|
|
@@ -167576,6 +168155,7 @@ var schemaDict2 = {
|
|
|
167576
168155
|
},
|
|
167577
168156
|
langs: {
|
|
167578
168157
|
type: "array",
|
|
168158
|
+
description: "Indicates human language of post primary text content.",
|
|
167579
168159
|
maxLength: 3,
|
|
167580
168160
|
items: {
|
|
167581
168161
|
type: "string",
|
|
@@ -167584,21 +168164,23 @@ var schemaDict2 = {
|
|
|
167584
168164
|
},
|
|
167585
168165
|
labels: {
|
|
167586
168166
|
type: "union",
|
|
168167
|
+
description: "Self-label values for this post. Effectively content warnings.",
|
|
167587
168168
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
167588
168169
|
},
|
|
167589
168170
|
tags: {
|
|
167590
168171
|
type: "array",
|
|
168172
|
+
description: "Additional non-inline tags describing this post.",
|
|
167591
168173
|
maxLength: 8,
|
|
167592
168174
|
items: {
|
|
167593
168175
|
type: "string",
|
|
167594
168176
|
maxLength: 640,
|
|
167595
168177
|
maxGraphemes: 64
|
|
167596
|
-
}
|
|
167597
|
-
description: "Additional non-inline tags describing this post."
|
|
168178
|
+
}
|
|
167598
168179
|
},
|
|
167599
168180
|
createdAt: {
|
|
167600
168181
|
type: "string",
|
|
167601
|
-
format: "datetime"
|
|
168182
|
+
format: "datetime",
|
|
168183
|
+
description: "Client-declared timestamp when this post was originally created."
|
|
167602
168184
|
}
|
|
167603
168185
|
}
|
|
167604
168186
|
}
|
|
@@ -167657,7 +168239,7 @@ var schemaDict2 = {
|
|
|
167657
168239
|
id: "app.bsky.feed.repost",
|
|
167658
168240
|
defs: {
|
|
167659
168241
|
main: {
|
|
167660
|
-
description: "
|
|
168242
|
+
description: "Record representing a 'repost' of an existing Bluesky post.",
|
|
167661
168243
|
type: "record",
|
|
167662
168244
|
key: "tid",
|
|
167663
168245
|
record: {
|
|
@@ -167683,7 +168265,7 @@ var schemaDict2 = {
|
|
|
167683
168265
|
defs: {
|
|
167684
168266
|
main: {
|
|
167685
168267
|
type: "query",
|
|
167686
|
-
description: "Find posts matching search criteria.",
|
|
168268
|
+
description: "Find posts matching search criteria, returning views of those posts.",
|
|
167687
168269
|
parameters: {
|
|
167688
168270
|
type: "params",
|
|
167689
168271
|
required: ["q"],
|
|
@@ -167742,14 +168324,15 @@ var schemaDict2 = {
|
|
|
167742
168324
|
main: {
|
|
167743
168325
|
type: "record",
|
|
167744
168326
|
key: "tid",
|
|
167745
|
-
description: "
|
|
168327
|
+
description: "Record defining interaction gating rules for a thread (aka, reply controls). The record key (rkey) of the threadgate record must match the record key of the thread's root post, and that record must be in the same repository..",
|
|
167746
168328
|
record: {
|
|
167747
168329
|
type: "object",
|
|
167748
168330
|
required: ["post", "createdAt"],
|
|
167749
168331
|
properties: {
|
|
167750
168332
|
post: {
|
|
167751
168333
|
type: "string",
|
|
167752
|
-
format: "at-uri"
|
|
168334
|
+
format: "at-uri",
|
|
168335
|
+
description: "Reference (AT-URI) to the post record."
|
|
167753
168336
|
},
|
|
167754
168337
|
allow: {
|
|
167755
168338
|
type: "array",
|
|
@@ -167799,7 +168382,7 @@ var schemaDict2 = {
|
|
|
167799
168382
|
defs: {
|
|
167800
168383
|
main: {
|
|
167801
168384
|
type: "record",
|
|
167802
|
-
description: "
|
|
168385
|
+
description: "Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details.",
|
|
167803
168386
|
key: "tid",
|
|
167804
168387
|
record: {
|
|
167805
168388
|
type: "object",
|
|
@@ -167807,7 +168390,8 @@ var schemaDict2 = {
|
|
|
167807
168390
|
properties: {
|
|
167808
168391
|
subject: {
|
|
167809
168392
|
type: "string",
|
|
167810
|
-
format: "did"
|
|
168393
|
+
format: "did",
|
|
168394
|
+
description: "DID of the account to be blocked."
|
|
167811
168395
|
},
|
|
167812
168396
|
createdAt: {
|
|
167813
168397
|
type: "string",
|
|
@@ -167991,7 +168575,7 @@ var schemaDict2 = {
|
|
|
167991
168575
|
defs: {
|
|
167992
168576
|
main: {
|
|
167993
168577
|
type: "record",
|
|
167994
|
-
description: "
|
|
168578
|
+
description: "Record declaring a social 'follow' relationship of another account. Duplicate follows will be ignored by the AppView.",
|
|
167995
168579
|
key: "tid",
|
|
167996
168580
|
record: {
|
|
167997
168581
|
type: "object",
|
|
@@ -168016,7 +168600,7 @@ var schemaDict2 = {
|
|
|
168016
168600
|
defs: {
|
|
168017
168601
|
main: {
|
|
168018
168602
|
type: "query",
|
|
168019
|
-
description: "
|
|
168603
|
+
description: "Enumerates which accounts the requesting account is currently blocking. Requires auth.",
|
|
168020
168604
|
parameters: {
|
|
168021
168605
|
type: "params",
|
|
168022
168606
|
properties: {
|
|
@@ -168059,7 +168643,7 @@ var schemaDict2 = {
|
|
|
168059
168643
|
defs: {
|
|
168060
168644
|
main: {
|
|
168061
168645
|
type: "query",
|
|
168062
|
-
description: "
|
|
168646
|
+
description: "Enumerates accounts which follow a specified account (actor).",
|
|
168063
168647
|
parameters: {
|
|
168064
168648
|
type: "params",
|
|
168065
168649
|
required: ["actor"],
|
|
@@ -168111,7 +168695,7 @@ var schemaDict2 = {
|
|
|
168111
168695
|
defs: {
|
|
168112
168696
|
main: {
|
|
168113
168697
|
type: "query",
|
|
168114
|
-
description: "
|
|
168698
|
+
description: "Enumerates accounts which a specified account (actor) follows.",
|
|
168115
168699
|
parameters: {
|
|
168116
168700
|
type: "params",
|
|
168117
168701
|
required: ["actor"],
|
|
@@ -168163,14 +168747,15 @@ var schemaDict2 = {
|
|
|
168163
168747
|
defs: {
|
|
168164
168748
|
main: {
|
|
168165
168749
|
type: "query",
|
|
168166
|
-
description: "
|
|
168750
|
+
description: "Gets a 'view' (with additional context) of a specified list.",
|
|
168167
168751
|
parameters: {
|
|
168168
168752
|
type: "params",
|
|
168169
168753
|
required: ["list"],
|
|
168170
168754
|
properties: {
|
|
168171
168755
|
list: {
|
|
168172
168756
|
type: "string",
|
|
168173
|
-
format: "at-uri"
|
|
168757
|
+
format: "at-uri",
|
|
168758
|
+
description: "Reference (AT-URI) of the list record to hydrate."
|
|
168174
168759
|
},
|
|
168175
168760
|
limit: {
|
|
168176
168761
|
type: "integer",
|
|
@@ -168215,7 +168800,7 @@ var schemaDict2 = {
|
|
|
168215
168800
|
defs: {
|
|
168216
168801
|
main: {
|
|
168217
168802
|
type: "query",
|
|
168218
|
-
description: "Get lists that the actor is blocking.",
|
|
168803
|
+
description: "Get mod lists that the requesting account (actor) is blocking. Requires auth.",
|
|
168219
168804
|
parameters: {
|
|
168220
168805
|
type: "params",
|
|
168221
168806
|
properties: {
|
|
@@ -168258,7 +168843,7 @@ var schemaDict2 = {
|
|
|
168258
168843
|
defs: {
|
|
168259
168844
|
main: {
|
|
168260
168845
|
type: "query",
|
|
168261
|
-
description: "
|
|
168846
|
+
description: "Enumerates mod lists that the requesting account (actor) currently has muted. Requires auth.",
|
|
168262
168847
|
parameters: {
|
|
168263
168848
|
type: "params",
|
|
168264
168849
|
properties: {
|
|
@@ -168301,14 +168886,15 @@ var schemaDict2 = {
|
|
|
168301
168886
|
defs: {
|
|
168302
168887
|
main: {
|
|
168303
168888
|
type: "query",
|
|
168304
|
-
description: "
|
|
168889
|
+
description: "Enumerates the lists created by a specified account (actor).",
|
|
168305
168890
|
parameters: {
|
|
168306
168891
|
type: "params",
|
|
168307
168892
|
required: ["actor"],
|
|
168308
168893
|
properties: {
|
|
168309
168894
|
actor: {
|
|
168310
168895
|
type: "string",
|
|
168311
|
-
format: "at-identifier"
|
|
168896
|
+
format: "at-identifier",
|
|
168897
|
+
description: "The account (actor) to enumerate lists from."
|
|
168312
168898
|
},
|
|
168313
168899
|
limit: {
|
|
168314
168900
|
type: "integer",
|
|
@@ -168349,7 +168935,7 @@ var schemaDict2 = {
|
|
|
168349
168935
|
defs: {
|
|
168350
168936
|
main: {
|
|
168351
168937
|
type: "query",
|
|
168352
|
-
description: "
|
|
168938
|
+
description: "Enumerates accounts that the requesting account (actor) currently has muted. Requires auth.",
|
|
168353
168939
|
parameters: {
|
|
168354
168940
|
type: "params",
|
|
168355
168941
|
properties: {
|
|
@@ -168392,17 +168978,19 @@ var schemaDict2 = {
|
|
|
168392
168978
|
defs: {
|
|
168393
168979
|
main: {
|
|
168394
168980
|
type: "query",
|
|
168395
|
-
description: "Enumerates public relationships between one account, and a list of other accounts",
|
|
168981
|
+
description: "Enumerates public relationships between one account, and a list of other accounts. Does not require auth.",
|
|
168396
168982
|
parameters: {
|
|
168397
168983
|
type: "params",
|
|
168398
168984
|
required: ["actor"],
|
|
168399
168985
|
properties: {
|
|
168400
168986
|
actor: {
|
|
168401
168987
|
type: "string",
|
|
168402
|
-
format: "at-identifier"
|
|
168988
|
+
format: "at-identifier",
|
|
168989
|
+
description: "Primary account requesting relationships for."
|
|
168403
168990
|
},
|
|
168404
168991
|
others: {
|
|
168405
168992
|
type: "array",
|
|
168993
|
+
description: "List of 'other' accounts to be related back to the primary.",
|
|
168406
168994
|
maxLength: 30,
|
|
168407
168995
|
items: {
|
|
168408
168996
|
type: "string",
|
|
@@ -168449,7 +169037,7 @@ var schemaDict2 = {
|
|
|
168449
169037
|
defs: {
|
|
168450
169038
|
main: {
|
|
168451
169039
|
type: "query",
|
|
168452
|
-
description: "
|
|
169040
|
+
description: "Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.",
|
|
168453
169041
|
parameters: {
|
|
168454
169042
|
type: "params",
|
|
168455
169043
|
required: ["actor"],
|
|
@@ -168485,7 +169073,7 @@ var schemaDict2 = {
|
|
|
168485
169073
|
defs: {
|
|
168486
169074
|
main: {
|
|
168487
169075
|
type: "record",
|
|
168488
|
-
description: "
|
|
169076
|
+
description: "Record representing a list of accounts (actors). Scope includes both moderation-oriented lists and curration-oriented lists.",
|
|
168489
169077
|
key: "tid",
|
|
168490
169078
|
record: {
|
|
168491
169079
|
type: "object",
|
|
@@ -168493,12 +169081,14 @@ var schemaDict2 = {
|
|
|
168493
169081
|
properties: {
|
|
168494
169082
|
purpose: {
|
|
168495
169083
|
type: "ref",
|
|
169084
|
+
description: "Defines the purpose of the list (aka, moderation-oriented or curration-oriented)",
|
|
168496
169085
|
ref: "lex:app.bsky.graph.defs#listPurpose"
|
|
168497
169086
|
},
|
|
168498
169087
|
name: {
|
|
168499
169088
|
type: "string",
|
|
168500
169089
|
maxLength: 64,
|
|
168501
|
-
minLength: 1
|
|
169090
|
+
minLength: 1,
|
|
169091
|
+
description: "Display name for list; can not be empty."
|
|
168502
169092
|
},
|
|
168503
169093
|
description: {
|
|
168504
169094
|
type: "string",
|
|
@@ -168536,7 +169126,7 @@ var schemaDict2 = {
|
|
|
168536
169126
|
defs: {
|
|
168537
169127
|
main: {
|
|
168538
169128
|
type: "record",
|
|
168539
|
-
description: "
|
|
169129
|
+
description: "Record representing a block relationship against an entire an entire list of accounts (actors).",
|
|
168540
169130
|
key: "tid",
|
|
168541
169131
|
record: {
|
|
168542
169132
|
type: "object",
|
|
@@ -168544,7 +169134,8 @@ var schemaDict2 = {
|
|
|
168544
169134
|
properties: {
|
|
168545
169135
|
subject: {
|
|
168546
169136
|
type: "string",
|
|
168547
|
-
format: "at-uri"
|
|
169137
|
+
format: "at-uri",
|
|
169138
|
+
description: "Reference (AT-URI) to the mod list record."
|
|
168548
169139
|
},
|
|
168549
169140
|
createdAt: {
|
|
168550
169141
|
type: "string",
|
|
@@ -168561,7 +169152,7 @@ var schemaDict2 = {
|
|
|
168561
169152
|
defs: {
|
|
168562
169153
|
main: {
|
|
168563
169154
|
type: "record",
|
|
168564
|
-
description: "
|
|
169155
|
+
description: "Record representing an account's inclusion on a specific list. The AppView will ignore duplicate listitem records.",
|
|
168565
169156
|
key: "tid",
|
|
168566
169157
|
record: {
|
|
168567
169158
|
type: "object",
|
|
@@ -168569,11 +169160,13 @@ var schemaDict2 = {
|
|
|
168569
169160
|
properties: {
|
|
168570
169161
|
subject: {
|
|
168571
169162
|
type: "string",
|
|
168572
|
-
format: "did"
|
|
169163
|
+
format: "did",
|
|
169164
|
+
description: "The account which is included on the list."
|
|
168573
169165
|
},
|
|
168574
169166
|
list: {
|
|
168575
169167
|
type: "string",
|
|
168576
|
-
format: "at-uri"
|
|
169168
|
+
format: "at-uri",
|
|
169169
|
+
description: "Reference (AT-URI) to the list record (app.bsky.graph.list)."
|
|
168577
169170
|
},
|
|
168578
169171
|
createdAt: {
|
|
168579
169172
|
type: "string",
|
|
@@ -168590,7 +169183,7 @@ var schemaDict2 = {
|
|
|
168590
169183
|
defs: {
|
|
168591
169184
|
main: {
|
|
168592
169185
|
type: "procedure",
|
|
168593
|
-
description: "
|
|
169186
|
+
description: "Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth.",
|
|
168594
169187
|
input: {
|
|
168595
169188
|
encoding: "application/json",
|
|
168596
169189
|
schema: {
|
|
@@ -168613,7 +169206,7 @@ var schemaDict2 = {
|
|
|
168613
169206
|
defs: {
|
|
168614
169207
|
main: {
|
|
168615
169208
|
type: "procedure",
|
|
168616
|
-
description: "
|
|
169209
|
+
description: "Creates a mute relationship for the specified list of accounts. Mutes are private in Bluesky. Requires auth.",
|
|
168617
169210
|
input: {
|
|
168618
169211
|
encoding: "application/json",
|
|
168619
169212
|
schema: {
|
|
@@ -168636,7 +169229,7 @@ var schemaDict2 = {
|
|
|
168636
169229
|
defs: {
|
|
168637
169230
|
main: {
|
|
168638
169231
|
type: "procedure",
|
|
168639
|
-
description: "
|
|
169232
|
+
description: "Unmutes the specified account. Requires auth.",
|
|
168640
169233
|
input: {
|
|
168641
169234
|
encoding: "application/json",
|
|
168642
169235
|
schema: {
|
|
@@ -168659,7 +169252,7 @@ var schemaDict2 = {
|
|
|
168659
169252
|
defs: {
|
|
168660
169253
|
main: {
|
|
168661
169254
|
type: "procedure",
|
|
168662
|
-
description: "
|
|
169255
|
+
description: "Unmutes the specified list of accounts. Requires auth.",
|
|
168663
169256
|
input: {
|
|
168664
169257
|
encoding: "application/json",
|
|
168665
169258
|
schema: {
|
|
@@ -168682,7 +169275,7 @@ var schemaDict2 = {
|
|
|
168682
169275
|
defs: {
|
|
168683
169276
|
main: {
|
|
168684
169277
|
type: "query",
|
|
168685
|
-
description: "
|
|
169278
|
+
description: "Count the number of unread notifications for the requesting account. Requires auth.",
|
|
168686
169279
|
parameters: {
|
|
168687
169280
|
type: "params",
|
|
168688
169281
|
properties: {
|
|
@@ -168713,7 +169306,7 @@ var schemaDict2 = {
|
|
|
168713
169306
|
defs: {
|
|
168714
169307
|
main: {
|
|
168715
169308
|
type: "query",
|
|
168716
|
-
description: "
|
|
169309
|
+
description: "Enumerate notifications for the requesting account. Requires auth.",
|
|
168717
169310
|
parameters: {
|
|
168718
169311
|
type: "params",
|
|
168719
169312
|
properties: {
|
|
@@ -168823,7 +169416,7 @@ var schemaDict2 = {
|
|
|
168823
169416
|
defs: {
|
|
168824
169417
|
main: {
|
|
168825
169418
|
type: "procedure",
|
|
168826
|
-
description: "Register
|
|
169419
|
+
description: "Register to receive push notifications, via a specified service, for the requesting account. Requires auth.",
|
|
168827
169420
|
input: {
|
|
168828
169421
|
encoding: "application/json",
|
|
168829
169422
|
schema: {
|
|
@@ -168856,7 +169449,7 @@ var schemaDict2 = {
|
|
|
168856
169449
|
defs: {
|
|
168857
169450
|
main: {
|
|
168858
169451
|
type: "procedure",
|
|
168859
|
-
description: "Notify server that the
|
|
169452
|
+
description: "Notify server that the requesting account has seen notifications. Requires auth.",
|
|
168860
169453
|
input: {
|
|
168861
169454
|
encoding: "application/json",
|
|
168862
169455
|
schema: {
|
|
@@ -168879,6 +169472,7 @@ var schemaDict2 = {
|
|
|
168879
169472
|
defs: {
|
|
168880
169473
|
main: {
|
|
168881
169474
|
type: "object",
|
|
169475
|
+
description: "Annotation of a sub-string within rich text.",
|
|
168882
169476
|
required: ["index", "features"],
|
|
168883
169477
|
properties: {
|
|
168884
169478
|
index: {
|
|
@@ -168900,7 +169494,7 @@ var schemaDict2 = {
|
|
|
168900
169494
|
},
|
|
168901
169495
|
mention: {
|
|
168902
169496
|
type: "object",
|
|
168903
|
-
description: "
|
|
169497
|
+
description: "Facet feature for mention of another account. The text is usually a handle, including a '@' prefix, but the facet reference is a DID.",
|
|
168904
169498
|
required: ["did"],
|
|
168905
169499
|
properties: {
|
|
168906
169500
|
did: {
|
|
@@ -168911,7 +169505,7 @@ var schemaDict2 = {
|
|
|
168911
169505
|
},
|
|
168912
169506
|
link: {
|
|
168913
169507
|
type: "object",
|
|
168914
|
-
description: "
|
|
169508
|
+
description: "Facet feature for a URL. The text URL may have been simplified or truncated, but the facet reference should be a complete URL.",
|
|
168915
169509
|
required: ["uri"],
|
|
168916
169510
|
properties: {
|
|
168917
169511
|
uri: {
|
|
@@ -168922,7 +169516,7 @@ var schemaDict2 = {
|
|
|
168922
169516
|
},
|
|
168923
169517
|
tag: {
|
|
168924
169518
|
type: "object",
|
|
168925
|
-
description: "
|
|
169519
|
+
description: "Facet feature for a hashtag. The text usually includes a '#' prefix, but the facet reference should not (except in the case of 'double hash tags').",
|
|
168926
169520
|
required: ["tag"],
|
|
168927
169521
|
properties: {
|
|
168928
169522
|
tag: {
|
|
@@ -168934,7 +169528,7 @@ var schemaDict2 = {
|
|
|
168934
169528
|
},
|
|
168935
169529
|
byteSlice: {
|
|
168936
169530
|
type: "object",
|
|
168937
|
-
description: "
|
|
169531
|
+
description: "Specifies the sub-string range a facet feature applies to. Start index is inclusive, end index is exclusive. Indices are zero-indexed, counting bytes of the UTF-8 encoded text. NOTE: some languages, like Javascript, use UTF-16 or Unicode codepoints for string slice indexing; in these languages, convert to byte arrays before working with facets.",
|
|
168938
169532
|
required: ["byteStart", "byteEnd"],
|
|
168939
169533
|
properties: {
|
|
168940
169534
|
byteStart: {
|
|
@@ -173594,14 +174188,14 @@ var unsignedCommit = z.object({
|
|
|
173594
174188
|
version: z.literal(3),
|
|
173595
174189
|
data: schema.cid,
|
|
173596
174190
|
rev: z.string(),
|
|
173597
|
-
prev: schema.cid.nullable()
|
|
174191
|
+
prev: schema.cid.nullable()
|
|
173598
174192
|
});
|
|
173599
174193
|
var commit = z.object({
|
|
173600
174194
|
did: z.string(),
|
|
173601
174195
|
version: z.literal(3),
|
|
173602
174196
|
data: schema.cid,
|
|
173603
174197
|
rev: z.string(),
|
|
173604
|
-
prev: schema.cid.nullable()
|
|
174198
|
+
prev: schema.cid.nullable(),
|
|
173605
174199
|
sig: schema.bytes
|
|
173606
174200
|
});
|
|
173607
174201
|
var legacyV2Commit = z.object({
|
|
@@ -176102,8 +176696,9 @@ var FeedViews = class {
|
|
|
176102
176696
|
const post = posts[uri2];
|
|
176103
176697
|
const gate = threadgates[uri2];
|
|
176104
176698
|
const author = actors[post?.creator];
|
|
176105
|
-
if (!post || !author)
|
|
176699
|
+
if (!post || !author) {
|
|
176106
176700
|
return void 0;
|
|
176701
|
+
}
|
|
176107
176702
|
const postLabels = labels[uri2] ?? [];
|
|
176108
176703
|
const postSelfLabels = getSelfLabels({
|
|
176109
176704
|
uri: post.uri,
|
|
@@ -176332,12 +176927,12 @@ var FeedService = class {
|
|
|
176332
176927
|
const { ref } = this.db.db.dynamic;
|
|
176333
176928
|
return this.db.db.selectFrom("feed_generator").innerJoin("actor", "actor.did", "feed_generator.creator").innerJoin("record", "record.uri", "feed_generator.uri").selectAll("feed_generator").where(notSoftDeletedClause(ref("actor"))).where(notSoftDeletedClause(ref("record"))).select((qb) => qb.selectFrom("like").whereRef("like.subject", "=", "feed_generator.uri").select(countAll.as("count")).as("likeCount")).select((qb) => qb.selectFrom("like").if(!viewer, (q) => q.where(noMatch)).where("like.creator", "=", viewer ?? "").whereRef("like.subject", "=", "feed_generator.uri").select("uri").as("viewerLike"));
|
|
176334
176929
|
}
|
|
176335
|
-
async getPostInfos(postUris, viewer) {
|
|
176930
|
+
async getPostInfos(postUris, viewer, includeSoftDeleted) {
|
|
176336
176931
|
if (postUris.length < 1)
|
|
176337
176932
|
return {};
|
|
176338
176933
|
const db = this.db.db;
|
|
176339
176934
|
const { ref } = db.dynamic;
|
|
176340
|
-
const posts = await db.selectFrom("post").where("post.uri", "in", postUris).innerJoin("actor", "actor.did", "post.creator").innerJoin("record", "record.uri", "post.uri").leftJoin("post_agg", "post_agg.uri", "post.uri").where(notSoftDeletedClause(ref("actor"))).where(notSoftDeletedClause(ref("record"))).select([
|
|
176935
|
+
const posts = await db.selectFrom("post").where("post.uri", "in", postUris).innerJoin("actor", "actor.did", "post.creator").innerJoin("record", "record.uri", "post.uri").leftJoin("post_agg", "post_agg.uri", "post.uri").if(!includeSoftDeleted, (qb) => qb.where(notSoftDeletedClause(ref("actor")))).if(!includeSoftDeleted, (qb) => qb.where(notSoftDeletedClause(ref("record")))).select([
|
|
176341
176936
|
"post.uri as uri",
|
|
176342
176937
|
"post.cid as cid",
|
|
176343
176938
|
"post.creator as creator",
|
|
@@ -176410,13 +177005,13 @@ var FeedService = class {
|
|
|
176410
177005
|
async feedHydration(refs, depth = 0) {
|
|
176411
177006
|
const { viewer, dids, uris } = refs;
|
|
176412
177007
|
const [posts, threadgates, labels, bam] = await Promise.all([
|
|
176413
|
-
this.getPostInfos(Array.from(uris), viewer),
|
|
177008
|
+
this.getPostInfos(Array.from(uris), viewer, refs.includeSoftDeleted),
|
|
176414
177009
|
this.threadgatesByPostUri(Array.from(uris)),
|
|
176415
177010
|
this.services.label.getLabelsForSubjects([...uris, ...dids]),
|
|
176416
177011
|
this.services.graph.getBlockAndMuteState(viewer ? [...dids].map((did2) => [viewer, did2]) : [])
|
|
176417
177012
|
]);
|
|
176418
177013
|
const [profileState, blocks, lists] = await Promise.all([
|
|
176419
|
-
this.services.actor.views.profileHydration(Array.from(dids), { viewer }, { bam, labels }),
|
|
177014
|
+
this.services.actor.views.profileHydration(Array.from(dids), { viewer, includeSoftDeleted: refs.includeSoftDeleted }, { bam, labels }),
|
|
176420
177015
|
this.blocksForPosts(posts, bam),
|
|
176421
177016
|
this.listsForThreadgates(threadgates, viewer)
|
|
176422
177017
|
]);
|