@atproto/bsky 0.0.29 → 0.0.30
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 +8 -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 +892 -413
- package/dist/index.js.map +3 -3
- package/dist/lexicon/lexicons.d.ts +96 -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/emitModerationEvent.d.ts +2 -2
- 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 +2 -2
- package/dist/lexicon/types/com/atproto/admin/queryModerationStatuses.d.ts +2 -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 +6 -6
- package/src/api/app/bsky/feed/getAuthorFeed.ts +12 -4
- package/src/lexicon/lexicons.ts +339 -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/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 +2 -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 +2 -2
- package/src/lexicon/types/com/atproto/admin/queryModerationStatuses.ts +2 -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/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
|
};
|
|
@@ -150971,7 +151273,7 @@ var schemaDict = {
|
|
|
150971
151273
|
defs: {
|
|
150972
151274
|
main: {
|
|
150973
151275
|
type: "query",
|
|
150974
|
-
description: "
|
|
151276
|
+
description: "Resolves a handle (domain name) to a DID.",
|
|
150975
151277
|
parameters: {
|
|
150976
151278
|
type: "params",
|
|
150977
151279
|
required: ["handle"],
|
|
@@ -151005,7 +151307,7 @@ var schemaDict = {
|
|
|
151005
151307
|
defs: {
|
|
151006
151308
|
main: {
|
|
151007
151309
|
type: "procedure",
|
|
151008
|
-
description: "Updates the handle
|
|
151310
|
+
description: "Updates the current account's handle. Verifies handle validity, and updates did:plc document if necessary. Implemented by PDS, and requires auth.",
|
|
151009
151311
|
input: {
|
|
151010
151312
|
encoding: "application/json",
|
|
151011
151313
|
schema: {
|
|
@@ -151014,7 +151316,8 @@ var schemaDict = {
|
|
|
151014
151316
|
properties: {
|
|
151015
151317
|
handle: {
|
|
151016
151318
|
type: "string",
|
|
151017
|
-
format: "handle"
|
|
151319
|
+
format: "handle",
|
|
151320
|
+
description: "The new handle."
|
|
151018
151321
|
}
|
|
151019
151322
|
}
|
|
151020
151323
|
}
|
|
@@ -151097,7 +151400,7 @@ var schemaDict = {
|
|
|
151097
151400
|
defs: {
|
|
151098
151401
|
main: {
|
|
151099
151402
|
type: "query",
|
|
151100
|
-
description: "Find labels relevant to the provided URI patterns.",
|
|
151403
|
+
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
151404
|
parameters: {
|
|
151102
151405
|
type: "params",
|
|
151103
151406
|
required: ["uriPatterns"],
|
|
@@ -151156,13 +151459,13 @@ var schemaDict = {
|
|
|
151156
151459
|
defs: {
|
|
151157
151460
|
main: {
|
|
151158
151461
|
type: "subscription",
|
|
151159
|
-
description: "Subscribe to
|
|
151462
|
+
description: "Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream.",
|
|
151160
151463
|
parameters: {
|
|
151161
151464
|
type: "params",
|
|
151162
151465
|
properties: {
|
|
151163
151466
|
cursor: {
|
|
151164
151467
|
type: "integer",
|
|
151165
|
-
description: "The last known event to backfill from."
|
|
151468
|
+
description: "The last known event seq number to backfill from."
|
|
151166
151469
|
}
|
|
151167
151470
|
}
|
|
151168
151471
|
},
|
|
@@ -151218,7 +151521,7 @@ var schemaDict = {
|
|
|
151218
151521
|
defs: {
|
|
151219
151522
|
main: {
|
|
151220
151523
|
type: "procedure",
|
|
151221
|
-
description: "
|
|
151524
|
+
description: "Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.",
|
|
151222
151525
|
input: {
|
|
151223
151526
|
encoding: "application/json",
|
|
151224
151527
|
schema: {
|
|
@@ -151227,10 +151530,12 @@ var schemaDict = {
|
|
|
151227
151530
|
properties: {
|
|
151228
151531
|
reasonType: {
|
|
151229
151532
|
type: "ref",
|
|
151533
|
+
description: "Indicates the broad category of violation the report is for.",
|
|
151230
151534
|
ref: "lex:com.atproto.moderation.defs#reasonType"
|
|
151231
151535
|
},
|
|
151232
151536
|
reason: {
|
|
151233
|
-
type: "string"
|
|
151537
|
+
type: "string",
|
|
151538
|
+
description: "Additional context about the content and violation."
|
|
151234
151539
|
},
|
|
151235
151540
|
subject: {
|
|
151236
151541
|
type: "union",
|
|
@@ -151339,7 +151644,7 @@ var schemaDict = {
|
|
|
151339
151644
|
defs: {
|
|
151340
151645
|
main: {
|
|
151341
151646
|
type: "procedure",
|
|
151342
|
-
description: "Apply a batch transaction of creates, updates, and deletes.",
|
|
151647
|
+
description: "Apply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.",
|
|
151343
151648
|
input: {
|
|
151344
151649
|
encoding: "application/json",
|
|
151345
151650
|
schema: {
|
|
@@ -151349,12 +151654,12 @@ var schemaDict = {
|
|
|
151349
151654
|
repo: {
|
|
151350
151655
|
type: "string",
|
|
151351
151656
|
format: "at-identifier",
|
|
151352
|
-
description: "The handle or DID of the repo."
|
|
151657
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
151353
151658
|
},
|
|
151354
151659
|
validate: {
|
|
151355
151660
|
type: "boolean",
|
|
151356
151661
|
default: true,
|
|
151357
|
-
description: "
|
|
151662
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data, for all operations."
|
|
151358
151663
|
},
|
|
151359
151664
|
writes: {
|
|
151360
151665
|
type: "array",
|
|
@@ -151370,6 +151675,7 @@ var schemaDict = {
|
|
|
151370
151675
|
},
|
|
151371
151676
|
swapCommit: {
|
|
151372
151677
|
type: "string",
|
|
151678
|
+
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
151679
|
format: "cid"
|
|
151374
151680
|
}
|
|
151375
151681
|
}
|
|
@@ -151377,13 +151683,14 @@ var schemaDict = {
|
|
|
151377
151683
|
},
|
|
151378
151684
|
errors: [
|
|
151379
151685
|
{
|
|
151380
|
-
name: "InvalidSwap"
|
|
151686
|
+
name: "InvalidSwap",
|
|
151687
|
+
description: "Indicates that the 'swapCommit' parameter did not match current commit."
|
|
151381
151688
|
}
|
|
151382
151689
|
]
|
|
151383
151690
|
},
|
|
151384
151691
|
create: {
|
|
151385
151692
|
type: "object",
|
|
151386
|
-
description: "
|
|
151693
|
+
description: "Operation which creates a new record.",
|
|
151387
151694
|
required: ["collection", "value"],
|
|
151388
151695
|
properties: {
|
|
151389
151696
|
collection: {
|
|
@@ -151401,7 +151708,7 @@ var schemaDict = {
|
|
|
151401
151708
|
},
|
|
151402
151709
|
update: {
|
|
151403
151710
|
type: "object",
|
|
151404
|
-
description: "
|
|
151711
|
+
description: "Operation which updates an existing record.",
|
|
151405
151712
|
required: ["collection", "rkey", "value"],
|
|
151406
151713
|
properties: {
|
|
151407
151714
|
collection: {
|
|
@@ -151418,7 +151725,7 @@ var schemaDict = {
|
|
|
151418
151725
|
},
|
|
151419
151726
|
delete: {
|
|
151420
151727
|
type: "object",
|
|
151421
|
-
description: "
|
|
151728
|
+
description: "Operation which deletes an existing record.",
|
|
151422
151729
|
required: ["collection", "rkey"],
|
|
151423
151730
|
properties: {
|
|
151424
151731
|
collection: {
|
|
@@ -151438,7 +151745,7 @@ var schemaDict = {
|
|
|
151438
151745
|
defs: {
|
|
151439
151746
|
main: {
|
|
151440
151747
|
type: "procedure",
|
|
151441
|
-
description: "Create a new record.",
|
|
151748
|
+
description: "Create a single new repository record. Requires auth, implemented by PDS.",
|
|
151442
151749
|
input: {
|
|
151443
151750
|
encoding: "application/json",
|
|
151444
151751
|
schema: {
|
|
@@ -151448,7 +151755,7 @@ var schemaDict = {
|
|
|
151448
151755
|
repo: {
|
|
151449
151756
|
type: "string",
|
|
151450
151757
|
format: "at-identifier",
|
|
151451
|
-
description: "The handle or DID of the repo."
|
|
151758
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
151452
151759
|
},
|
|
151453
151760
|
collection: {
|
|
151454
151761
|
type: "string",
|
|
@@ -151457,17 +151764,17 @@ var schemaDict = {
|
|
|
151457
151764
|
},
|
|
151458
151765
|
rkey: {
|
|
151459
151766
|
type: "string",
|
|
151460
|
-
description: "The
|
|
151767
|
+
description: "The Record Key.",
|
|
151461
151768
|
maxLength: 15
|
|
151462
151769
|
},
|
|
151463
151770
|
validate: {
|
|
151464
151771
|
type: "boolean",
|
|
151465
151772
|
default: true,
|
|
151466
|
-
description: "
|
|
151773
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data."
|
|
151467
151774
|
},
|
|
151468
151775
|
record: {
|
|
151469
151776
|
type: "unknown",
|
|
151470
|
-
description: "The record
|
|
151777
|
+
description: "The record itself. Must contain a $type field."
|
|
151471
151778
|
},
|
|
151472
151779
|
swapCommit: {
|
|
151473
151780
|
type: "string",
|
|
@@ -151496,7 +151803,8 @@ var schemaDict = {
|
|
|
151496
151803
|
},
|
|
151497
151804
|
errors: [
|
|
151498
151805
|
{
|
|
151499
|
-
name: "InvalidSwap"
|
|
151806
|
+
name: "InvalidSwap",
|
|
151807
|
+
description: "Indicates that 'swapCommit' didn't match current repo commit."
|
|
151500
151808
|
}
|
|
151501
151809
|
]
|
|
151502
151810
|
}
|
|
@@ -151508,7 +151816,7 @@ var schemaDict = {
|
|
|
151508
151816
|
defs: {
|
|
151509
151817
|
main: {
|
|
151510
151818
|
type: "procedure",
|
|
151511
|
-
description: "Delete a record, or ensure it doesn't exist.",
|
|
151819
|
+
description: "Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.",
|
|
151512
151820
|
input: {
|
|
151513
151821
|
encoding: "application/json",
|
|
151514
151822
|
schema: {
|
|
@@ -151518,7 +151826,7 @@ var schemaDict = {
|
|
|
151518
151826
|
repo: {
|
|
151519
151827
|
type: "string",
|
|
151520
151828
|
format: "at-identifier",
|
|
151521
|
-
description: "The handle or DID of the repo."
|
|
151829
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
151522
151830
|
},
|
|
151523
151831
|
collection: {
|
|
151524
151832
|
type: "string",
|
|
@@ -151527,7 +151835,7 @@ var schemaDict = {
|
|
|
151527
151835
|
},
|
|
151528
151836
|
rkey: {
|
|
151529
151837
|
type: "string",
|
|
151530
|
-
description: "The
|
|
151838
|
+
description: "The Record Key."
|
|
151531
151839
|
},
|
|
151532
151840
|
swapRecord: {
|
|
151533
151841
|
type: "string",
|
|
@@ -151556,7 +151864,7 @@ var schemaDict = {
|
|
|
151556
151864
|
defs: {
|
|
151557
151865
|
main: {
|
|
151558
151866
|
type: "query",
|
|
151559
|
-
description: "Get information about
|
|
151867
|
+
description: "Get information about an account and repository, including the list of collections. Does not require auth.",
|
|
151560
151868
|
parameters: {
|
|
151561
151869
|
type: "params",
|
|
151562
151870
|
required: ["repo"],
|
|
@@ -151589,17 +151897,20 @@ var schemaDict = {
|
|
|
151589
151897
|
format: "did"
|
|
151590
151898
|
},
|
|
151591
151899
|
didDoc: {
|
|
151592
|
-
type: "unknown"
|
|
151900
|
+
type: "unknown",
|
|
151901
|
+
description: "The complete DID document for this account."
|
|
151593
151902
|
},
|
|
151594
151903
|
collections: {
|
|
151595
151904
|
type: "array",
|
|
151905
|
+
description: "List of all the collections (NSIDs) for which this repo contains at least one record.",
|
|
151596
151906
|
items: {
|
|
151597
151907
|
type: "string",
|
|
151598
151908
|
format: "nsid"
|
|
151599
151909
|
}
|
|
151600
151910
|
},
|
|
151601
151911
|
handleIsCorrect: {
|
|
151602
|
-
type: "boolean"
|
|
151912
|
+
type: "boolean",
|
|
151913
|
+
description: "Indicates if handle is currently valid (resolves bi-directionally)"
|
|
151603
151914
|
}
|
|
151604
151915
|
}
|
|
151605
151916
|
}
|
|
@@ -151613,7 +151924,7 @@ var schemaDict = {
|
|
|
151613
151924
|
defs: {
|
|
151614
151925
|
main: {
|
|
151615
151926
|
type: "query",
|
|
151616
|
-
description: "Get a record.",
|
|
151927
|
+
description: "Get a single record from a repository. Does not require auth.",
|
|
151617
151928
|
parameters: {
|
|
151618
151929
|
type: "params",
|
|
151619
151930
|
required: ["repo", "collection", "rkey"],
|
|
@@ -151630,7 +151941,7 @@ var schemaDict = {
|
|
|
151630
151941
|
},
|
|
151631
151942
|
rkey: {
|
|
151632
151943
|
type: "string",
|
|
151633
|
-
description: "The
|
|
151944
|
+
description: "The Record Key."
|
|
151634
151945
|
},
|
|
151635
151946
|
cid: {
|
|
151636
151947
|
type: "string",
|
|
@@ -151668,7 +151979,7 @@ var schemaDict = {
|
|
|
151668
151979
|
defs: {
|
|
151669
151980
|
main: {
|
|
151670
151981
|
type: "query",
|
|
151671
|
-
description: "List a range of records in a collection.",
|
|
151982
|
+
description: "List a range of records in a repository, matching a specific collection. Does not require auth.",
|
|
151672
151983
|
parameters: {
|
|
151673
151984
|
type: "params",
|
|
151674
151985
|
required: ["repo", "collection"],
|
|
@@ -151752,7 +152063,7 @@ var schemaDict = {
|
|
|
151752
152063
|
defs: {
|
|
151753
152064
|
main: {
|
|
151754
152065
|
type: "procedure",
|
|
151755
|
-
description: "Write a record, creating or updating it as needed.",
|
|
152066
|
+
description: "Write a repository record, creating or updating it as needed. Requires auth, implemented by PDS.",
|
|
151756
152067
|
input: {
|
|
151757
152068
|
encoding: "application/json",
|
|
151758
152069
|
schema: {
|
|
@@ -151763,7 +152074,7 @@ var schemaDict = {
|
|
|
151763
152074
|
repo: {
|
|
151764
152075
|
type: "string",
|
|
151765
152076
|
format: "at-identifier",
|
|
151766
|
-
description: "The handle or DID of the repo."
|
|
152077
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
151767
152078
|
},
|
|
151768
152079
|
collection: {
|
|
151769
152080
|
type: "string",
|
|
@@ -151772,13 +152083,13 @@ var schemaDict = {
|
|
|
151772
152083
|
},
|
|
151773
152084
|
rkey: {
|
|
151774
152085
|
type: "string",
|
|
151775
|
-
description: "The
|
|
152086
|
+
description: "The Record Key.",
|
|
151776
152087
|
maxLength: 15
|
|
151777
152088
|
},
|
|
151778
152089
|
validate: {
|
|
151779
152090
|
type: "boolean",
|
|
151780
152091
|
default: true,
|
|
151781
|
-
description: "
|
|
152092
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data."
|
|
151782
152093
|
},
|
|
151783
152094
|
record: {
|
|
151784
152095
|
type: "unknown",
|
|
@@ -151787,7 +152098,7 @@ var schemaDict = {
|
|
|
151787
152098
|
swapRecord: {
|
|
151788
152099
|
type: "string",
|
|
151789
152100
|
format: "cid",
|
|
151790
|
-
description: "Compare and swap with the previous record by CID."
|
|
152101
|
+
description: "Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation"
|
|
151791
152102
|
},
|
|
151792
152103
|
swapCommit: {
|
|
151793
152104
|
type: "string",
|
|
@@ -151849,7 +152160,7 @@ var schemaDict = {
|
|
|
151849
152160
|
defs: {
|
|
151850
152161
|
main: {
|
|
151851
152162
|
type: "procedure",
|
|
151852
|
-
description: "Upload a new blob to be
|
|
152163
|
+
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
152164
|
input: {
|
|
151854
152165
|
encoding: "*/*"
|
|
151855
152166
|
},
|
|
@@ -151913,7 +152224,7 @@ var schemaDict = {
|
|
|
151913
152224
|
defs: {
|
|
151914
152225
|
main: {
|
|
151915
152226
|
type: "procedure",
|
|
151916
|
-
description: "Create an account.",
|
|
152227
|
+
description: "Create an account. Implemented by PDS.",
|
|
151917
152228
|
input: {
|
|
151918
152229
|
encoding: "application/json",
|
|
151919
152230
|
schema: {
|
|
@@ -151925,11 +152236,13 @@ var schemaDict = {
|
|
|
151925
152236
|
},
|
|
151926
152237
|
handle: {
|
|
151927
152238
|
type: "string",
|
|
151928
|
-
format: "handle"
|
|
152239
|
+
format: "handle",
|
|
152240
|
+
description: "Requested handle for the account."
|
|
151929
152241
|
},
|
|
151930
152242
|
did: {
|
|
151931
152243
|
type: "string",
|
|
151932
|
-
format: "did"
|
|
152244
|
+
format: "did",
|
|
152245
|
+
description: "Pre-existing atproto DID, being imported to a new account."
|
|
151933
152246
|
},
|
|
151934
152247
|
inviteCode: {
|
|
151935
152248
|
type: "string"
|
|
@@ -151941,13 +152254,16 @@ var schemaDict = {
|
|
|
151941
152254
|
type: "string"
|
|
151942
152255
|
},
|
|
151943
152256
|
password: {
|
|
151944
|
-
type: "string"
|
|
152257
|
+
type: "string",
|
|
152258
|
+
description: "Initial account password. May need to meet instance-specific password strength requirements."
|
|
151945
152259
|
},
|
|
151946
152260
|
recoveryKey: {
|
|
151947
|
-
type: "string"
|
|
152261
|
+
type: "string",
|
|
152262
|
+
description: "DID PLC rotation key (aka, recovery key) to be included in PLC creation operation."
|
|
151948
152263
|
},
|
|
151949
152264
|
plcOp: {
|
|
151950
|
-
type: "unknown"
|
|
152265
|
+
type: "unknown",
|
|
152266
|
+
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
152267
|
}
|
|
151952
152268
|
}
|
|
151953
152269
|
}
|
|
@@ -151956,6 +152272,7 @@ var schemaDict = {
|
|
|
151956
152272
|
encoding: "application/json",
|
|
151957
152273
|
schema: {
|
|
151958
152274
|
type: "object",
|
|
152275
|
+
description: "Account login session returned on successful account creation.",
|
|
151959
152276
|
required: ["accessJwt", "refreshJwt", "handle", "did"],
|
|
151960
152277
|
properties: {
|
|
151961
152278
|
accessJwt: {
|
|
@@ -151970,10 +152287,12 @@ var schemaDict = {
|
|
|
151970
152287
|
},
|
|
151971
152288
|
did: {
|
|
151972
152289
|
type: "string",
|
|
151973
|
-
format: "did"
|
|
152290
|
+
format: "did",
|
|
152291
|
+
description: "The DID of the new account."
|
|
151974
152292
|
},
|
|
151975
152293
|
didDoc: {
|
|
151976
|
-
type: "unknown"
|
|
152294
|
+
type: "unknown",
|
|
152295
|
+
description: "Complete DID document."
|
|
151977
152296
|
}
|
|
151978
152297
|
}
|
|
151979
152298
|
}
|
|
@@ -152018,7 +152337,8 @@ var schemaDict = {
|
|
|
152018
152337
|
required: ["name"],
|
|
152019
152338
|
properties: {
|
|
152020
152339
|
name: {
|
|
152021
|
-
type: "string"
|
|
152340
|
+
type: "string",
|
|
152341
|
+
description: "A short name for the App Password, to help distinguish them."
|
|
152022
152342
|
}
|
|
152023
152343
|
}
|
|
152024
152344
|
}
|
|
@@ -152285,7 +152605,7 @@ var schemaDict = {
|
|
|
152285
152605
|
defs: {
|
|
152286
152606
|
main: {
|
|
152287
152607
|
type: "procedure",
|
|
152288
|
-
description: "Delete an actor's account with a token and password.",
|
|
152608
|
+
description: "Delete an actor's account with a token and password. Can only be called after requesting a deletion token. Requires auth.",
|
|
152289
152609
|
input: {
|
|
152290
152610
|
encoding: "application/json",
|
|
152291
152611
|
schema: {
|
|
@@ -152322,7 +152642,7 @@ var schemaDict = {
|
|
|
152322
152642
|
defs: {
|
|
152323
152643
|
main: {
|
|
152324
152644
|
type: "procedure",
|
|
152325
|
-
description: "Delete the current session."
|
|
152645
|
+
description: "Delete the current session. Requires auth."
|
|
152326
152646
|
}
|
|
152327
152647
|
}
|
|
152328
152648
|
},
|
|
@@ -152332,7 +152652,7 @@ var schemaDict = {
|
|
|
152332
152652
|
defs: {
|
|
152333
152653
|
main: {
|
|
152334
152654
|
type: "query",
|
|
152335
|
-
description: "
|
|
152655
|
+
description: "Describes the server's account creation requirements and capabilities. Implemented by PDS.",
|
|
152336
152656
|
output: {
|
|
152337
152657
|
encoding: "application/json",
|
|
152338
152658
|
schema: {
|
|
@@ -152340,19 +152660,23 @@ var schemaDict = {
|
|
|
152340
152660
|
required: ["availableUserDomains"],
|
|
152341
152661
|
properties: {
|
|
152342
152662
|
inviteCodeRequired: {
|
|
152343
|
-
type: "boolean"
|
|
152663
|
+
type: "boolean",
|
|
152664
|
+
description: "If true, an invite code must be supplied to create an account on this instance."
|
|
152344
152665
|
},
|
|
152345
152666
|
phoneVerificationRequired: {
|
|
152346
|
-
type: "boolean"
|
|
152667
|
+
type: "boolean",
|
|
152668
|
+
description: "If true, a phone verification token must be supplied to create an account on this instance."
|
|
152347
152669
|
},
|
|
152348
152670
|
availableUserDomains: {
|
|
152349
152671
|
type: "array",
|
|
152672
|
+
description: "List of domain suffixes that can be used in account handles.",
|
|
152350
152673
|
items: {
|
|
152351
152674
|
type: "string"
|
|
152352
152675
|
}
|
|
152353
152676
|
},
|
|
152354
152677
|
links: {
|
|
152355
152678
|
type: "ref",
|
|
152679
|
+
description: "URLs of service policy documents.",
|
|
152356
152680
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
152357
152681
|
}
|
|
152358
152682
|
}
|
|
@@ -152378,7 +152702,7 @@ var schemaDict = {
|
|
|
152378
152702
|
defs: {
|
|
152379
152703
|
main: {
|
|
152380
152704
|
type: "query",
|
|
152381
|
-
description: "Get all invite codes for
|
|
152705
|
+
description: "Get all invite codes for the current account. Requires auth.",
|
|
152382
152706
|
parameters: {
|
|
152383
152707
|
type: "params",
|
|
152384
152708
|
properties: {
|
|
@@ -152388,7 +152712,8 @@ var schemaDict = {
|
|
|
152388
152712
|
},
|
|
152389
152713
|
createAvailable: {
|
|
152390
152714
|
type: "boolean",
|
|
152391
|
-
default: true
|
|
152715
|
+
default: true,
|
|
152716
|
+
description: "Controls whether any new 'earned' but not 'created' invites should be created."
|
|
152392
152717
|
}
|
|
152393
152718
|
}
|
|
152394
152719
|
},
|
|
@@ -152422,7 +152747,7 @@ var schemaDict = {
|
|
|
152422
152747
|
defs: {
|
|
152423
152748
|
main: {
|
|
152424
152749
|
type: "query",
|
|
152425
|
-
description: "Get information about the current session.",
|
|
152750
|
+
description: "Get information about the current auth session. Requires auth.",
|
|
152426
152751
|
output: {
|
|
152427
152752
|
encoding: "application/json",
|
|
152428
152753
|
schema: {
|
|
@@ -152502,7 +152827,7 @@ var schemaDict = {
|
|
|
152502
152827
|
defs: {
|
|
152503
152828
|
main: {
|
|
152504
152829
|
type: "procedure",
|
|
152505
|
-
description: "Refresh an authentication session.",
|
|
152830
|
+
description: "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
|
|
152506
152831
|
output: {
|
|
152507
152832
|
encoding: "application/json",
|
|
152508
152833
|
schema: {
|
|
@@ -152607,7 +152932,7 @@ var schemaDict = {
|
|
|
152607
152932
|
defs: {
|
|
152608
152933
|
main: {
|
|
152609
152934
|
type: "procedure",
|
|
152610
|
-
description: "Reserve a repo signing key for account creation.",
|
|
152935
|
+
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
152936
|
input: {
|
|
152612
152937
|
encoding: "application/json",
|
|
152613
152938
|
schema: {
|
|
@@ -152615,7 +152940,8 @@ var schemaDict = {
|
|
|
152615
152940
|
properties: {
|
|
152616
152941
|
did: {
|
|
152617
152942
|
type: "string",
|
|
152618
|
-
|
|
152943
|
+
format: "did",
|
|
152944
|
+
description: "The DID to reserve a key for."
|
|
152619
152945
|
}
|
|
152620
152946
|
}
|
|
152621
152947
|
}
|
|
@@ -152628,7 +152954,7 @@ var schemaDict = {
|
|
|
152628
152954
|
properties: {
|
|
152629
152955
|
signingKey: {
|
|
152630
152956
|
type: "string",
|
|
152631
|
-
description: "
|
|
152957
|
+
description: "The public key for the reserved signing key, in did:key serialization."
|
|
152632
152958
|
}
|
|
152633
152959
|
}
|
|
152634
152960
|
}
|
|
@@ -152734,7 +153060,7 @@ var schemaDict = {
|
|
|
152734
153060
|
defs: {
|
|
152735
153061
|
main: {
|
|
152736
153062
|
type: "query",
|
|
152737
|
-
description: "Get a blob associated with a given
|
|
153063
|
+
description: "Get a blob associated with a given account. Returns the full blob as originally uploaded. Does not require auth; implemented by PDS.",
|
|
152738
153064
|
parameters: {
|
|
152739
153065
|
type: "params",
|
|
152740
153066
|
required: ["did", "cid"],
|
|
@@ -152742,7 +153068,7 @@ var schemaDict = {
|
|
|
152742
153068
|
did: {
|
|
152743
153069
|
type: "string",
|
|
152744
153070
|
format: "did",
|
|
152745
|
-
description: "The DID of the
|
|
153071
|
+
description: "The DID of the account."
|
|
152746
153072
|
},
|
|
152747
153073
|
cid: {
|
|
152748
153074
|
type: "string",
|
|
@@ -152763,7 +153089,7 @@ var schemaDict = {
|
|
|
152763
153089
|
defs: {
|
|
152764
153090
|
main: {
|
|
152765
153091
|
type: "query",
|
|
152766
|
-
description: "Get blocks from a given repo.",
|
|
153092
|
+
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
153093
|
parameters: {
|
|
152768
153094
|
type: "params",
|
|
152769
153095
|
required: ["did", "cids"],
|
|
@@ -152857,7 +153183,7 @@ var schemaDict = {
|
|
|
152857
153183
|
defs: {
|
|
152858
153184
|
main: {
|
|
152859
153185
|
type: "query",
|
|
152860
|
-
description: "Get the current commit CID & revision of the repo.",
|
|
153186
|
+
description: "Get the current commit CID & revision of the specified repo. Does not require auth.",
|
|
152861
153187
|
parameters: {
|
|
152862
153188
|
type: "params",
|
|
152863
153189
|
required: ["did"],
|
|
@@ -152899,7 +153225,7 @@ var schemaDict = {
|
|
|
152899
153225
|
defs: {
|
|
152900
153226
|
main: {
|
|
152901
153227
|
type: "query",
|
|
152902
|
-
description: "Get blocks needed
|
|
153228
|
+
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
153229
|
parameters: {
|
|
152904
153230
|
type: "params",
|
|
152905
153231
|
required: ["did", "collection", "rkey"],
|
|
@@ -152914,7 +153240,8 @@ var schemaDict = {
|
|
|
152914
153240
|
format: "nsid"
|
|
152915
153241
|
},
|
|
152916
153242
|
rkey: {
|
|
152917
|
-
type: "string"
|
|
153243
|
+
type: "string",
|
|
153244
|
+
description: "Record Key"
|
|
152918
153245
|
},
|
|
152919
153246
|
commit: {
|
|
152920
153247
|
type: "string",
|
|
@@ -152935,7 +153262,7 @@ var schemaDict = {
|
|
|
152935
153262
|
defs: {
|
|
152936
153263
|
main: {
|
|
152937
153264
|
type: "query",
|
|
152938
|
-
description: "
|
|
153265
|
+
description: "Download a repository export as CAR file. Optionally only a 'diff' since a previous revision. Does not require auth; implemented by PDS.",
|
|
152939
153266
|
parameters: {
|
|
152940
153267
|
type: "params",
|
|
152941
153268
|
required: ["did"],
|
|
@@ -152947,7 +153274,7 @@ var schemaDict = {
|
|
|
152947
153274
|
},
|
|
152948
153275
|
since: {
|
|
152949
153276
|
type: "string",
|
|
152950
|
-
description: "The revision of the repo to
|
|
153277
|
+
description: "The revision ('rev') of the repo to create a diff from."
|
|
152951
153278
|
}
|
|
152952
153279
|
}
|
|
152953
153280
|
},
|
|
@@ -152963,7 +153290,7 @@ var schemaDict = {
|
|
|
152963
153290
|
defs: {
|
|
152964
153291
|
main: {
|
|
152965
153292
|
type: "query",
|
|
152966
|
-
description: "List blob
|
|
153293
|
+
description: "List blob CIDso for an account, since some repo revision. Does not require auth; implemented by PDS.",
|
|
152967
153294
|
parameters: {
|
|
152968
153295
|
type: "params",
|
|
152969
153296
|
required: ["did"],
|
|
@@ -153016,7 +153343,7 @@ var schemaDict = {
|
|
|
153016
153343
|
defs: {
|
|
153017
153344
|
main: {
|
|
153018
153345
|
type: "query",
|
|
153019
|
-
description: "
|
|
153346
|
+
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
153347
|
parameters: {
|
|
153021
153348
|
type: "params",
|
|
153022
153349
|
properties: {
|
|
@@ -153061,7 +153388,8 @@ var schemaDict = {
|
|
|
153061
153388
|
},
|
|
153062
153389
|
head: {
|
|
153063
153390
|
type: "string",
|
|
153064
|
-
format: "cid"
|
|
153391
|
+
format: "cid",
|
|
153392
|
+
description: "Current repo commit CID"
|
|
153065
153393
|
},
|
|
153066
153394
|
rev: {
|
|
153067
153395
|
type: "string"
|
|
@@ -153076,7 +153404,7 @@ var schemaDict = {
|
|
|
153076
153404
|
defs: {
|
|
153077
153405
|
main: {
|
|
153078
153406
|
type: "procedure",
|
|
153079
|
-
description: "Notify a crawling service of a recent update
|
|
153407
|
+
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
153408
|
input: {
|
|
153081
153409
|
encoding: "application/json",
|
|
153082
153410
|
schema: {
|
|
@@ -153085,7 +153413,7 @@ var schemaDict = {
|
|
|
153085
153413
|
properties: {
|
|
153086
153414
|
hostname: {
|
|
153087
153415
|
type: "string",
|
|
153088
|
-
description: "Hostname of the service that is notifying of update."
|
|
153416
|
+
description: "Hostname of the current service (usually a PDS) that is notifying of update."
|
|
153089
153417
|
}
|
|
153090
153418
|
}
|
|
153091
153419
|
}
|
|
@@ -153099,7 +153427,7 @@ var schemaDict = {
|
|
|
153099
153427
|
defs: {
|
|
153100
153428
|
main: {
|
|
153101
153429
|
type: "procedure",
|
|
153102
|
-
description: "Request a service to persistently crawl hosted repos.",
|
|
153430
|
+
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
153431
|
input: {
|
|
153104
153432
|
encoding: "application/json",
|
|
153105
153433
|
schema: {
|
|
@@ -153108,7 +153436,7 @@ var schemaDict = {
|
|
|
153108
153436
|
properties: {
|
|
153109
153437
|
hostname: {
|
|
153110
153438
|
type: "string",
|
|
153111
|
-
description: "Hostname of the service that is requesting to be crawled."
|
|
153439
|
+
description: "Hostname of the current service (eg, PDS) that is requesting to be crawled."
|
|
153112
153440
|
}
|
|
153113
153441
|
}
|
|
153114
153442
|
}
|
|
@@ -153122,13 +153450,13 @@ var schemaDict = {
|
|
|
153122
153450
|
defs: {
|
|
153123
153451
|
main: {
|
|
153124
153452
|
type: "subscription",
|
|
153125
|
-
description: "
|
|
153453
|
+
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
153454
|
parameters: {
|
|
153127
153455
|
type: "params",
|
|
153128
153456
|
properties: {
|
|
153129
153457
|
cursor: {
|
|
153130
153458
|
type: "integer",
|
|
153131
|
-
description: "The last known event to backfill from."
|
|
153459
|
+
description: "The last known event seq number to backfill from."
|
|
153132
153460
|
}
|
|
153133
153461
|
}
|
|
153134
153462
|
},
|
|
@@ -153149,12 +153477,14 @@ var schemaDict = {
|
|
|
153149
153477
|
name: "FutureCursor"
|
|
153150
153478
|
},
|
|
153151
153479
|
{
|
|
153152
|
-
name: "ConsumerTooSlow"
|
|
153480
|
+
name: "ConsumerTooSlow",
|
|
153481
|
+
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
153482
|
}
|
|
153154
153483
|
]
|
|
153155
153484
|
},
|
|
153156
153485
|
commit: {
|
|
153157
153486
|
type: "object",
|
|
153487
|
+
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
153488
|
required: [
|
|
153159
153489
|
"seq",
|
|
153160
153490
|
"rebase",
|
|
@@ -153171,59 +153501,69 @@ var schemaDict = {
|
|
|
153171
153501
|
nullable: ["prev", "since"],
|
|
153172
153502
|
properties: {
|
|
153173
153503
|
seq: {
|
|
153174
|
-
type: "integer"
|
|
153504
|
+
type: "integer",
|
|
153505
|
+
description: "The stream sequence number of this message."
|
|
153175
153506
|
},
|
|
153176
153507
|
rebase: {
|
|
153177
|
-
type: "boolean"
|
|
153508
|
+
type: "boolean",
|
|
153509
|
+
description: "DEPRECATED -- unused"
|
|
153178
153510
|
},
|
|
153179
153511
|
tooBig: {
|
|
153180
|
-
type: "boolean"
|
|
153512
|
+
type: "boolean",
|
|
153513
|
+
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
153514
|
},
|
|
153182
153515
|
repo: {
|
|
153183
153516
|
type: "string",
|
|
153184
|
-
format: "did"
|
|
153517
|
+
format: "did",
|
|
153518
|
+
description: "The repo this event comes from."
|
|
153185
153519
|
},
|
|
153186
153520
|
commit: {
|
|
153187
|
-
type: "cid-link"
|
|
153521
|
+
type: "cid-link",
|
|
153522
|
+
description: "Repo commit object CID."
|
|
153188
153523
|
},
|
|
153189
153524
|
prev: {
|
|
153190
|
-
type: "cid-link"
|
|
153525
|
+
type: "cid-link",
|
|
153526
|
+
description: "DEPRECATED -- unused. WARNING -- nullable and optional; stick with optional to ensure golang interoperability."
|
|
153191
153527
|
},
|
|
153192
153528
|
rev: {
|
|
153193
153529
|
type: "string",
|
|
153194
|
-
description: "The rev of the emitted commit."
|
|
153530
|
+
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
153531
|
},
|
|
153196
153532
|
since: {
|
|
153197
153533
|
type: "string",
|
|
153198
|
-
description: "The rev of the last emitted commit from this repo."
|
|
153534
|
+
description: "The rev of the last emitted commit from this repo (if any)."
|
|
153199
153535
|
},
|
|
153200
153536
|
blocks: {
|
|
153201
153537
|
type: "bytes",
|
|
153202
|
-
description: "CAR file containing relevant blocks.",
|
|
153538
|
+
description: "CAR file containing relevant blocks, as a diff since the previous repo state.",
|
|
153203
153539
|
maxLength: 1e6
|
|
153204
153540
|
},
|
|
153205
153541
|
ops: {
|
|
153206
153542
|
type: "array",
|
|
153207
153543
|
items: {
|
|
153208
153544
|
type: "ref",
|
|
153209
|
-
ref: "lex:com.atproto.sync.subscribeRepos#repoOp"
|
|
153545
|
+
ref: "lex:com.atproto.sync.subscribeRepos#repoOp",
|
|
153546
|
+
description: "List of repo mutation operations in this commit (eg, records created, updated, or deleted)."
|
|
153210
153547
|
},
|
|
153211
153548
|
maxLength: 200
|
|
153212
153549
|
},
|
|
153213
153550
|
blobs: {
|
|
153214
153551
|
type: "array",
|
|
153215
153552
|
items: {
|
|
153216
|
-
type: "cid-link"
|
|
153553
|
+
type: "cid-link",
|
|
153554
|
+
description: "List of new blobs (by CID) referenced by records in this commit."
|
|
153217
153555
|
}
|
|
153218
153556
|
},
|
|
153219
153557
|
time: {
|
|
153220
153558
|
type: "string",
|
|
153221
|
-
format: "datetime"
|
|
153559
|
+
format: "datetime",
|
|
153560
|
+
description: "Timestamp of when this message was originally broadcast."
|
|
153222
153561
|
}
|
|
153223
153562
|
}
|
|
153224
153563
|
},
|
|
153225
153564
|
handle: {
|
|
153226
153565
|
type: "object",
|
|
153566
|
+
description: "Represents an update of the account's handle, or transition to/from invalid state.",
|
|
153227
153567
|
required: ["seq", "did", "handle", "time"],
|
|
153228
153568
|
properties: {
|
|
153229
153569
|
seq: {
|
|
@@ -153245,6 +153585,7 @@ var schemaDict = {
|
|
|
153245
153585
|
},
|
|
153246
153586
|
migrate: {
|
|
153247
153587
|
type: "object",
|
|
153588
|
+
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; full account migration may introduce a new message instead.",
|
|
153248
153589
|
required: ["seq", "did", "migrateTo", "time"],
|
|
153249
153590
|
nullable: ["migrateTo"],
|
|
153250
153591
|
properties: {
|
|
@@ -153266,6 +153607,7 @@ var schemaDict = {
|
|
|
153266
153607
|
},
|
|
153267
153608
|
tombstone: {
|
|
153268
153609
|
type: "object",
|
|
153610
|
+
description: "Indicates that an account has been deleted.",
|
|
153269
153611
|
required: ["seq", "did", "time"],
|
|
153270
153612
|
properties: {
|
|
153271
153613
|
seq: {
|
|
@@ -153296,7 +153638,7 @@ var schemaDict = {
|
|
|
153296
153638
|
},
|
|
153297
153639
|
repoOp: {
|
|
153298
153640
|
type: "object",
|
|
153299
|
-
description: "A repo operation, ie a
|
|
153641
|
+
description: "A repo operation, ie a mutation of a single record.",
|
|
153300
153642
|
required: ["action", "path", "cid"],
|
|
153301
153643
|
nullable: ["cid"],
|
|
153302
153644
|
properties: {
|
|
@@ -153308,7 +153650,8 @@ var schemaDict = {
|
|
|
153308
153650
|
type: "string"
|
|
153309
153651
|
},
|
|
153310
153652
|
cid: {
|
|
153311
|
-
type: "cid-link"
|
|
153653
|
+
type: "cid-link",
|
|
153654
|
+
description: "For creates and updates, the new record CID. For deletions, null."
|
|
153312
153655
|
}
|
|
153313
153656
|
}
|
|
153314
153657
|
}
|
|
@@ -153348,7 +153691,7 @@ var schemaDict = {
|
|
|
153348
153691
|
defs: {
|
|
153349
153692
|
main: {
|
|
153350
153693
|
type: "query",
|
|
153351
|
-
description: "Fetch all labels from a labeler created after a certain date.",
|
|
153694
|
+
description: "Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead",
|
|
153352
153695
|
parameters: {
|
|
153353
153696
|
type: "params",
|
|
153354
153697
|
properties: {
|
|
@@ -153461,7 +153804,7 @@ var schemaDict = {
|
|
|
153461
153804
|
defs: {
|
|
153462
153805
|
main: {
|
|
153463
153806
|
type: "procedure",
|
|
153464
|
-
description: "Transfer an account.",
|
|
153807
|
+
description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
|
|
153465
153808
|
input: {
|
|
153466
153809
|
encoding: "application/json",
|
|
153467
153810
|
schema: {
|
|
@@ -153534,7 +153877,6 @@ var schemaDict = {
|
|
|
153534
153877
|
AppBskyActorDefs: {
|
|
153535
153878
|
lexicon: 1,
|
|
153536
153879
|
id: "app.bsky.actor.defs",
|
|
153537
|
-
description: "A reference to an actor in the network.",
|
|
153538
153880
|
defs: {
|
|
153539
153881
|
profileViewBasic: {
|
|
153540
153882
|
type: "object",
|
|
@@ -153667,6 +154009,7 @@ var schemaDict = {
|
|
|
153667
154009
|
},
|
|
153668
154010
|
viewerState: {
|
|
153669
154011
|
type: "object",
|
|
154012
|
+
description: "Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.",
|
|
153670
154013
|
properties: {
|
|
153671
154014
|
muted: {
|
|
153672
154015
|
type: "boolean"
|
|
@@ -153751,6 +154094,9 @@ var schemaDict = {
|
|
|
153751
154094
|
type: "string",
|
|
153752
154095
|
format: "at-uri"
|
|
153753
154096
|
}
|
|
154097
|
+
},
|
|
154098
|
+
timelineIndex: {
|
|
154099
|
+
type: "integer"
|
|
153754
154100
|
}
|
|
153755
154101
|
}
|
|
153756
154102
|
},
|
|
@@ -153832,7 +154178,7 @@ var schemaDict = {
|
|
|
153832
154178
|
defs: {
|
|
153833
154179
|
main: {
|
|
153834
154180
|
type: "query",
|
|
153835
|
-
description: "Get private preferences attached to the account.",
|
|
154181
|
+
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
154182
|
parameters: {
|
|
153837
154183
|
type: "params",
|
|
153838
154184
|
properties: {}
|
|
@@ -153859,14 +154205,15 @@ var schemaDict = {
|
|
|
153859
154205
|
defs: {
|
|
153860
154206
|
main: {
|
|
153861
154207
|
type: "query",
|
|
153862
|
-
description: "Get detailed profile view of an actor.",
|
|
154208
|
+
description: "Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth.",
|
|
153863
154209
|
parameters: {
|
|
153864
154210
|
type: "params",
|
|
153865
154211
|
required: ["actor"],
|
|
153866
154212
|
properties: {
|
|
153867
154213
|
actor: {
|
|
153868
154214
|
type: "string",
|
|
153869
|
-
format: "at-identifier"
|
|
154215
|
+
format: "at-identifier",
|
|
154216
|
+
description: "Handle or DID of account to fetch profile of."
|
|
153870
154217
|
}
|
|
153871
154218
|
}
|
|
153872
154219
|
},
|
|
@@ -153926,7 +154273,7 @@ var schemaDict = {
|
|
|
153926
154273
|
defs: {
|
|
153927
154274
|
main: {
|
|
153928
154275
|
type: "query",
|
|
153929
|
-
description: "Get a list of suggested actors
|
|
154276
|
+
description: "Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.",
|
|
153930
154277
|
parameters: {
|
|
153931
154278
|
type: "params",
|
|
153932
154279
|
properties: {
|
|
@@ -153969,7 +154316,7 @@ var schemaDict = {
|
|
|
153969
154316
|
defs: {
|
|
153970
154317
|
main: {
|
|
153971
154318
|
type: "record",
|
|
153972
|
-
description: "A declaration of a profile.",
|
|
154319
|
+
description: "A declaration of a Bluesky account profile.",
|
|
153973
154320
|
key: "literal:self",
|
|
153974
154321
|
record: {
|
|
153975
154322
|
type: "object",
|
|
@@ -153981,21 +154328,25 @@ var schemaDict = {
|
|
|
153981
154328
|
},
|
|
153982
154329
|
description: {
|
|
153983
154330
|
type: "string",
|
|
154331
|
+
description: "Free-form profile description text.",
|
|
153984
154332
|
maxGraphemes: 256,
|
|
153985
154333
|
maxLength: 2560
|
|
153986
154334
|
},
|
|
153987
154335
|
avatar: {
|
|
153988
154336
|
type: "blob",
|
|
154337
|
+
description: "Small image to be displayed next to posts from account. AKA, 'profile picture'",
|
|
153989
154338
|
accept: ["image/png", "image/jpeg"],
|
|
153990
154339
|
maxSize: 1e6
|
|
153991
154340
|
},
|
|
153992
154341
|
banner: {
|
|
153993
154342
|
type: "blob",
|
|
154343
|
+
description: "Larger horizontal image to display behind profile view.",
|
|
153994
154344
|
accept: ["image/png", "image/jpeg"],
|
|
153995
154345
|
maxSize: 1e6
|
|
153996
154346
|
},
|
|
153997
154347
|
labels: {
|
|
153998
154348
|
type: "union",
|
|
154349
|
+
description: "Self-label values, specific to the Bluesky application, on the overall account.",
|
|
153999
154350
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
154000
154351
|
}
|
|
154001
154352
|
}
|
|
@@ -154032,7 +154383,7 @@ var schemaDict = {
|
|
|
154032
154383
|
defs: {
|
|
154033
154384
|
main: {
|
|
154034
154385
|
type: "query",
|
|
154035
|
-
description: "Find actors (profiles) matching search criteria.",
|
|
154386
|
+
description: "Find actors (profiles) matching search criteria. Does not require auth.",
|
|
154036
154387
|
parameters: {
|
|
154037
154388
|
type: "params",
|
|
154038
154389
|
properties: {
|
|
@@ -154083,7 +154434,7 @@ var schemaDict = {
|
|
|
154083
154434
|
defs: {
|
|
154084
154435
|
main: {
|
|
154085
154436
|
type: "query",
|
|
154086
|
-
description: "Find actor suggestions for a prefix search term.",
|
|
154437
|
+
description: "Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require auth.",
|
|
154087
154438
|
parameters: {
|
|
154088
154439
|
type: "params",
|
|
154089
154440
|
properties: {
|
|
@@ -154125,10 +154476,10 @@ var schemaDict = {
|
|
|
154125
154476
|
AppBskyEmbedExternal: {
|
|
154126
154477
|
lexicon: 1,
|
|
154127
154478
|
id: "app.bsky.embed.external",
|
|
154128
|
-
description: "A representation of some externally linked content, embedded in another form of content.",
|
|
154129
154479
|
defs: {
|
|
154130
154480
|
main: {
|
|
154131
154481
|
type: "object",
|
|
154482
|
+
description: "A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).",
|
|
154132
154483
|
required: ["external"],
|
|
154133
154484
|
properties: {
|
|
154134
154485
|
external: {
|
|
@@ -154192,7 +154543,7 @@ var schemaDict = {
|
|
|
154192
154543
|
AppBskyEmbedImages: {
|
|
154193
154544
|
lexicon: 1,
|
|
154194
154545
|
id: "app.bsky.embed.images",
|
|
154195
|
-
description: "A set of images embedded in
|
|
154546
|
+
description: "A set of images embedded in a Bluesky record (eg, a post).",
|
|
154196
154547
|
defs: {
|
|
154197
154548
|
main: {
|
|
154198
154549
|
type: "object",
|
|
@@ -154218,7 +154569,8 @@ var schemaDict = {
|
|
|
154218
154569
|
maxSize: 1e6
|
|
154219
154570
|
},
|
|
154220
154571
|
alt: {
|
|
154221
|
-
type: "string"
|
|
154572
|
+
type: "string",
|
|
154573
|
+
description: "Alt text description of the image, for accessibility."
|
|
154222
154574
|
},
|
|
154223
154575
|
aspectRatio: {
|
|
154224
154576
|
type: "ref",
|
|
@@ -154260,13 +154612,16 @@ var schemaDict = {
|
|
|
154260
154612
|
required: ["thumb", "fullsize", "alt"],
|
|
154261
154613
|
properties: {
|
|
154262
154614
|
thumb: {
|
|
154263
|
-
type: "string"
|
|
154615
|
+
type: "string",
|
|
154616
|
+
description: "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View."
|
|
154264
154617
|
},
|
|
154265
154618
|
fullsize: {
|
|
154266
|
-
type: "string"
|
|
154619
|
+
type: "string",
|
|
154620
|
+
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
154621
|
},
|
|
154268
154622
|
alt: {
|
|
154269
|
-
type: "string"
|
|
154623
|
+
type: "string",
|
|
154624
|
+
description: "Alt text description of the image, for accessibility."
|
|
154270
154625
|
},
|
|
154271
154626
|
aspectRatio: {
|
|
154272
154627
|
type: "ref",
|
|
@@ -154279,7 +154634,7 @@ var schemaDict = {
|
|
|
154279
154634
|
AppBskyEmbedRecord: {
|
|
154280
154635
|
lexicon: 1,
|
|
154281
154636
|
id: "app.bsky.embed.record",
|
|
154282
|
-
description: "A representation of a record embedded in
|
|
154637
|
+
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
154638
|
defs: {
|
|
154284
154639
|
main: {
|
|
154285
154640
|
type: "object",
|
|
@@ -154324,7 +154679,8 @@ var schemaDict = {
|
|
|
154324
154679
|
ref: "lex:app.bsky.actor.defs#profileViewBasic"
|
|
154325
154680
|
},
|
|
154326
154681
|
value: {
|
|
154327
|
-
type: "unknown"
|
|
154682
|
+
type: "unknown",
|
|
154683
|
+
description: "The record data itself."
|
|
154328
154684
|
},
|
|
154329
154685
|
labels: {
|
|
154330
154686
|
type: "array",
|
|
@@ -154388,7 +154744,7 @@ var schemaDict = {
|
|
|
154388
154744
|
AppBskyEmbedRecordWithMedia: {
|
|
154389
154745
|
lexicon: 1,
|
|
154390
154746
|
id: "app.bsky.embed.recordWithMedia",
|
|
154391
|
-
description: "A representation of a record embedded in
|
|
154747
|
+
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
154748
|
defs: {
|
|
154393
154749
|
main: {
|
|
154394
154750
|
type: "object",
|
|
@@ -154487,6 +154843,7 @@ var schemaDict = {
|
|
|
154487
154843
|
},
|
|
154488
154844
|
viewerState: {
|
|
154489
154845
|
type: "object",
|
|
154846
|
+
description: "Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.",
|
|
154490
154847
|
properties: {
|
|
154491
154848
|
repost: {
|
|
154492
154849
|
type: "string",
|
|
@@ -154746,7 +155103,7 @@ var schemaDict = {
|
|
|
154746
155103
|
defs: {
|
|
154747
155104
|
main: {
|
|
154748
155105
|
type: "query",
|
|
154749
|
-
description: "Get information about a feed generator, including policies and offered feed URIs.",
|
|
155106
|
+
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
155107
|
output: {
|
|
154751
155108
|
encoding: "application/json",
|
|
154752
155109
|
schema: {
|
|
@@ -154801,7 +155158,7 @@ var schemaDict = {
|
|
|
154801
155158
|
defs: {
|
|
154802
155159
|
main: {
|
|
154803
155160
|
type: "record",
|
|
154804
|
-
description: "
|
|
155161
|
+
description: "Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository.",
|
|
154805
155162
|
key: "any",
|
|
154806
155163
|
record: {
|
|
154807
155164
|
type: "object",
|
|
@@ -154835,6 +155192,7 @@ var schemaDict = {
|
|
|
154835
155192
|
},
|
|
154836
155193
|
labels: {
|
|
154837
155194
|
type: "union",
|
|
155195
|
+
description: "Self-label values",
|
|
154838
155196
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
154839
155197
|
},
|
|
154840
155198
|
createdAt: {
|
|
@@ -154852,7 +155210,7 @@ var schemaDict = {
|
|
|
154852
155210
|
defs: {
|
|
154853
155211
|
main: {
|
|
154854
155212
|
type: "query",
|
|
154855
|
-
description: "Get a list of feeds created by the actor.",
|
|
155213
|
+
description: "Get a list of feeds (feed generator records) created by the actor (in the actor's repo).",
|
|
154856
155214
|
parameters: {
|
|
154857
155215
|
type: "params",
|
|
154858
155216
|
required: ["actor"],
|
|
@@ -154900,7 +155258,7 @@ var schemaDict = {
|
|
|
154900
155258
|
defs: {
|
|
154901
155259
|
main: {
|
|
154902
155260
|
type: "query",
|
|
154903
|
-
description: "Get a list of posts liked by an actor.",
|
|
155261
|
+
description: "Get a list of posts liked by an actor. Does not require auth.",
|
|
154904
155262
|
parameters: {
|
|
154905
155263
|
type: "params",
|
|
154906
155264
|
required: ["actor"],
|
|
@@ -154956,7 +155314,7 @@ var schemaDict = {
|
|
|
154956
155314
|
defs: {
|
|
154957
155315
|
main: {
|
|
154958
155316
|
type: "query",
|
|
154959
|
-
description: "Get a view of an actor's feed.",
|
|
155317
|
+
description: "Get a view of an actor's 'author feed' (post and reposts by the author). Does not require auth.",
|
|
154960
155318
|
parameters: {
|
|
154961
155319
|
type: "params",
|
|
154962
155320
|
required: ["actor"],
|
|
@@ -154976,6 +155334,7 @@ var schemaDict = {
|
|
|
154976
155334
|
},
|
|
154977
155335
|
filter: {
|
|
154978
155336
|
type: "string",
|
|
155337
|
+
description: "Combinations of post/repost types to include in response.",
|
|
154979
155338
|
knownValues: [
|
|
154980
155339
|
"posts_with_replies",
|
|
154981
155340
|
"posts_no_replies",
|
|
@@ -155022,7 +155381,7 @@ var schemaDict = {
|
|
|
155022
155381
|
defs: {
|
|
155023
155382
|
main: {
|
|
155024
155383
|
type: "query",
|
|
155025
|
-
description: "Get a hydrated feed from an actor's selected feed generator.",
|
|
155384
|
+
description: "Get a hydrated feed from an actor's selected feed generator. Implemented by App View.",
|
|
155026
155385
|
parameters: {
|
|
155027
155386
|
type: "params",
|
|
155028
155387
|
required: ["feed"],
|
|
@@ -155075,14 +155434,15 @@ var schemaDict = {
|
|
|
155075
155434
|
defs: {
|
|
155076
155435
|
main: {
|
|
155077
155436
|
type: "query",
|
|
155078
|
-
description: "Get information about a feed generator.",
|
|
155437
|
+
description: "Get information about a feed generator. Implemented by AppView.",
|
|
155079
155438
|
parameters: {
|
|
155080
155439
|
type: "params",
|
|
155081
155440
|
required: ["feed"],
|
|
155082
155441
|
properties: {
|
|
155083
155442
|
feed: {
|
|
155084
155443
|
type: "string",
|
|
155085
|
-
format: "at-uri"
|
|
155444
|
+
format: "at-uri",
|
|
155445
|
+
description: "AT-URI of the feed generator record."
|
|
155086
155446
|
}
|
|
155087
155447
|
}
|
|
155088
155448
|
},
|
|
@@ -155097,10 +155457,12 @@ var schemaDict = {
|
|
|
155097
155457
|
ref: "lex:app.bsky.feed.defs#generatorView"
|
|
155098
155458
|
},
|
|
155099
155459
|
isOnline: {
|
|
155100
|
-
type: "boolean"
|
|
155460
|
+
type: "boolean",
|
|
155461
|
+
description: "Indicates whether the feed generator service has been online recently, or else seems to be inactive."
|
|
155101
155462
|
},
|
|
155102
155463
|
isValid: {
|
|
155103
|
-
type: "boolean"
|
|
155464
|
+
type: "boolean",
|
|
155465
|
+
description: "Indicates whether the feed generator service is compatible with the record declaration."
|
|
155104
155466
|
}
|
|
155105
155467
|
}
|
|
155106
155468
|
}
|
|
@@ -155153,14 +155515,15 @@ var schemaDict = {
|
|
|
155153
155515
|
defs: {
|
|
155154
155516
|
main: {
|
|
155155
155517
|
type: "query",
|
|
155156
|
-
description: "Get a skeleton of a feed provided by a feed generator.",
|
|
155518
|
+
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
155519
|
parameters: {
|
|
155158
155520
|
type: "params",
|
|
155159
155521
|
required: ["feed"],
|
|
155160
155522
|
properties: {
|
|
155161
155523
|
feed: {
|
|
155162
155524
|
type: "string",
|
|
155163
|
-
format: "at-uri"
|
|
155525
|
+
format: "at-uri",
|
|
155526
|
+
description: "Reference to feed generator record describing the specific feed being requested."
|
|
155164
155527
|
},
|
|
155165
155528
|
limit: {
|
|
155166
155529
|
type: "integer",
|
|
@@ -155206,18 +155569,20 @@ var schemaDict = {
|
|
|
155206
155569
|
defs: {
|
|
155207
155570
|
main: {
|
|
155208
155571
|
type: "query",
|
|
155209
|
-
description: "Get
|
|
155572
|
+
description: "Get like records which reference a subject (by AT-URI and CID).",
|
|
155210
155573
|
parameters: {
|
|
155211
155574
|
type: "params",
|
|
155212
155575
|
required: ["uri"],
|
|
155213
155576
|
properties: {
|
|
155214
155577
|
uri: {
|
|
155215
155578
|
type: "string",
|
|
155216
|
-
format: "at-uri"
|
|
155579
|
+
format: "at-uri",
|
|
155580
|
+
description: "AT-URI of the subject (eg, a post record)."
|
|
155217
155581
|
},
|
|
155218
155582
|
cid: {
|
|
155219
155583
|
type: "string",
|
|
155220
|
-
format: "cid"
|
|
155584
|
+
format: "cid",
|
|
155585
|
+
description: "CID of the subject record (aka, specific version of record), to filter likes."
|
|
155221
155586
|
},
|
|
155222
155587
|
limit: {
|
|
155223
155588
|
type: "integer",
|
|
@@ -155284,14 +155649,15 @@ var schemaDict = {
|
|
|
155284
155649
|
defs: {
|
|
155285
155650
|
main: {
|
|
155286
155651
|
type: "query",
|
|
155287
|
-
description: "Get a
|
|
155652
|
+
description: "Get a feed of recent posts from a list (posts and reposts from any actors on the list). Does not require auth.",
|
|
155288
155653
|
parameters: {
|
|
155289
155654
|
type: "params",
|
|
155290
155655
|
required: ["list"],
|
|
155291
155656
|
properties: {
|
|
155292
155657
|
list: {
|
|
155293
155658
|
type: "string",
|
|
155294
|
-
format: "at-uri"
|
|
155659
|
+
format: "at-uri",
|
|
155660
|
+
description: "Reference (AT-URI) to the list record."
|
|
155295
155661
|
},
|
|
155296
155662
|
limit: {
|
|
155297
155663
|
type: "integer",
|
|
@@ -155337,23 +155703,26 @@ var schemaDict = {
|
|
|
155337
155703
|
defs: {
|
|
155338
155704
|
main: {
|
|
155339
155705
|
type: "query",
|
|
155340
|
-
description: "Get posts in a thread.",
|
|
155706
|
+
description: "Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.",
|
|
155341
155707
|
parameters: {
|
|
155342
155708
|
type: "params",
|
|
155343
155709
|
required: ["uri"],
|
|
155344
155710
|
properties: {
|
|
155345
155711
|
uri: {
|
|
155346
155712
|
type: "string",
|
|
155347
|
-
format: "at-uri"
|
|
155713
|
+
format: "at-uri",
|
|
155714
|
+
description: "Reference (AT-URI) to post record."
|
|
155348
155715
|
},
|
|
155349
155716
|
depth: {
|
|
155350
155717
|
type: "integer",
|
|
155718
|
+
description: "How many levels of reply depth should be included in response.",
|
|
155351
155719
|
default: 6,
|
|
155352
155720
|
minimum: 0,
|
|
155353
155721
|
maximum: 1e3
|
|
155354
155722
|
},
|
|
155355
155723
|
parentHeight: {
|
|
155356
155724
|
type: "integer",
|
|
155725
|
+
description: "How many levels of parent (and grandparent, etc) post to include.",
|
|
155357
155726
|
default: 80,
|
|
155358
155727
|
minimum: 0,
|
|
155359
155728
|
maximum: 1e3
|
|
@@ -155391,13 +155760,14 @@ var schemaDict = {
|
|
|
155391
155760
|
defs: {
|
|
155392
155761
|
main: {
|
|
155393
155762
|
type: "query",
|
|
155394
|
-
description: "
|
|
155763
|
+
description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
|
|
155395
155764
|
parameters: {
|
|
155396
155765
|
type: "params",
|
|
155397
155766
|
required: ["uris"],
|
|
155398
155767
|
properties: {
|
|
155399
155768
|
uris: {
|
|
155400
155769
|
type: "array",
|
|
155770
|
+
description: "List of post AT-URIs to return hydrated views for.",
|
|
155401
155771
|
items: {
|
|
155402
155772
|
type: "string",
|
|
155403
155773
|
format: "at-uri"
|
|
@@ -155431,18 +155801,20 @@ var schemaDict = {
|
|
|
155431
155801
|
defs: {
|
|
155432
155802
|
main: {
|
|
155433
155803
|
type: "query",
|
|
155434
|
-
description: "Get a list of reposts.",
|
|
155804
|
+
description: "Get a list of reposts for a given post.",
|
|
155435
155805
|
parameters: {
|
|
155436
155806
|
type: "params",
|
|
155437
155807
|
required: ["uri"],
|
|
155438
155808
|
properties: {
|
|
155439
155809
|
uri: {
|
|
155440
155810
|
type: "string",
|
|
155441
|
-
format: "at-uri"
|
|
155811
|
+
format: "at-uri",
|
|
155812
|
+
description: "Reference (AT-URI) of post record"
|
|
155442
155813
|
},
|
|
155443
155814
|
cid: {
|
|
155444
155815
|
type: "string",
|
|
155445
|
-
format: "cid"
|
|
155816
|
+
format: "cid",
|
|
155817
|
+
description: "If supplied, filters to reposts of specific version (by CID) of the post record."
|
|
155446
155818
|
},
|
|
155447
155819
|
limit: {
|
|
155448
155820
|
type: "integer",
|
|
@@ -155491,7 +155863,7 @@ var schemaDict = {
|
|
|
155491
155863
|
defs: {
|
|
155492
155864
|
main: {
|
|
155493
155865
|
type: "query",
|
|
155494
|
-
description: "Get a list of suggested feeds for the
|
|
155866
|
+
description: "Get a list of suggested feeds (feed generators) for the requesting account.",
|
|
155495
155867
|
parameters: {
|
|
155496
155868
|
type: "params",
|
|
155497
155869
|
properties: {
|
|
@@ -155534,12 +155906,13 @@ var schemaDict = {
|
|
|
155534
155906
|
defs: {
|
|
155535
155907
|
main: {
|
|
155536
155908
|
type: "query",
|
|
155537
|
-
description: "Get a view of the
|
|
155909
|
+
description: "Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed.",
|
|
155538
155910
|
parameters: {
|
|
155539
155911
|
type: "params",
|
|
155540
155912
|
properties: {
|
|
155541
155913
|
algorithm: {
|
|
155542
|
-
type: "string"
|
|
155914
|
+
type: "string",
|
|
155915
|
+
description: "Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism."
|
|
155543
155916
|
},
|
|
155544
155917
|
limit: {
|
|
155545
155918
|
type: "integer",
|
|
@@ -155580,7 +155953,7 @@ var schemaDict = {
|
|
|
155580
155953
|
defs: {
|
|
155581
155954
|
main: {
|
|
155582
155955
|
type: "record",
|
|
155583
|
-
description: "
|
|
155956
|
+
description: "Record declaring a 'like' of a piece of subject content.",
|
|
155584
155957
|
key: "tid",
|
|
155585
155958
|
record: {
|
|
155586
155959
|
type: "object",
|
|
@@ -155605,7 +155978,7 @@ var schemaDict = {
|
|
|
155605
155978
|
defs: {
|
|
155606
155979
|
main: {
|
|
155607
155980
|
type: "record",
|
|
155608
|
-
description: "
|
|
155981
|
+
description: "Record containing a Bluesky post.",
|
|
155609
155982
|
key: "tid",
|
|
155610
155983
|
record: {
|
|
155611
155984
|
type: "object",
|
|
@@ -155614,11 +155987,12 @@ var schemaDict = {
|
|
|
155614
155987
|
text: {
|
|
155615
155988
|
type: "string",
|
|
155616
155989
|
maxLength: 3e3,
|
|
155617
|
-
maxGraphemes: 300
|
|
155990
|
+
maxGraphemes: 300,
|
|
155991
|
+
description: "The primary post content. May be an empty string, if there are embeds."
|
|
155618
155992
|
},
|
|
155619
155993
|
entities: {
|
|
155620
155994
|
type: "array",
|
|
155621
|
-
description: "
|
|
155995
|
+
description: "DEPRECATED: replaced by app.bsky.richtext.facet.",
|
|
155622
155996
|
items: {
|
|
155623
155997
|
type: "ref",
|
|
155624
155998
|
ref: "lex:app.bsky.feed.post#entity"
|
|
@@ -155626,6 +156000,7 @@ var schemaDict = {
|
|
|
155626
156000
|
},
|
|
155627
156001
|
facets: {
|
|
155628
156002
|
type: "array",
|
|
156003
|
+
description: "Annotations of text (mentions, URLs, hashtags, etc)",
|
|
155629
156004
|
items: {
|
|
155630
156005
|
type: "ref",
|
|
155631
156006
|
ref: "lex:app.bsky.richtext.facet"
|
|
@@ -155646,6 +156021,7 @@ var schemaDict = {
|
|
|
155646
156021
|
},
|
|
155647
156022
|
langs: {
|
|
155648
156023
|
type: "array",
|
|
156024
|
+
description: "Indicates human language of post primary text content.",
|
|
155649
156025
|
maxLength: 3,
|
|
155650
156026
|
items: {
|
|
155651
156027
|
type: "string",
|
|
@@ -155654,21 +156030,23 @@ var schemaDict = {
|
|
|
155654
156030
|
},
|
|
155655
156031
|
labels: {
|
|
155656
156032
|
type: "union",
|
|
156033
|
+
description: "Self-label values for this post. Effectively content warnings.",
|
|
155657
156034
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
155658
156035
|
},
|
|
155659
156036
|
tags: {
|
|
155660
156037
|
type: "array",
|
|
156038
|
+
description: "Additional non-inline tags describing this post.",
|
|
155661
156039
|
maxLength: 8,
|
|
155662
156040
|
items: {
|
|
155663
156041
|
type: "string",
|
|
155664
156042
|
maxLength: 640,
|
|
155665
156043
|
maxGraphemes: 64
|
|
155666
|
-
}
|
|
155667
|
-
description: "Additional non-inline tags describing this post."
|
|
156044
|
+
}
|
|
155668
156045
|
},
|
|
155669
156046
|
createdAt: {
|
|
155670
156047
|
type: "string",
|
|
155671
|
-
format: "datetime"
|
|
156048
|
+
format: "datetime",
|
|
156049
|
+
description: "Client-declared timestamp when this post was originally created."
|
|
155672
156050
|
}
|
|
155673
156051
|
}
|
|
155674
156052
|
}
|
|
@@ -155727,7 +156105,7 @@ var schemaDict = {
|
|
|
155727
156105
|
id: "app.bsky.feed.repost",
|
|
155728
156106
|
defs: {
|
|
155729
156107
|
main: {
|
|
155730
|
-
description: "
|
|
156108
|
+
description: "Record representing a 'repost' of an existing Bluesky post.",
|
|
155731
156109
|
type: "record",
|
|
155732
156110
|
key: "tid",
|
|
155733
156111
|
record: {
|
|
@@ -155753,7 +156131,7 @@ var schemaDict = {
|
|
|
155753
156131
|
defs: {
|
|
155754
156132
|
main: {
|
|
155755
156133
|
type: "query",
|
|
155756
|
-
description: "Find posts matching search criteria.",
|
|
156134
|
+
description: "Find posts matching search criteria, returning views of those posts.",
|
|
155757
156135
|
parameters: {
|
|
155758
156136
|
type: "params",
|
|
155759
156137
|
required: ["q"],
|
|
@@ -155812,14 +156190,15 @@ var schemaDict = {
|
|
|
155812
156190
|
main: {
|
|
155813
156191
|
type: "record",
|
|
155814
156192
|
key: "tid",
|
|
155815
|
-
description: "
|
|
156193
|
+
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
156194
|
record: {
|
|
155817
156195
|
type: "object",
|
|
155818
156196
|
required: ["post", "createdAt"],
|
|
155819
156197
|
properties: {
|
|
155820
156198
|
post: {
|
|
155821
156199
|
type: "string",
|
|
155822
|
-
format: "at-uri"
|
|
156200
|
+
format: "at-uri",
|
|
156201
|
+
description: "Reference (AT-URI) to the post record."
|
|
155823
156202
|
},
|
|
155824
156203
|
allow: {
|
|
155825
156204
|
type: "array",
|
|
@@ -155869,7 +156248,7 @@ var schemaDict = {
|
|
|
155869
156248
|
defs: {
|
|
155870
156249
|
main: {
|
|
155871
156250
|
type: "record",
|
|
155872
|
-
description: "
|
|
156251
|
+
description: "Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details.",
|
|
155873
156252
|
key: "tid",
|
|
155874
156253
|
record: {
|
|
155875
156254
|
type: "object",
|
|
@@ -155877,7 +156256,8 @@ var schemaDict = {
|
|
|
155877
156256
|
properties: {
|
|
155878
156257
|
subject: {
|
|
155879
156258
|
type: "string",
|
|
155880
|
-
format: "did"
|
|
156259
|
+
format: "did",
|
|
156260
|
+
description: "DID of the account to be blocked."
|
|
155881
156261
|
},
|
|
155882
156262
|
createdAt: {
|
|
155883
156263
|
type: "string",
|
|
@@ -156061,7 +156441,7 @@ var schemaDict = {
|
|
|
156061
156441
|
defs: {
|
|
156062
156442
|
main: {
|
|
156063
156443
|
type: "record",
|
|
156064
|
-
description: "
|
|
156444
|
+
description: "Record declaring a social 'follow' relationship of another account. Duplicate follows will be ignored by the AppView.",
|
|
156065
156445
|
key: "tid",
|
|
156066
156446
|
record: {
|
|
156067
156447
|
type: "object",
|
|
@@ -156086,7 +156466,7 @@ var schemaDict = {
|
|
|
156086
156466
|
defs: {
|
|
156087
156467
|
main: {
|
|
156088
156468
|
type: "query",
|
|
156089
|
-
description: "
|
|
156469
|
+
description: "Enumerates which accounts the requesting account is currently blocking. Requires auth.",
|
|
156090
156470
|
parameters: {
|
|
156091
156471
|
type: "params",
|
|
156092
156472
|
properties: {
|
|
@@ -156129,7 +156509,7 @@ var schemaDict = {
|
|
|
156129
156509
|
defs: {
|
|
156130
156510
|
main: {
|
|
156131
156511
|
type: "query",
|
|
156132
|
-
description: "
|
|
156512
|
+
description: "Enumerates accounts which follow a specified account (actor).",
|
|
156133
156513
|
parameters: {
|
|
156134
156514
|
type: "params",
|
|
156135
156515
|
required: ["actor"],
|
|
@@ -156181,7 +156561,7 @@ var schemaDict = {
|
|
|
156181
156561
|
defs: {
|
|
156182
156562
|
main: {
|
|
156183
156563
|
type: "query",
|
|
156184
|
-
description: "
|
|
156564
|
+
description: "Enumerates accounts which a specified account (actor) follows.",
|
|
156185
156565
|
parameters: {
|
|
156186
156566
|
type: "params",
|
|
156187
156567
|
required: ["actor"],
|
|
@@ -156233,14 +156613,15 @@ var schemaDict = {
|
|
|
156233
156613
|
defs: {
|
|
156234
156614
|
main: {
|
|
156235
156615
|
type: "query",
|
|
156236
|
-
description: "
|
|
156616
|
+
description: "Gets a 'view' (with additional context) of a specified list.",
|
|
156237
156617
|
parameters: {
|
|
156238
156618
|
type: "params",
|
|
156239
156619
|
required: ["list"],
|
|
156240
156620
|
properties: {
|
|
156241
156621
|
list: {
|
|
156242
156622
|
type: "string",
|
|
156243
|
-
format: "at-uri"
|
|
156623
|
+
format: "at-uri",
|
|
156624
|
+
description: "Reference (AT-URI) of the list record to hydrate."
|
|
156244
156625
|
},
|
|
156245
156626
|
limit: {
|
|
156246
156627
|
type: "integer",
|
|
@@ -156285,7 +156666,7 @@ var schemaDict = {
|
|
|
156285
156666
|
defs: {
|
|
156286
156667
|
main: {
|
|
156287
156668
|
type: "query",
|
|
156288
|
-
description: "Get lists that the actor is blocking.",
|
|
156669
|
+
description: "Get mod lists that the requesting account (actor) is blocking. Requires auth.",
|
|
156289
156670
|
parameters: {
|
|
156290
156671
|
type: "params",
|
|
156291
156672
|
properties: {
|
|
@@ -156328,7 +156709,7 @@ var schemaDict = {
|
|
|
156328
156709
|
defs: {
|
|
156329
156710
|
main: {
|
|
156330
156711
|
type: "query",
|
|
156331
|
-
description: "
|
|
156712
|
+
description: "Enumerates mod lists that the requesting account (actor) currently has muted. Requires auth.",
|
|
156332
156713
|
parameters: {
|
|
156333
156714
|
type: "params",
|
|
156334
156715
|
properties: {
|
|
@@ -156371,14 +156752,15 @@ var schemaDict = {
|
|
|
156371
156752
|
defs: {
|
|
156372
156753
|
main: {
|
|
156373
156754
|
type: "query",
|
|
156374
|
-
description: "
|
|
156755
|
+
description: "Enumerates the lists created by a specified account (actor).",
|
|
156375
156756
|
parameters: {
|
|
156376
156757
|
type: "params",
|
|
156377
156758
|
required: ["actor"],
|
|
156378
156759
|
properties: {
|
|
156379
156760
|
actor: {
|
|
156380
156761
|
type: "string",
|
|
156381
|
-
format: "at-identifier"
|
|
156762
|
+
format: "at-identifier",
|
|
156763
|
+
description: "The account (actor) to enumerate lists from."
|
|
156382
156764
|
},
|
|
156383
156765
|
limit: {
|
|
156384
156766
|
type: "integer",
|
|
@@ -156419,7 +156801,7 @@ var schemaDict = {
|
|
|
156419
156801
|
defs: {
|
|
156420
156802
|
main: {
|
|
156421
156803
|
type: "query",
|
|
156422
|
-
description: "
|
|
156804
|
+
description: "Enumerates accounts that the requesting account (actor) currently has muted. Requires auth.",
|
|
156423
156805
|
parameters: {
|
|
156424
156806
|
type: "params",
|
|
156425
156807
|
properties: {
|
|
@@ -156462,17 +156844,19 @@ var schemaDict = {
|
|
|
156462
156844
|
defs: {
|
|
156463
156845
|
main: {
|
|
156464
156846
|
type: "query",
|
|
156465
|
-
description: "Enumerates public relationships between one account, and a list of other accounts",
|
|
156847
|
+
description: "Enumerates public relationships between one account, and a list of other accounts. Does not require auth.",
|
|
156466
156848
|
parameters: {
|
|
156467
156849
|
type: "params",
|
|
156468
156850
|
required: ["actor"],
|
|
156469
156851
|
properties: {
|
|
156470
156852
|
actor: {
|
|
156471
156853
|
type: "string",
|
|
156472
|
-
format: "at-identifier"
|
|
156854
|
+
format: "at-identifier",
|
|
156855
|
+
description: "Primary account requesting relationships for."
|
|
156473
156856
|
},
|
|
156474
156857
|
others: {
|
|
156475
156858
|
type: "array",
|
|
156859
|
+
description: "List of 'other' accounts to be related back to the primary.",
|
|
156476
156860
|
maxLength: 30,
|
|
156477
156861
|
items: {
|
|
156478
156862
|
type: "string",
|
|
@@ -156519,7 +156903,7 @@ var schemaDict = {
|
|
|
156519
156903
|
defs: {
|
|
156520
156904
|
main: {
|
|
156521
156905
|
type: "query",
|
|
156522
|
-
description: "
|
|
156906
|
+
description: "Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.",
|
|
156523
156907
|
parameters: {
|
|
156524
156908
|
type: "params",
|
|
156525
156909
|
required: ["actor"],
|
|
@@ -156555,7 +156939,7 @@ var schemaDict = {
|
|
|
156555
156939
|
defs: {
|
|
156556
156940
|
main: {
|
|
156557
156941
|
type: "record",
|
|
156558
|
-
description: "
|
|
156942
|
+
description: "Record representing a list of accounts (actors). Scope includes both moderation-oriented lists and curration-oriented lists.",
|
|
156559
156943
|
key: "tid",
|
|
156560
156944
|
record: {
|
|
156561
156945
|
type: "object",
|
|
@@ -156563,12 +156947,14 @@ var schemaDict = {
|
|
|
156563
156947
|
properties: {
|
|
156564
156948
|
purpose: {
|
|
156565
156949
|
type: "ref",
|
|
156950
|
+
description: "Defines the purpose of the list (aka, moderation-oriented or curration-oriented)",
|
|
156566
156951
|
ref: "lex:app.bsky.graph.defs#listPurpose"
|
|
156567
156952
|
},
|
|
156568
156953
|
name: {
|
|
156569
156954
|
type: "string",
|
|
156570
156955
|
maxLength: 64,
|
|
156571
|
-
minLength: 1
|
|
156956
|
+
minLength: 1,
|
|
156957
|
+
description: "Display name for list; can not be empty."
|
|
156572
156958
|
},
|
|
156573
156959
|
description: {
|
|
156574
156960
|
type: "string",
|
|
@@ -156606,7 +156992,7 @@ var schemaDict = {
|
|
|
156606
156992
|
defs: {
|
|
156607
156993
|
main: {
|
|
156608
156994
|
type: "record",
|
|
156609
|
-
description: "
|
|
156995
|
+
description: "Record representing a block relationship against an entire an entire list of accounts (actors).",
|
|
156610
156996
|
key: "tid",
|
|
156611
156997
|
record: {
|
|
156612
156998
|
type: "object",
|
|
@@ -156614,7 +157000,8 @@ var schemaDict = {
|
|
|
156614
157000
|
properties: {
|
|
156615
157001
|
subject: {
|
|
156616
157002
|
type: "string",
|
|
156617
|
-
format: "at-uri"
|
|
157003
|
+
format: "at-uri",
|
|
157004
|
+
description: "Reference (AT-URI) to the mod list record."
|
|
156618
157005
|
},
|
|
156619
157006
|
createdAt: {
|
|
156620
157007
|
type: "string",
|
|
@@ -156631,7 +157018,7 @@ var schemaDict = {
|
|
|
156631
157018
|
defs: {
|
|
156632
157019
|
main: {
|
|
156633
157020
|
type: "record",
|
|
156634
|
-
description: "
|
|
157021
|
+
description: "Record representing an account's inclusion on a specific list. The AppView will ignore duplicate listitem records.",
|
|
156635
157022
|
key: "tid",
|
|
156636
157023
|
record: {
|
|
156637
157024
|
type: "object",
|
|
@@ -156639,11 +157026,13 @@ var schemaDict = {
|
|
|
156639
157026
|
properties: {
|
|
156640
157027
|
subject: {
|
|
156641
157028
|
type: "string",
|
|
156642
|
-
format: "did"
|
|
157029
|
+
format: "did",
|
|
157030
|
+
description: "The account which is included on the list."
|
|
156643
157031
|
},
|
|
156644
157032
|
list: {
|
|
156645
157033
|
type: "string",
|
|
156646
|
-
format: "at-uri"
|
|
157034
|
+
format: "at-uri",
|
|
157035
|
+
description: "Reference (AT-URI) to the list record (app.bsky.graph.list)."
|
|
156647
157036
|
},
|
|
156648
157037
|
createdAt: {
|
|
156649
157038
|
type: "string",
|
|
@@ -156660,7 +157049,7 @@ var schemaDict = {
|
|
|
156660
157049
|
defs: {
|
|
156661
157050
|
main: {
|
|
156662
157051
|
type: "procedure",
|
|
156663
|
-
description: "
|
|
157052
|
+
description: "Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth.",
|
|
156664
157053
|
input: {
|
|
156665
157054
|
encoding: "application/json",
|
|
156666
157055
|
schema: {
|
|
@@ -156683,7 +157072,7 @@ var schemaDict = {
|
|
|
156683
157072
|
defs: {
|
|
156684
157073
|
main: {
|
|
156685
157074
|
type: "procedure",
|
|
156686
|
-
description: "
|
|
157075
|
+
description: "Creates a mute relationship for the specified list of accounts. Mutes are private in Bluesky. Requires auth.",
|
|
156687
157076
|
input: {
|
|
156688
157077
|
encoding: "application/json",
|
|
156689
157078
|
schema: {
|
|
@@ -156706,7 +157095,7 @@ var schemaDict = {
|
|
|
156706
157095
|
defs: {
|
|
156707
157096
|
main: {
|
|
156708
157097
|
type: "procedure",
|
|
156709
|
-
description: "
|
|
157098
|
+
description: "Unmutes the specified account. Requires auth.",
|
|
156710
157099
|
input: {
|
|
156711
157100
|
encoding: "application/json",
|
|
156712
157101
|
schema: {
|
|
@@ -156729,7 +157118,7 @@ var schemaDict = {
|
|
|
156729
157118
|
defs: {
|
|
156730
157119
|
main: {
|
|
156731
157120
|
type: "procedure",
|
|
156732
|
-
description: "
|
|
157121
|
+
description: "Unmutes the specified list of accounts. Requires auth.",
|
|
156733
157122
|
input: {
|
|
156734
157123
|
encoding: "application/json",
|
|
156735
157124
|
schema: {
|
|
@@ -156752,7 +157141,7 @@ var schemaDict = {
|
|
|
156752
157141
|
defs: {
|
|
156753
157142
|
main: {
|
|
156754
157143
|
type: "query",
|
|
156755
|
-
description: "
|
|
157144
|
+
description: "Count the number of unread notifications for the requesting account. Requires auth.",
|
|
156756
157145
|
parameters: {
|
|
156757
157146
|
type: "params",
|
|
156758
157147
|
properties: {
|
|
@@ -156783,7 +157172,7 @@ var schemaDict = {
|
|
|
156783
157172
|
defs: {
|
|
156784
157173
|
main: {
|
|
156785
157174
|
type: "query",
|
|
156786
|
-
description: "
|
|
157175
|
+
description: "Enumerate notifications for the requesting account. Requires auth.",
|
|
156787
157176
|
parameters: {
|
|
156788
157177
|
type: "params",
|
|
156789
157178
|
properties: {
|
|
@@ -156893,7 +157282,7 @@ var schemaDict = {
|
|
|
156893
157282
|
defs: {
|
|
156894
157283
|
main: {
|
|
156895
157284
|
type: "procedure",
|
|
156896
|
-
description: "Register
|
|
157285
|
+
description: "Register to receive push notifications, via a specified service, for the requesting account. Requires auth.",
|
|
156897
157286
|
input: {
|
|
156898
157287
|
encoding: "application/json",
|
|
156899
157288
|
schema: {
|
|
@@ -156926,7 +157315,7 @@ var schemaDict = {
|
|
|
156926
157315
|
defs: {
|
|
156927
157316
|
main: {
|
|
156928
157317
|
type: "procedure",
|
|
156929
|
-
description: "Notify server that the
|
|
157318
|
+
description: "Notify server that the requesting account has seen notifications. Requires auth.",
|
|
156930
157319
|
input: {
|
|
156931
157320
|
encoding: "application/json",
|
|
156932
157321
|
schema: {
|
|
@@ -156949,6 +157338,7 @@ var schemaDict = {
|
|
|
156949
157338
|
defs: {
|
|
156950
157339
|
main: {
|
|
156951
157340
|
type: "object",
|
|
157341
|
+
description: "Annotation of a sub-string within rich text.",
|
|
156952
157342
|
required: ["index", "features"],
|
|
156953
157343
|
properties: {
|
|
156954
157344
|
index: {
|
|
@@ -156970,7 +157360,7 @@ var schemaDict = {
|
|
|
156970
157360
|
},
|
|
156971
157361
|
mention: {
|
|
156972
157362
|
type: "object",
|
|
156973
|
-
description: "
|
|
157363
|
+
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
157364
|
required: ["did"],
|
|
156975
157365
|
properties: {
|
|
156976
157366
|
did: {
|
|
@@ -156981,7 +157371,7 @@ var schemaDict = {
|
|
|
156981
157371
|
},
|
|
156982
157372
|
link: {
|
|
156983
157373
|
type: "object",
|
|
156984
|
-
description: "
|
|
157374
|
+
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
157375
|
required: ["uri"],
|
|
156986
157376
|
properties: {
|
|
156987
157377
|
uri: {
|
|
@@ -156992,7 +157382,7 @@ var schemaDict = {
|
|
|
156992
157382
|
},
|
|
156993
157383
|
tag: {
|
|
156994
157384
|
type: "object",
|
|
156995
|
-
description: "
|
|
157385
|
+
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
157386
|
required: ["tag"],
|
|
156997
157387
|
properties: {
|
|
156998
157388
|
tag: {
|
|
@@ -157004,7 +157394,7 @@ var schemaDict = {
|
|
|
157004
157394
|
},
|
|
157005
157395
|
byteSlice: {
|
|
157006
157396
|
type: "object",
|
|
157007
|
-
description: "
|
|
157397
|
+
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
157398
|
required: ["byteStart", "byteEnd"],
|
|
157009
157399
|
properties: {
|
|
157010
157400
|
byteStart: {
|
|
@@ -162901,7 +163291,7 @@ var schemaDict2 = {
|
|
|
162901
163291
|
defs: {
|
|
162902
163292
|
main: {
|
|
162903
163293
|
type: "query",
|
|
162904
|
-
description: "
|
|
163294
|
+
description: "Resolves a handle (domain name) to a DID.",
|
|
162905
163295
|
parameters: {
|
|
162906
163296
|
type: "params",
|
|
162907
163297
|
required: ["handle"],
|
|
@@ -162935,7 +163325,7 @@ var schemaDict2 = {
|
|
|
162935
163325
|
defs: {
|
|
162936
163326
|
main: {
|
|
162937
163327
|
type: "procedure",
|
|
162938
|
-
description: "Updates the handle
|
|
163328
|
+
description: "Updates the current account's handle. Verifies handle validity, and updates did:plc document if necessary. Implemented by PDS, and requires auth.",
|
|
162939
163329
|
input: {
|
|
162940
163330
|
encoding: "application/json",
|
|
162941
163331
|
schema: {
|
|
@@ -162944,7 +163334,8 @@ var schemaDict2 = {
|
|
|
162944
163334
|
properties: {
|
|
162945
163335
|
handle: {
|
|
162946
163336
|
type: "string",
|
|
162947
|
-
format: "handle"
|
|
163337
|
+
format: "handle",
|
|
163338
|
+
description: "The new handle."
|
|
162948
163339
|
}
|
|
162949
163340
|
}
|
|
162950
163341
|
}
|
|
@@ -163027,7 +163418,7 @@ var schemaDict2 = {
|
|
|
163027
163418
|
defs: {
|
|
163028
163419
|
main: {
|
|
163029
163420
|
type: "query",
|
|
163030
|
-
description: "Find labels relevant to the provided URI patterns.",
|
|
163421
|
+
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
163422
|
parameters: {
|
|
163032
163423
|
type: "params",
|
|
163033
163424
|
required: ["uriPatterns"],
|
|
@@ -163086,13 +163477,13 @@ var schemaDict2 = {
|
|
|
163086
163477
|
defs: {
|
|
163087
163478
|
main: {
|
|
163088
163479
|
type: "subscription",
|
|
163089
|
-
description: "Subscribe to
|
|
163480
|
+
description: "Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream.",
|
|
163090
163481
|
parameters: {
|
|
163091
163482
|
type: "params",
|
|
163092
163483
|
properties: {
|
|
163093
163484
|
cursor: {
|
|
163094
163485
|
type: "integer",
|
|
163095
|
-
description: "The last known event to backfill from."
|
|
163486
|
+
description: "The last known event seq number to backfill from."
|
|
163096
163487
|
}
|
|
163097
163488
|
}
|
|
163098
163489
|
},
|
|
@@ -163148,7 +163539,7 @@ var schemaDict2 = {
|
|
|
163148
163539
|
defs: {
|
|
163149
163540
|
main: {
|
|
163150
163541
|
type: "procedure",
|
|
163151
|
-
description: "
|
|
163542
|
+
description: "Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.",
|
|
163152
163543
|
input: {
|
|
163153
163544
|
encoding: "application/json",
|
|
163154
163545
|
schema: {
|
|
@@ -163157,10 +163548,12 @@ var schemaDict2 = {
|
|
|
163157
163548
|
properties: {
|
|
163158
163549
|
reasonType: {
|
|
163159
163550
|
type: "ref",
|
|
163551
|
+
description: "Indicates the broad category of violation the report is for.",
|
|
163160
163552
|
ref: "lex:com.atproto.moderation.defs#reasonType"
|
|
163161
163553
|
},
|
|
163162
163554
|
reason: {
|
|
163163
|
-
type: "string"
|
|
163555
|
+
type: "string",
|
|
163556
|
+
description: "Additional context about the content and violation."
|
|
163164
163557
|
},
|
|
163165
163558
|
subject: {
|
|
163166
163559
|
type: "union",
|
|
@@ -163269,7 +163662,7 @@ var schemaDict2 = {
|
|
|
163269
163662
|
defs: {
|
|
163270
163663
|
main: {
|
|
163271
163664
|
type: "procedure",
|
|
163272
|
-
description: "Apply a batch transaction of creates, updates, and deletes.",
|
|
163665
|
+
description: "Apply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.",
|
|
163273
163666
|
input: {
|
|
163274
163667
|
encoding: "application/json",
|
|
163275
163668
|
schema: {
|
|
@@ -163279,12 +163672,12 @@ var schemaDict2 = {
|
|
|
163279
163672
|
repo: {
|
|
163280
163673
|
type: "string",
|
|
163281
163674
|
format: "at-identifier",
|
|
163282
|
-
description: "The handle or DID of the repo."
|
|
163675
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
163283
163676
|
},
|
|
163284
163677
|
validate: {
|
|
163285
163678
|
type: "boolean",
|
|
163286
163679
|
default: true,
|
|
163287
|
-
description: "
|
|
163680
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data, for all operations."
|
|
163288
163681
|
},
|
|
163289
163682
|
writes: {
|
|
163290
163683
|
type: "array",
|
|
@@ -163300,6 +163693,7 @@ var schemaDict2 = {
|
|
|
163300
163693
|
},
|
|
163301
163694
|
swapCommit: {
|
|
163302
163695
|
type: "string",
|
|
163696
|
+
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
163697
|
format: "cid"
|
|
163304
163698
|
}
|
|
163305
163699
|
}
|
|
@@ -163307,13 +163701,14 @@ var schemaDict2 = {
|
|
|
163307
163701
|
},
|
|
163308
163702
|
errors: [
|
|
163309
163703
|
{
|
|
163310
|
-
name: "InvalidSwap"
|
|
163704
|
+
name: "InvalidSwap",
|
|
163705
|
+
description: "Indicates that the 'swapCommit' parameter did not match current commit."
|
|
163311
163706
|
}
|
|
163312
163707
|
]
|
|
163313
163708
|
},
|
|
163314
163709
|
create: {
|
|
163315
163710
|
type: "object",
|
|
163316
|
-
description: "
|
|
163711
|
+
description: "Operation which creates a new record.",
|
|
163317
163712
|
required: ["collection", "value"],
|
|
163318
163713
|
properties: {
|
|
163319
163714
|
collection: {
|
|
@@ -163331,7 +163726,7 @@ var schemaDict2 = {
|
|
|
163331
163726
|
},
|
|
163332
163727
|
update: {
|
|
163333
163728
|
type: "object",
|
|
163334
|
-
description: "
|
|
163729
|
+
description: "Operation which updates an existing record.",
|
|
163335
163730
|
required: ["collection", "rkey", "value"],
|
|
163336
163731
|
properties: {
|
|
163337
163732
|
collection: {
|
|
@@ -163348,7 +163743,7 @@ var schemaDict2 = {
|
|
|
163348
163743
|
},
|
|
163349
163744
|
delete: {
|
|
163350
163745
|
type: "object",
|
|
163351
|
-
description: "
|
|
163746
|
+
description: "Operation which deletes an existing record.",
|
|
163352
163747
|
required: ["collection", "rkey"],
|
|
163353
163748
|
properties: {
|
|
163354
163749
|
collection: {
|
|
@@ -163368,7 +163763,7 @@ var schemaDict2 = {
|
|
|
163368
163763
|
defs: {
|
|
163369
163764
|
main: {
|
|
163370
163765
|
type: "procedure",
|
|
163371
|
-
description: "Create a new record.",
|
|
163766
|
+
description: "Create a single new repository record. Requires auth, implemented by PDS.",
|
|
163372
163767
|
input: {
|
|
163373
163768
|
encoding: "application/json",
|
|
163374
163769
|
schema: {
|
|
@@ -163378,7 +163773,7 @@ var schemaDict2 = {
|
|
|
163378
163773
|
repo: {
|
|
163379
163774
|
type: "string",
|
|
163380
163775
|
format: "at-identifier",
|
|
163381
|
-
description: "The handle or DID of the repo."
|
|
163776
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
163382
163777
|
},
|
|
163383
163778
|
collection: {
|
|
163384
163779
|
type: "string",
|
|
@@ -163387,17 +163782,17 @@ var schemaDict2 = {
|
|
|
163387
163782
|
},
|
|
163388
163783
|
rkey: {
|
|
163389
163784
|
type: "string",
|
|
163390
|
-
description: "The
|
|
163785
|
+
description: "The Record Key.",
|
|
163391
163786
|
maxLength: 15
|
|
163392
163787
|
},
|
|
163393
163788
|
validate: {
|
|
163394
163789
|
type: "boolean",
|
|
163395
163790
|
default: true,
|
|
163396
|
-
description: "
|
|
163791
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data."
|
|
163397
163792
|
},
|
|
163398
163793
|
record: {
|
|
163399
163794
|
type: "unknown",
|
|
163400
|
-
description: "The record
|
|
163795
|
+
description: "The record itself. Must contain a $type field."
|
|
163401
163796
|
},
|
|
163402
163797
|
swapCommit: {
|
|
163403
163798
|
type: "string",
|
|
@@ -163426,7 +163821,8 @@ var schemaDict2 = {
|
|
|
163426
163821
|
},
|
|
163427
163822
|
errors: [
|
|
163428
163823
|
{
|
|
163429
|
-
name: "InvalidSwap"
|
|
163824
|
+
name: "InvalidSwap",
|
|
163825
|
+
description: "Indicates that 'swapCommit' didn't match current repo commit."
|
|
163430
163826
|
}
|
|
163431
163827
|
]
|
|
163432
163828
|
}
|
|
@@ -163438,7 +163834,7 @@ var schemaDict2 = {
|
|
|
163438
163834
|
defs: {
|
|
163439
163835
|
main: {
|
|
163440
163836
|
type: "procedure",
|
|
163441
|
-
description: "Delete a record, or ensure it doesn't exist.",
|
|
163837
|
+
description: "Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.",
|
|
163442
163838
|
input: {
|
|
163443
163839
|
encoding: "application/json",
|
|
163444
163840
|
schema: {
|
|
@@ -163448,7 +163844,7 @@ var schemaDict2 = {
|
|
|
163448
163844
|
repo: {
|
|
163449
163845
|
type: "string",
|
|
163450
163846
|
format: "at-identifier",
|
|
163451
|
-
description: "The handle or DID of the repo."
|
|
163847
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
163452
163848
|
},
|
|
163453
163849
|
collection: {
|
|
163454
163850
|
type: "string",
|
|
@@ -163457,7 +163853,7 @@ var schemaDict2 = {
|
|
|
163457
163853
|
},
|
|
163458
163854
|
rkey: {
|
|
163459
163855
|
type: "string",
|
|
163460
|
-
description: "The
|
|
163856
|
+
description: "The Record Key."
|
|
163461
163857
|
},
|
|
163462
163858
|
swapRecord: {
|
|
163463
163859
|
type: "string",
|
|
@@ -163486,7 +163882,7 @@ var schemaDict2 = {
|
|
|
163486
163882
|
defs: {
|
|
163487
163883
|
main: {
|
|
163488
163884
|
type: "query",
|
|
163489
|
-
description: "Get information about
|
|
163885
|
+
description: "Get information about an account and repository, including the list of collections. Does not require auth.",
|
|
163490
163886
|
parameters: {
|
|
163491
163887
|
type: "params",
|
|
163492
163888
|
required: ["repo"],
|
|
@@ -163519,17 +163915,20 @@ var schemaDict2 = {
|
|
|
163519
163915
|
format: "did"
|
|
163520
163916
|
},
|
|
163521
163917
|
didDoc: {
|
|
163522
|
-
type: "unknown"
|
|
163918
|
+
type: "unknown",
|
|
163919
|
+
description: "The complete DID document for this account."
|
|
163523
163920
|
},
|
|
163524
163921
|
collections: {
|
|
163525
163922
|
type: "array",
|
|
163923
|
+
description: "List of all the collections (NSIDs) for which this repo contains at least one record.",
|
|
163526
163924
|
items: {
|
|
163527
163925
|
type: "string",
|
|
163528
163926
|
format: "nsid"
|
|
163529
163927
|
}
|
|
163530
163928
|
},
|
|
163531
163929
|
handleIsCorrect: {
|
|
163532
|
-
type: "boolean"
|
|
163930
|
+
type: "boolean",
|
|
163931
|
+
description: "Indicates if handle is currently valid (resolves bi-directionally)"
|
|
163533
163932
|
}
|
|
163534
163933
|
}
|
|
163535
163934
|
}
|
|
@@ -163543,7 +163942,7 @@ var schemaDict2 = {
|
|
|
163543
163942
|
defs: {
|
|
163544
163943
|
main: {
|
|
163545
163944
|
type: "query",
|
|
163546
|
-
description: "Get a record.",
|
|
163945
|
+
description: "Get a single record from a repository. Does not require auth.",
|
|
163547
163946
|
parameters: {
|
|
163548
163947
|
type: "params",
|
|
163549
163948
|
required: ["repo", "collection", "rkey"],
|
|
@@ -163560,7 +163959,7 @@ var schemaDict2 = {
|
|
|
163560
163959
|
},
|
|
163561
163960
|
rkey: {
|
|
163562
163961
|
type: "string",
|
|
163563
|
-
description: "The
|
|
163962
|
+
description: "The Record Key."
|
|
163564
163963
|
},
|
|
163565
163964
|
cid: {
|
|
163566
163965
|
type: "string",
|
|
@@ -163598,7 +163997,7 @@ var schemaDict2 = {
|
|
|
163598
163997
|
defs: {
|
|
163599
163998
|
main: {
|
|
163600
163999
|
type: "query",
|
|
163601
|
-
description: "List a range of records in a collection.",
|
|
164000
|
+
description: "List a range of records in a repository, matching a specific collection. Does not require auth.",
|
|
163602
164001
|
parameters: {
|
|
163603
164002
|
type: "params",
|
|
163604
164003
|
required: ["repo", "collection"],
|
|
@@ -163682,7 +164081,7 @@ var schemaDict2 = {
|
|
|
163682
164081
|
defs: {
|
|
163683
164082
|
main: {
|
|
163684
164083
|
type: "procedure",
|
|
163685
|
-
description: "Write a record, creating or updating it as needed.",
|
|
164084
|
+
description: "Write a repository record, creating or updating it as needed. Requires auth, implemented by PDS.",
|
|
163686
164085
|
input: {
|
|
163687
164086
|
encoding: "application/json",
|
|
163688
164087
|
schema: {
|
|
@@ -163693,7 +164092,7 @@ var schemaDict2 = {
|
|
|
163693
164092
|
repo: {
|
|
163694
164093
|
type: "string",
|
|
163695
164094
|
format: "at-identifier",
|
|
163696
|
-
description: "The handle or DID of the repo."
|
|
164095
|
+
description: "The handle or DID of the repo (aka, current account)."
|
|
163697
164096
|
},
|
|
163698
164097
|
collection: {
|
|
163699
164098
|
type: "string",
|
|
@@ -163702,13 +164101,13 @@ var schemaDict2 = {
|
|
|
163702
164101
|
},
|
|
163703
164102
|
rkey: {
|
|
163704
164103
|
type: "string",
|
|
163705
|
-
description: "The
|
|
164104
|
+
description: "The Record Key.",
|
|
163706
164105
|
maxLength: 15
|
|
163707
164106
|
},
|
|
163708
164107
|
validate: {
|
|
163709
164108
|
type: "boolean",
|
|
163710
164109
|
default: true,
|
|
163711
|
-
description: "
|
|
164110
|
+
description: "Can be set to 'false' to skip Lexicon schema validation of record data."
|
|
163712
164111
|
},
|
|
163713
164112
|
record: {
|
|
163714
164113
|
type: "unknown",
|
|
@@ -163717,7 +164116,7 @@ var schemaDict2 = {
|
|
|
163717
164116
|
swapRecord: {
|
|
163718
164117
|
type: "string",
|
|
163719
164118
|
format: "cid",
|
|
163720
|
-
description: "Compare and swap with the previous record by CID."
|
|
164119
|
+
description: "Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation"
|
|
163721
164120
|
},
|
|
163722
164121
|
swapCommit: {
|
|
163723
164122
|
type: "string",
|
|
@@ -163779,7 +164178,7 @@ var schemaDict2 = {
|
|
|
163779
164178
|
defs: {
|
|
163780
164179
|
main: {
|
|
163781
164180
|
type: "procedure",
|
|
163782
|
-
description: "Upload a new blob to be
|
|
164181
|
+
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
164182
|
input: {
|
|
163784
164183
|
encoding: "*/*"
|
|
163785
164184
|
},
|
|
@@ -163843,7 +164242,7 @@ var schemaDict2 = {
|
|
|
163843
164242
|
defs: {
|
|
163844
164243
|
main: {
|
|
163845
164244
|
type: "procedure",
|
|
163846
|
-
description: "Create an account.",
|
|
164245
|
+
description: "Create an account. Implemented by PDS.",
|
|
163847
164246
|
input: {
|
|
163848
164247
|
encoding: "application/json",
|
|
163849
164248
|
schema: {
|
|
@@ -163855,11 +164254,13 @@ var schemaDict2 = {
|
|
|
163855
164254
|
},
|
|
163856
164255
|
handle: {
|
|
163857
164256
|
type: "string",
|
|
163858
|
-
format: "handle"
|
|
164257
|
+
format: "handle",
|
|
164258
|
+
description: "Requested handle for the account."
|
|
163859
164259
|
},
|
|
163860
164260
|
did: {
|
|
163861
164261
|
type: "string",
|
|
163862
|
-
format: "did"
|
|
164262
|
+
format: "did",
|
|
164263
|
+
description: "Pre-existing atproto DID, being imported to a new account."
|
|
163863
164264
|
},
|
|
163864
164265
|
inviteCode: {
|
|
163865
164266
|
type: "string"
|
|
@@ -163871,13 +164272,16 @@ var schemaDict2 = {
|
|
|
163871
164272
|
type: "string"
|
|
163872
164273
|
},
|
|
163873
164274
|
password: {
|
|
163874
|
-
type: "string"
|
|
164275
|
+
type: "string",
|
|
164276
|
+
description: "Initial account password. May need to meet instance-specific password strength requirements."
|
|
163875
164277
|
},
|
|
163876
164278
|
recoveryKey: {
|
|
163877
|
-
type: "string"
|
|
164279
|
+
type: "string",
|
|
164280
|
+
description: "DID PLC rotation key (aka, recovery key) to be included in PLC creation operation."
|
|
163878
164281
|
},
|
|
163879
164282
|
plcOp: {
|
|
163880
|
-
type: "unknown"
|
|
164283
|
+
type: "unknown",
|
|
164284
|
+
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
164285
|
}
|
|
163882
164286
|
}
|
|
163883
164287
|
}
|
|
@@ -163886,6 +164290,7 @@ var schemaDict2 = {
|
|
|
163886
164290
|
encoding: "application/json",
|
|
163887
164291
|
schema: {
|
|
163888
164292
|
type: "object",
|
|
164293
|
+
description: "Account login session returned on successful account creation.",
|
|
163889
164294
|
required: ["accessJwt", "refreshJwt", "handle", "did"],
|
|
163890
164295
|
properties: {
|
|
163891
164296
|
accessJwt: {
|
|
@@ -163900,10 +164305,12 @@ var schemaDict2 = {
|
|
|
163900
164305
|
},
|
|
163901
164306
|
did: {
|
|
163902
164307
|
type: "string",
|
|
163903
|
-
format: "did"
|
|
164308
|
+
format: "did",
|
|
164309
|
+
description: "The DID of the new account."
|
|
163904
164310
|
},
|
|
163905
164311
|
didDoc: {
|
|
163906
|
-
type: "unknown"
|
|
164312
|
+
type: "unknown",
|
|
164313
|
+
description: "Complete DID document."
|
|
163907
164314
|
}
|
|
163908
164315
|
}
|
|
163909
164316
|
}
|
|
@@ -163948,7 +164355,8 @@ var schemaDict2 = {
|
|
|
163948
164355
|
required: ["name"],
|
|
163949
164356
|
properties: {
|
|
163950
164357
|
name: {
|
|
163951
|
-
type: "string"
|
|
164358
|
+
type: "string",
|
|
164359
|
+
description: "A short name for the App Password, to help distinguish them."
|
|
163952
164360
|
}
|
|
163953
164361
|
}
|
|
163954
164362
|
}
|
|
@@ -164215,7 +164623,7 @@ var schemaDict2 = {
|
|
|
164215
164623
|
defs: {
|
|
164216
164624
|
main: {
|
|
164217
164625
|
type: "procedure",
|
|
164218
|
-
description: "Delete an actor's account with a token and password.",
|
|
164626
|
+
description: "Delete an actor's account with a token and password. Can only be called after requesting a deletion token. Requires auth.",
|
|
164219
164627
|
input: {
|
|
164220
164628
|
encoding: "application/json",
|
|
164221
164629
|
schema: {
|
|
@@ -164252,7 +164660,7 @@ var schemaDict2 = {
|
|
|
164252
164660
|
defs: {
|
|
164253
164661
|
main: {
|
|
164254
164662
|
type: "procedure",
|
|
164255
|
-
description: "Delete the current session."
|
|
164663
|
+
description: "Delete the current session. Requires auth."
|
|
164256
164664
|
}
|
|
164257
164665
|
}
|
|
164258
164666
|
},
|
|
@@ -164262,7 +164670,7 @@ var schemaDict2 = {
|
|
|
164262
164670
|
defs: {
|
|
164263
164671
|
main: {
|
|
164264
164672
|
type: "query",
|
|
164265
|
-
description: "
|
|
164673
|
+
description: "Describes the server's account creation requirements and capabilities. Implemented by PDS.",
|
|
164266
164674
|
output: {
|
|
164267
164675
|
encoding: "application/json",
|
|
164268
164676
|
schema: {
|
|
@@ -164270,19 +164678,23 @@ var schemaDict2 = {
|
|
|
164270
164678
|
required: ["availableUserDomains"],
|
|
164271
164679
|
properties: {
|
|
164272
164680
|
inviteCodeRequired: {
|
|
164273
|
-
type: "boolean"
|
|
164681
|
+
type: "boolean",
|
|
164682
|
+
description: "If true, an invite code must be supplied to create an account on this instance."
|
|
164274
164683
|
},
|
|
164275
164684
|
phoneVerificationRequired: {
|
|
164276
|
-
type: "boolean"
|
|
164685
|
+
type: "boolean",
|
|
164686
|
+
description: "If true, a phone verification token must be supplied to create an account on this instance."
|
|
164277
164687
|
},
|
|
164278
164688
|
availableUserDomains: {
|
|
164279
164689
|
type: "array",
|
|
164690
|
+
description: "List of domain suffixes that can be used in account handles.",
|
|
164280
164691
|
items: {
|
|
164281
164692
|
type: "string"
|
|
164282
164693
|
}
|
|
164283
164694
|
},
|
|
164284
164695
|
links: {
|
|
164285
164696
|
type: "ref",
|
|
164697
|
+
description: "URLs of service policy documents.",
|
|
164286
164698
|
ref: "lex:com.atproto.server.describeServer#links"
|
|
164287
164699
|
}
|
|
164288
164700
|
}
|
|
@@ -164308,7 +164720,7 @@ var schemaDict2 = {
|
|
|
164308
164720
|
defs: {
|
|
164309
164721
|
main: {
|
|
164310
164722
|
type: "query",
|
|
164311
|
-
description: "Get all invite codes for
|
|
164723
|
+
description: "Get all invite codes for the current account. Requires auth.",
|
|
164312
164724
|
parameters: {
|
|
164313
164725
|
type: "params",
|
|
164314
164726
|
properties: {
|
|
@@ -164318,7 +164730,8 @@ var schemaDict2 = {
|
|
|
164318
164730
|
},
|
|
164319
164731
|
createAvailable: {
|
|
164320
164732
|
type: "boolean",
|
|
164321
|
-
default: true
|
|
164733
|
+
default: true,
|
|
164734
|
+
description: "Controls whether any new 'earned' but not 'created' invites should be created."
|
|
164322
164735
|
}
|
|
164323
164736
|
}
|
|
164324
164737
|
},
|
|
@@ -164352,7 +164765,7 @@ var schemaDict2 = {
|
|
|
164352
164765
|
defs: {
|
|
164353
164766
|
main: {
|
|
164354
164767
|
type: "query",
|
|
164355
|
-
description: "Get information about the current session.",
|
|
164768
|
+
description: "Get information about the current auth session. Requires auth.",
|
|
164356
164769
|
output: {
|
|
164357
164770
|
encoding: "application/json",
|
|
164358
164771
|
schema: {
|
|
@@ -164432,7 +164845,7 @@ var schemaDict2 = {
|
|
|
164432
164845
|
defs: {
|
|
164433
164846
|
main: {
|
|
164434
164847
|
type: "procedure",
|
|
164435
|
-
description: "Refresh an authentication session.",
|
|
164848
|
+
description: "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
|
|
164436
164849
|
output: {
|
|
164437
164850
|
encoding: "application/json",
|
|
164438
164851
|
schema: {
|
|
@@ -164537,7 +164950,7 @@ var schemaDict2 = {
|
|
|
164537
164950
|
defs: {
|
|
164538
164951
|
main: {
|
|
164539
164952
|
type: "procedure",
|
|
164540
|
-
description: "Reserve a repo signing key for account creation.",
|
|
164953
|
+
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
164954
|
input: {
|
|
164542
164955
|
encoding: "application/json",
|
|
164543
164956
|
schema: {
|
|
@@ -164545,7 +164958,8 @@ var schemaDict2 = {
|
|
|
164545
164958
|
properties: {
|
|
164546
164959
|
did: {
|
|
164547
164960
|
type: "string",
|
|
164548
|
-
|
|
164961
|
+
format: "did",
|
|
164962
|
+
description: "The DID to reserve a key for."
|
|
164549
164963
|
}
|
|
164550
164964
|
}
|
|
164551
164965
|
}
|
|
@@ -164558,7 +164972,7 @@ var schemaDict2 = {
|
|
|
164558
164972
|
properties: {
|
|
164559
164973
|
signingKey: {
|
|
164560
164974
|
type: "string",
|
|
164561
|
-
description: "
|
|
164975
|
+
description: "The public key for the reserved signing key, in did:key serialization."
|
|
164562
164976
|
}
|
|
164563
164977
|
}
|
|
164564
164978
|
}
|
|
@@ -164664,7 +165078,7 @@ var schemaDict2 = {
|
|
|
164664
165078
|
defs: {
|
|
164665
165079
|
main: {
|
|
164666
165080
|
type: "query",
|
|
164667
|
-
description: "Get a blob associated with a given
|
|
165081
|
+
description: "Get a blob associated with a given account. Returns the full blob as originally uploaded. Does not require auth; implemented by PDS.",
|
|
164668
165082
|
parameters: {
|
|
164669
165083
|
type: "params",
|
|
164670
165084
|
required: ["did", "cid"],
|
|
@@ -164672,7 +165086,7 @@ var schemaDict2 = {
|
|
|
164672
165086
|
did: {
|
|
164673
165087
|
type: "string",
|
|
164674
165088
|
format: "did",
|
|
164675
|
-
description: "The DID of the
|
|
165089
|
+
description: "The DID of the account."
|
|
164676
165090
|
},
|
|
164677
165091
|
cid: {
|
|
164678
165092
|
type: "string",
|
|
@@ -164693,7 +165107,7 @@ var schemaDict2 = {
|
|
|
164693
165107
|
defs: {
|
|
164694
165108
|
main: {
|
|
164695
165109
|
type: "query",
|
|
164696
|
-
description: "Get blocks from a given repo.",
|
|
165110
|
+
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
165111
|
parameters: {
|
|
164698
165112
|
type: "params",
|
|
164699
165113
|
required: ["did", "cids"],
|
|
@@ -164787,7 +165201,7 @@ var schemaDict2 = {
|
|
|
164787
165201
|
defs: {
|
|
164788
165202
|
main: {
|
|
164789
165203
|
type: "query",
|
|
164790
|
-
description: "Get the current commit CID & revision of the repo.",
|
|
165204
|
+
description: "Get the current commit CID & revision of the specified repo. Does not require auth.",
|
|
164791
165205
|
parameters: {
|
|
164792
165206
|
type: "params",
|
|
164793
165207
|
required: ["did"],
|
|
@@ -164829,7 +165243,7 @@ var schemaDict2 = {
|
|
|
164829
165243
|
defs: {
|
|
164830
165244
|
main: {
|
|
164831
165245
|
type: "query",
|
|
164832
|
-
description: "Get blocks needed
|
|
165246
|
+
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
165247
|
parameters: {
|
|
164834
165248
|
type: "params",
|
|
164835
165249
|
required: ["did", "collection", "rkey"],
|
|
@@ -164844,7 +165258,8 @@ var schemaDict2 = {
|
|
|
164844
165258
|
format: "nsid"
|
|
164845
165259
|
},
|
|
164846
165260
|
rkey: {
|
|
164847
|
-
type: "string"
|
|
165261
|
+
type: "string",
|
|
165262
|
+
description: "Record Key"
|
|
164848
165263
|
},
|
|
164849
165264
|
commit: {
|
|
164850
165265
|
type: "string",
|
|
@@ -164865,7 +165280,7 @@ var schemaDict2 = {
|
|
|
164865
165280
|
defs: {
|
|
164866
165281
|
main: {
|
|
164867
165282
|
type: "query",
|
|
164868
|
-
description: "
|
|
165283
|
+
description: "Download a repository export as CAR file. Optionally only a 'diff' since a previous revision. Does not require auth; implemented by PDS.",
|
|
164869
165284
|
parameters: {
|
|
164870
165285
|
type: "params",
|
|
164871
165286
|
required: ["did"],
|
|
@@ -164877,7 +165292,7 @@ var schemaDict2 = {
|
|
|
164877
165292
|
},
|
|
164878
165293
|
since: {
|
|
164879
165294
|
type: "string",
|
|
164880
|
-
description: "The revision of the repo to
|
|
165295
|
+
description: "The revision ('rev') of the repo to create a diff from."
|
|
164881
165296
|
}
|
|
164882
165297
|
}
|
|
164883
165298
|
},
|
|
@@ -164893,7 +165308,7 @@ var schemaDict2 = {
|
|
|
164893
165308
|
defs: {
|
|
164894
165309
|
main: {
|
|
164895
165310
|
type: "query",
|
|
164896
|
-
description: "List blob
|
|
165311
|
+
description: "List blob CIDso for an account, since some repo revision. Does not require auth; implemented by PDS.",
|
|
164897
165312
|
parameters: {
|
|
164898
165313
|
type: "params",
|
|
164899
165314
|
required: ["did"],
|
|
@@ -164946,7 +165361,7 @@ var schemaDict2 = {
|
|
|
164946
165361
|
defs: {
|
|
164947
165362
|
main: {
|
|
164948
165363
|
type: "query",
|
|
164949
|
-
description: "
|
|
165364
|
+
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
165365
|
parameters: {
|
|
164951
165366
|
type: "params",
|
|
164952
165367
|
properties: {
|
|
@@ -164991,7 +165406,8 @@ var schemaDict2 = {
|
|
|
164991
165406
|
},
|
|
164992
165407
|
head: {
|
|
164993
165408
|
type: "string",
|
|
164994
|
-
format: "cid"
|
|
165409
|
+
format: "cid",
|
|
165410
|
+
description: "Current repo commit CID"
|
|
164995
165411
|
},
|
|
164996
165412
|
rev: {
|
|
164997
165413
|
type: "string"
|
|
@@ -165006,7 +165422,7 @@ var schemaDict2 = {
|
|
|
165006
165422
|
defs: {
|
|
165007
165423
|
main: {
|
|
165008
165424
|
type: "procedure",
|
|
165009
|
-
description: "Notify a crawling service of a recent update
|
|
165425
|
+
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
165426
|
input: {
|
|
165011
165427
|
encoding: "application/json",
|
|
165012
165428
|
schema: {
|
|
@@ -165015,7 +165431,7 @@ var schemaDict2 = {
|
|
|
165015
165431
|
properties: {
|
|
165016
165432
|
hostname: {
|
|
165017
165433
|
type: "string",
|
|
165018
|
-
description: "Hostname of the service that is notifying of update."
|
|
165434
|
+
description: "Hostname of the current service (usually a PDS) that is notifying of update."
|
|
165019
165435
|
}
|
|
165020
165436
|
}
|
|
165021
165437
|
}
|
|
@@ -165029,7 +165445,7 @@ var schemaDict2 = {
|
|
|
165029
165445
|
defs: {
|
|
165030
165446
|
main: {
|
|
165031
165447
|
type: "procedure",
|
|
165032
|
-
description: "Request a service to persistently crawl hosted repos.",
|
|
165448
|
+
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
165449
|
input: {
|
|
165034
165450
|
encoding: "application/json",
|
|
165035
165451
|
schema: {
|
|
@@ -165038,7 +165454,7 @@ var schemaDict2 = {
|
|
|
165038
165454
|
properties: {
|
|
165039
165455
|
hostname: {
|
|
165040
165456
|
type: "string",
|
|
165041
|
-
description: "Hostname of the service that is requesting to be crawled."
|
|
165457
|
+
description: "Hostname of the current service (eg, PDS) that is requesting to be crawled."
|
|
165042
165458
|
}
|
|
165043
165459
|
}
|
|
165044
165460
|
}
|
|
@@ -165052,13 +165468,13 @@ var schemaDict2 = {
|
|
|
165052
165468
|
defs: {
|
|
165053
165469
|
main: {
|
|
165054
165470
|
type: "subscription",
|
|
165055
|
-
description: "
|
|
165471
|
+
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
165472
|
parameters: {
|
|
165057
165473
|
type: "params",
|
|
165058
165474
|
properties: {
|
|
165059
165475
|
cursor: {
|
|
165060
165476
|
type: "integer",
|
|
165061
|
-
description: "The last known event to backfill from."
|
|
165477
|
+
description: "The last known event seq number to backfill from."
|
|
165062
165478
|
}
|
|
165063
165479
|
}
|
|
165064
165480
|
},
|
|
@@ -165079,12 +165495,14 @@ var schemaDict2 = {
|
|
|
165079
165495
|
name: "FutureCursor"
|
|
165080
165496
|
},
|
|
165081
165497
|
{
|
|
165082
|
-
name: "ConsumerTooSlow"
|
|
165498
|
+
name: "ConsumerTooSlow",
|
|
165499
|
+
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
165500
|
}
|
|
165084
165501
|
]
|
|
165085
165502
|
},
|
|
165086
165503
|
commit: {
|
|
165087
165504
|
type: "object",
|
|
165505
|
+
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
165506
|
required: [
|
|
165089
165507
|
"seq",
|
|
165090
165508
|
"rebase",
|
|
@@ -165101,59 +165519,69 @@ var schemaDict2 = {
|
|
|
165101
165519
|
nullable: ["prev", "since"],
|
|
165102
165520
|
properties: {
|
|
165103
165521
|
seq: {
|
|
165104
|
-
type: "integer"
|
|
165522
|
+
type: "integer",
|
|
165523
|
+
description: "The stream sequence number of this message."
|
|
165105
165524
|
},
|
|
165106
165525
|
rebase: {
|
|
165107
|
-
type: "boolean"
|
|
165526
|
+
type: "boolean",
|
|
165527
|
+
description: "DEPRECATED -- unused"
|
|
165108
165528
|
},
|
|
165109
165529
|
tooBig: {
|
|
165110
|
-
type: "boolean"
|
|
165530
|
+
type: "boolean",
|
|
165531
|
+
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
165532
|
},
|
|
165112
165533
|
repo: {
|
|
165113
165534
|
type: "string",
|
|
165114
|
-
format: "did"
|
|
165535
|
+
format: "did",
|
|
165536
|
+
description: "The repo this event comes from."
|
|
165115
165537
|
},
|
|
165116
165538
|
commit: {
|
|
165117
|
-
type: "cid-link"
|
|
165539
|
+
type: "cid-link",
|
|
165540
|
+
description: "Repo commit object CID."
|
|
165118
165541
|
},
|
|
165119
165542
|
prev: {
|
|
165120
|
-
type: "cid-link"
|
|
165543
|
+
type: "cid-link",
|
|
165544
|
+
description: "DEPRECATED -- unused. WARNING -- nullable and optional; stick with optional to ensure golang interoperability."
|
|
165121
165545
|
},
|
|
165122
165546
|
rev: {
|
|
165123
165547
|
type: "string",
|
|
165124
|
-
description: "The rev of the emitted commit."
|
|
165548
|
+
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
165549
|
},
|
|
165126
165550
|
since: {
|
|
165127
165551
|
type: "string",
|
|
165128
|
-
description: "The rev of the last emitted commit from this repo."
|
|
165552
|
+
description: "The rev of the last emitted commit from this repo (if any)."
|
|
165129
165553
|
},
|
|
165130
165554
|
blocks: {
|
|
165131
165555
|
type: "bytes",
|
|
165132
|
-
description: "CAR file containing relevant blocks.",
|
|
165556
|
+
description: "CAR file containing relevant blocks, as a diff since the previous repo state.",
|
|
165133
165557
|
maxLength: 1e6
|
|
165134
165558
|
},
|
|
165135
165559
|
ops: {
|
|
165136
165560
|
type: "array",
|
|
165137
165561
|
items: {
|
|
165138
165562
|
type: "ref",
|
|
165139
|
-
ref: "lex:com.atproto.sync.subscribeRepos#repoOp"
|
|
165563
|
+
ref: "lex:com.atproto.sync.subscribeRepos#repoOp",
|
|
165564
|
+
description: "List of repo mutation operations in this commit (eg, records created, updated, or deleted)."
|
|
165140
165565
|
},
|
|
165141
165566
|
maxLength: 200
|
|
165142
165567
|
},
|
|
165143
165568
|
blobs: {
|
|
165144
165569
|
type: "array",
|
|
165145
165570
|
items: {
|
|
165146
|
-
type: "cid-link"
|
|
165571
|
+
type: "cid-link",
|
|
165572
|
+
description: "List of new blobs (by CID) referenced by records in this commit."
|
|
165147
165573
|
}
|
|
165148
165574
|
},
|
|
165149
165575
|
time: {
|
|
165150
165576
|
type: "string",
|
|
165151
|
-
format: "datetime"
|
|
165577
|
+
format: "datetime",
|
|
165578
|
+
description: "Timestamp of when this message was originally broadcast."
|
|
165152
165579
|
}
|
|
165153
165580
|
}
|
|
165154
165581
|
},
|
|
165155
165582
|
handle: {
|
|
165156
165583
|
type: "object",
|
|
165584
|
+
description: "Represents an update of the account's handle, or transition to/from invalid state.",
|
|
165157
165585
|
required: ["seq", "did", "handle", "time"],
|
|
165158
165586
|
properties: {
|
|
165159
165587
|
seq: {
|
|
@@ -165175,6 +165603,7 @@ var schemaDict2 = {
|
|
|
165175
165603
|
},
|
|
165176
165604
|
migrate: {
|
|
165177
165605
|
type: "object",
|
|
165606
|
+
description: "Represents an account moving from one PDS instance to another. NOTE: not implemented; full account migration may introduce a new message instead.",
|
|
165178
165607
|
required: ["seq", "did", "migrateTo", "time"],
|
|
165179
165608
|
nullable: ["migrateTo"],
|
|
165180
165609
|
properties: {
|
|
@@ -165196,6 +165625,7 @@ var schemaDict2 = {
|
|
|
165196
165625
|
},
|
|
165197
165626
|
tombstone: {
|
|
165198
165627
|
type: "object",
|
|
165628
|
+
description: "Indicates that an account has been deleted.",
|
|
165199
165629
|
required: ["seq", "did", "time"],
|
|
165200
165630
|
properties: {
|
|
165201
165631
|
seq: {
|
|
@@ -165226,7 +165656,7 @@ var schemaDict2 = {
|
|
|
165226
165656
|
},
|
|
165227
165657
|
repoOp: {
|
|
165228
165658
|
type: "object",
|
|
165229
|
-
description: "A repo operation, ie a
|
|
165659
|
+
description: "A repo operation, ie a mutation of a single record.",
|
|
165230
165660
|
required: ["action", "path", "cid"],
|
|
165231
165661
|
nullable: ["cid"],
|
|
165232
165662
|
properties: {
|
|
@@ -165238,7 +165668,8 @@ var schemaDict2 = {
|
|
|
165238
165668
|
type: "string"
|
|
165239
165669
|
},
|
|
165240
165670
|
cid: {
|
|
165241
|
-
type: "cid-link"
|
|
165671
|
+
type: "cid-link",
|
|
165672
|
+
description: "For creates and updates, the new record CID. For deletions, null."
|
|
165242
165673
|
}
|
|
165243
165674
|
}
|
|
165244
165675
|
}
|
|
@@ -165278,7 +165709,7 @@ var schemaDict2 = {
|
|
|
165278
165709
|
defs: {
|
|
165279
165710
|
main: {
|
|
165280
165711
|
type: "query",
|
|
165281
|
-
description: "Fetch all labels from a labeler created after a certain date.",
|
|
165712
|
+
description: "Fetch all labels from a labeler created after a certain date. DEPRECATED: use queryLabels or subscribeLabels instead",
|
|
165282
165713
|
parameters: {
|
|
165283
165714
|
type: "params",
|
|
165284
165715
|
properties: {
|
|
@@ -165391,7 +165822,7 @@ var schemaDict2 = {
|
|
|
165391
165822
|
defs: {
|
|
165392
165823
|
main: {
|
|
165393
165824
|
type: "procedure",
|
|
165394
|
-
description: "Transfer an account.",
|
|
165825
|
+
description: "Transfer an account. NOTE: temporary method, necessarily how account migration will be implemented.",
|
|
165395
165826
|
input: {
|
|
165396
165827
|
encoding: "application/json",
|
|
165397
165828
|
schema: {
|
|
@@ -165464,7 +165895,6 @@ var schemaDict2 = {
|
|
|
165464
165895
|
AppBskyActorDefs: {
|
|
165465
165896
|
lexicon: 1,
|
|
165466
165897
|
id: "app.bsky.actor.defs",
|
|
165467
|
-
description: "A reference to an actor in the network.",
|
|
165468
165898
|
defs: {
|
|
165469
165899
|
profileViewBasic: {
|
|
165470
165900
|
type: "object",
|
|
@@ -165597,6 +166027,7 @@ var schemaDict2 = {
|
|
|
165597
166027
|
},
|
|
165598
166028
|
viewerState: {
|
|
165599
166029
|
type: "object",
|
|
166030
|
+
description: "Metadata about the requesting account's relationship with the subject account. Only has meaningful content for authed requests.",
|
|
165600
166031
|
properties: {
|
|
165601
166032
|
muted: {
|
|
165602
166033
|
type: "boolean"
|
|
@@ -165681,6 +166112,9 @@ var schemaDict2 = {
|
|
|
165681
166112
|
type: "string",
|
|
165682
166113
|
format: "at-uri"
|
|
165683
166114
|
}
|
|
166115
|
+
},
|
|
166116
|
+
timelineIndex: {
|
|
166117
|
+
type: "integer"
|
|
165684
166118
|
}
|
|
165685
166119
|
}
|
|
165686
166120
|
},
|
|
@@ -165762,7 +166196,7 @@ var schemaDict2 = {
|
|
|
165762
166196
|
defs: {
|
|
165763
166197
|
main: {
|
|
165764
166198
|
type: "query",
|
|
165765
|
-
description: "Get private preferences attached to the account.",
|
|
166199
|
+
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
166200
|
parameters: {
|
|
165767
166201
|
type: "params",
|
|
165768
166202
|
properties: {}
|
|
@@ -165789,14 +166223,15 @@ var schemaDict2 = {
|
|
|
165789
166223
|
defs: {
|
|
165790
166224
|
main: {
|
|
165791
166225
|
type: "query",
|
|
165792
|
-
description: "Get detailed profile view of an actor.",
|
|
166226
|
+
description: "Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth.",
|
|
165793
166227
|
parameters: {
|
|
165794
166228
|
type: "params",
|
|
165795
166229
|
required: ["actor"],
|
|
165796
166230
|
properties: {
|
|
165797
166231
|
actor: {
|
|
165798
166232
|
type: "string",
|
|
165799
|
-
format: "at-identifier"
|
|
166233
|
+
format: "at-identifier",
|
|
166234
|
+
description: "Handle or DID of account to fetch profile of."
|
|
165800
166235
|
}
|
|
165801
166236
|
}
|
|
165802
166237
|
},
|
|
@@ -165856,7 +166291,7 @@ var schemaDict2 = {
|
|
|
165856
166291
|
defs: {
|
|
165857
166292
|
main: {
|
|
165858
166293
|
type: "query",
|
|
165859
|
-
description: "Get a list of suggested actors
|
|
166294
|
+
description: "Get a list of suggested actors. Expected use is discovery of accounts to follow during new account onboarding.",
|
|
165860
166295
|
parameters: {
|
|
165861
166296
|
type: "params",
|
|
165862
166297
|
properties: {
|
|
@@ -165899,7 +166334,7 @@ var schemaDict2 = {
|
|
|
165899
166334
|
defs: {
|
|
165900
166335
|
main: {
|
|
165901
166336
|
type: "record",
|
|
165902
|
-
description: "A declaration of a profile.",
|
|
166337
|
+
description: "A declaration of a Bluesky account profile.",
|
|
165903
166338
|
key: "literal:self",
|
|
165904
166339
|
record: {
|
|
165905
166340
|
type: "object",
|
|
@@ -165911,21 +166346,25 @@ var schemaDict2 = {
|
|
|
165911
166346
|
},
|
|
165912
166347
|
description: {
|
|
165913
166348
|
type: "string",
|
|
166349
|
+
description: "Free-form profile description text.",
|
|
165914
166350
|
maxGraphemes: 256,
|
|
165915
166351
|
maxLength: 2560
|
|
165916
166352
|
},
|
|
165917
166353
|
avatar: {
|
|
165918
166354
|
type: "blob",
|
|
166355
|
+
description: "Small image to be displayed next to posts from account. AKA, 'profile picture'",
|
|
165919
166356
|
accept: ["image/png", "image/jpeg"],
|
|
165920
166357
|
maxSize: 1e6
|
|
165921
166358
|
},
|
|
165922
166359
|
banner: {
|
|
165923
166360
|
type: "blob",
|
|
166361
|
+
description: "Larger horizontal image to display behind profile view.",
|
|
165924
166362
|
accept: ["image/png", "image/jpeg"],
|
|
165925
166363
|
maxSize: 1e6
|
|
165926
166364
|
},
|
|
165927
166365
|
labels: {
|
|
165928
166366
|
type: "union",
|
|
166367
|
+
description: "Self-label values, specific to the Bluesky application, on the overall account.",
|
|
165929
166368
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
165930
166369
|
}
|
|
165931
166370
|
}
|
|
@@ -165962,7 +166401,7 @@ var schemaDict2 = {
|
|
|
165962
166401
|
defs: {
|
|
165963
166402
|
main: {
|
|
165964
166403
|
type: "query",
|
|
165965
|
-
description: "Find actors (profiles) matching search criteria.",
|
|
166404
|
+
description: "Find actors (profiles) matching search criteria. Does not require auth.",
|
|
165966
166405
|
parameters: {
|
|
165967
166406
|
type: "params",
|
|
165968
166407
|
properties: {
|
|
@@ -166013,7 +166452,7 @@ var schemaDict2 = {
|
|
|
166013
166452
|
defs: {
|
|
166014
166453
|
main: {
|
|
166015
166454
|
type: "query",
|
|
166016
|
-
description: "Find actor suggestions for a prefix search term.",
|
|
166455
|
+
description: "Find actor suggestions for a prefix search term. Expected use is for auto-completion during text field entry. Does not require auth.",
|
|
166017
166456
|
parameters: {
|
|
166018
166457
|
type: "params",
|
|
166019
166458
|
properties: {
|
|
@@ -166055,10 +166494,10 @@ var schemaDict2 = {
|
|
|
166055
166494
|
AppBskyEmbedExternal: {
|
|
166056
166495
|
lexicon: 1,
|
|
166057
166496
|
id: "app.bsky.embed.external",
|
|
166058
|
-
description: "A representation of some externally linked content, embedded in another form of content.",
|
|
166059
166497
|
defs: {
|
|
166060
166498
|
main: {
|
|
166061
166499
|
type: "object",
|
|
166500
|
+
description: "A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).",
|
|
166062
166501
|
required: ["external"],
|
|
166063
166502
|
properties: {
|
|
166064
166503
|
external: {
|
|
@@ -166122,7 +166561,7 @@ var schemaDict2 = {
|
|
|
166122
166561
|
AppBskyEmbedImages: {
|
|
166123
166562
|
lexicon: 1,
|
|
166124
166563
|
id: "app.bsky.embed.images",
|
|
166125
|
-
description: "A set of images embedded in
|
|
166564
|
+
description: "A set of images embedded in a Bluesky record (eg, a post).",
|
|
166126
166565
|
defs: {
|
|
166127
166566
|
main: {
|
|
166128
166567
|
type: "object",
|
|
@@ -166148,7 +166587,8 @@ var schemaDict2 = {
|
|
|
166148
166587
|
maxSize: 1e6
|
|
166149
166588
|
},
|
|
166150
166589
|
alt: {
|
|
166151
|
-
type: "string"
|
|
166590
|
+
type: "string",
|
|
166591
|
+
description: "Alt text description of the image, for accessibility."
|
|
166152
166592
|
},
|
|
166153
166593
|
aspectRatio: {
|
|
166154
166594
|
type: "ref",
|
|
@@ -166190,13 +166630,16 @@ var schemaDict2 = {
|
|
|
166190
166630
|
required: ["thumb", "fullsize", "alt"],
|
|
166191
166631
|
properties: {
|
|
166192
166632
|
thumb: {
|
|
166193
|
-
type: "string"
|
|
166633
|
+
type: "string",
|
|
166634
|
+
description: "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View."
|
|
166194
166635
|
},
|
|
166195
166636
|
fullsize: {
|
|
166196
|
-
type: "string"
|
|
166637
|
+
type: "string",
|
|
166638
|
+
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
166639
|
},
|
|
166198
166640
|
alt: {
|
|
166199
|
-
type: "string"
|
|
166641
|
+
type: "string",
|
|
166642
|
+
description: "Alt text description of the image, for accessibility."
|
|
166200
166643
|
},
|
|
166201
166644
|
aspectRatio: {
|
|
166202
166645
|
type: "ref",
|
|
@@ -166209,7 +166652,7 @@ var schemaDict2 = {
|
|
|
166209
166652
|
AppBskyEmbedRecord: {
|
|
166210
166653
|
lexicon: 1,
|
|
166211
166654
|
id: "app.bsky.embed.record",
|
|
166212
|
-
description: "A representation of a record embedded in
|
|
166655
|
+
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
166656
|
defs: {
|
|
166214
166657
|
main: {
|
|
166215
166658
|
type: "object",
|
|
@@ -166254,7 +166697,8 @@ var schemaDict2 = {
|
|
|
166254
166697
|
ref: "lex:app.bsky.actor.defs#profileViewBasic"
|
|
166255
166698
|
},
|
|
166256
166699
|
value: {
|
|
166257
|
-
type: "unknown"
|
|
166700
|
+
type: "unknown",
|
|
166701
|
+
description: "The record data itself."
|
|
166258
166702
|
},
|
|
166259
166703
|
labels: {
|
|
166260
166704
|
type: "array",
|
|
@@ -166318,7 +166762,7 @@ var schemaDict2 = {
|
|
|
166318
166762
|
AppBskyEmbedRecordWithMedia: {
|
|
166319
166763
|
lexicon: 1,
|
|
166320
166764
|
id: "app.bsky.embed.recordWithMedia",
|
|
166321
|
-
description: "A representation of a record embedded in
|
|
166765
|
+
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
166766
|
defs: {
|
|
166323
166767
|
main: {
|
|
166324
166768
|
type: "object",
|
|
@@ -166417,6 +166861,7 @@ var schemaDict2 = {
|
|
|
166417
166861
|
},
|
|
166418
166862
|
viewerState: {
|
|
166419
166863
|
type: "object",
|
|
166864
|
+
description: "Metadata about the requesting account's relationship with the subject content. Only has meaningful content for authed requests.",
|
|
166420
166865
|
properties: {
|
|
166421
166866
|
repost: {
|
|
166422
166867
|
type: "string",
|
|
@@ -166676,7 +167121,7 @@ var schemaDict2 = {
|
|
|
166676
167121
|
defs: {
|
|
166677
167122
|
main: {
|
|
166678
167123
|
type: "query",
|
|
166679
|
-
description: "Get information about a feed generator, including policies and offered feed URIs.",
|
|
167124
|
+
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
167125
|
output: {
|
|
166681
167126
|
encoding: "application/json",
|
|
166682
167127
|
schema: {
|
|
@@ -166731,7 +167176,7 @@ var schemaDict2 = {
|
|
|
166731
167176
|
defs: {
|
|
166732
167177
|
main: {
|
|
166733
167178
|
type: "record",
|
|
166734
|
-
description: "
|
|
167179
|
+
description: "Record declaring of the existence of a feed generator, and containing metadata about it. The record can exist in any repository.",
|
|
166735
167180
|
key: "any",
|
|
166736
167181
|
record: {
|
|
166737
167182
|
type: "object",
|
|
@@ -166765,6 +167210,7 @@ var schemaDict2 = {
|
|
|
166765
167210
|
},
|
|
166766
167211
|
labels: {
|
|
166767
167212
|
type: "union",
|
|
167213
|
+
description: "Self-label values",
|
|
166768
167214
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
166769
167215
|
},
|
|
166770
167216
|
createdAt: {
|
|
@@ -166782,7 +167228,7 @@ var schemaDict2 = {
|
|
|
166782
167228
|
defs: {
|
|
166783
167229
|
main: {
|
|
166784
167230
|
type: "query",
|
|
166785
|
-
description: "Get a list of feeds created by the actor.",
|
|
167231
|
+
description: "Get a list of feeds (feed generator records) created by the actor (in the actor's repo).",
|
|
166786
167232
|
parameters: {
|
|
166787
167233
|
type: "params",
|
|
166788
167234
|
required: ["actor"],
|
|
@@ -166830,7 +167276,7 @@ var schemaDict2 = {
|
|
|
166830
167276
|
defs: {
|
|
166831
167277
|
main: {
|
|
166832
167278
|
type: "query",
|
|
166833
|
-
description: "Get a list of posts liked by an actor.",
|
|
167279
|
+
description: "Get a list of posts liked by an actor. Does not require auth.",
|
|
166834
167280
|
parameters: {
|
|
166835
167281
|
type: "params",
|
|
166836
167282
|
required: ["actor"],
|
|
@@ -166886,7 +167332,7 @@ var schemaDict2 = {
|
|
|
166886
167332
|
defs: {
|
|
166887
167333
|
main: {
|
|
166888
167334
|
type: "query",
|
|
166889
|
-
description: "Get a view of an actor's feed.",
|
|
167335
|
+
description: "Get a view of an actor's 'author feed' (post and reposts by the author). Does not require auth.",
|
|
166890
167336
|
parameters: {
|
|
166891
167337
|
type: "params",
|
|
166892
167338
|
required: ["actor"],
|
|
@@ -166906,6 +167352,7 @@ var schemaDict2 = {
|
|
|
166906
167352
|
},
|
|
166907
167353
|
filter: {
|
|
166908
167354
|
type: "string",
|
|
167355
|
+
description: "Combinations of post/repost types to include in response.",
|
|
166909
167356
|
knownValues: [
|
|
166910
167357
|
"posts_with_replies",
|
|
166911
167358
|
"posts_no_replies",
|
|
@@ -166952,7 +167399,7 @@ var schemaDict2 = {
|
|
|
166952
167399
|
defs: {
|
|
166953
167400
|
main: {
|
|
166954
167401
|
type: "query",
|
|
166955
|
-
description: "Get a hydrated feed from an actor's selected feed generator.",
|
|
167402
|
+
description: "Get a hydrated feed from an actor's selected feed generator. Implemented by App View.",
|
|
166956
167403
|
parameters: {
|
|
166957
167404
|
type: "params",
|
|
166958
167405
|
required: ["feed"],
|
|
@@ -167005,14 +167452,15 @@ var schemaDict2 = {
|
|
|
167005
167452
|
defs: {
|
|
167006
167453
|
main: {
|
|
167007
167454
|
type: "query",
|
|
167008
|
-
description: "Get information about a feed generator.",
|
|
167455
|
+
description: "Get information about a feed generator. Implemented by AppView.",
|
|
167009
167456
|
parameters: {
|
|
167010
167457
|
type: "params",
|
|
167011
167458
|
required: ["feed"],
|
|
167012
167459
|
properties: {
|
|
167013
167460
|
feed: {
|
|
167014
167461
|
type: "string",
|
|
167015
|
-
format: "at-uri"
|
|
167462
|
+
format: "at-uri",
|
|
167463
|
+
description: "AT-URI of the feed generator record."
|
|
167016
167464
|
}
|
|
167017
167465
|
}
|
|
167018
167466
|
},
|
|
@@ -167027,10 +167475,12 @@ var schemaDict2 = {
|
|
|
167027
167475
|
ref: "lex:app.bsky.feed.defs#generatorView"
|
|
167028
167476
|
},
|
|
167029
167477
|
isOnline: {
|
|
167030
|
-
type: "boolean"
|
|
167478
|
+
type: "boolean",
|
|
167479
|
+
description: "Indicates whether the feed generator service has been online recently, or else seems to be inactive."
|
|
167031
167480
|
},
|
|
167032
167481
|
isValid: {
|
|
167033
|
-
type: "boolean"
|
|
167482
|
+
type: "boolean",
|
|
167483
|
+
description: "Indicates whether the feed generator service is compatible with the record declaration."
|
|
167034
167484
|
}
|
|
167035
167485
|
}
|
|
167036
167486
|
}
|
|
@@ -167083,14 +167533,15 @@ var schemaDict2 = {
|
|
|
167083
167533
|
defs: {
|
|
167084
167534
|
main: {
|
|
167085
167535
|
type: "query",
|
|
167086
|
-
description: "Get a skeleton of a feed provided by a feed generator.",
|
|
167536
|
+
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
167537
|
parameters: {
|
|
167088
167538
|
type: "params",
|
|
167089
167539
|
required: ["feed"],
|
|
167090
167540
|
properties: {
|
|
167091
167541
|
feed: {
|
|
167092
167542
|
type: "string",
|
|
167093
|
-
format: "at-uri"
|
|
167543
|
+
format: "at-uri",
|
|
167544
|
+
description: "Reference to feed generator record describing the specific feed being requested."
|
|
167094
167545
|
},
|
|
167095
167546
|
limit: {
|
|
167096
167547
|
type: "integer",
|
|
@@ -167136,18 +167587,20 @@ var schemaDict2 = {
|
|
|
167136
167587
|
defs: {
|
|
167137
167588
|
main: {
|
|
167138
167589
|
type: "query",
|
|
167139
|
-
description: "Get
|
|
167590
|
+
description: "Get like records which reference a subject (by AT-URI and CID).",
|
|
167140
167591
|
parameters: {
|
|
167141
167592
|
type: "params",
|
|
167142
167593
|
required: ["uri"],
|
|
167143
167594
|
properties: {
|
|
167144
167595
|
uri: {
|
|
167145
167596
|
type: "string",
|
|
167146
|
-
format: "at-uri"
|
|
167597
|
+
format: "at-uri",
|
|
167598
|
+
description: "AT-URI of the subject (eg, a post record)."
|
|
167147
167599
|
},
|
|
167148
167600
|
cid: {
|
|
167149
167601
|
type: "string",
|
|
167150
|
-
format: "cid"
|
|
167602
|
+
format: "cid",
|
|
167603
|
+
description: "CID of the subject record (aka, specific version of record), to filter likes."
|
|
167151
167604
|
},
|
|
167152
167605
|
limit: {
|
|
167153
167606
|
type: "integer",
|
|
@@ -167214,14 +167667,15 @@ var schemaDict2 = {
|
|
|
167214
167667
|
defs: {
|
|
167215
167668
|
main: {
|
|
167216
167669
|
type: "query",
|
|
167217
|
-
description: "Get a
|
|
167670
|
+
description: "Get a feed of recent posts from a list (posts and reposts from any actors on the list). Does not require auth.",
|
|
167218
167671
|
parameters: {
|
|
167219
167672
|
type: "params",
|
|
167220
167673
|
required: ["list"],
|
|
167221
167674
|
properties: {
|
|
167222
167675
|
list: {
|
|
167223
167676
|
type: "string",
|
|
167224
|
-
format: "at-uri"
|
|
167677
|
+
format: "at-uri",
|
|
167678
|
+
description: "Reference (AT-URI) to the list record."
|
|
167225
167679
|
},
|
|
167226
167680
|
limit: {
|
|
167227
167681
|
type: "integer",
|
|
@@ -167267,23 +167721,26 @@ var schemaDict2 = {
|
|
|
167267
167721
|
defs: {
|
|
167268
167722
|
main: {
|
|
167269
167723
|
type: "query",
|
|
167270
|
-
description: "Get posts in a thread.",
|
|
167724
|
+
description: "Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.",
|
|
167271
167725
|
parameters: {
|
|
167272
167726
|
type: "params",
|
|
167273
167727
|
required: ["uri"],
|
|
167274
167728
|
properties: {
|
|
167275
167729
|
uri: {
|
|
167276
167730
|
type: "string",
|
|
167277
|
-
format: "at-uri"
|
|
167731
|
+
format: "at-uri",
|
|
167732
|
+
description: "Reference (AT-URI) to post record."
|
|
167278
167733
|
},
|
|
167279
167734
|
depth: {
|
|
167280
167735
|
type: "integer",
|
|
167736
|
+
description: "How many levels of reply depth should be included in response.",
|
|
167281
167737
|
default: 6,
|
|
167282
167738
|
minimum: 0,
|
|
167283
167739
|
maximum: 1e3
|
|
167284
167740
|
},
|
|
167285
167741
|
parentHeight: {
|
|
167286
167742
|
type: "integer",
|
|
167743
|
+
description: "How many levels of parent (and grandparent, etc) post to include.",
|
|
167287
167744
|
default: 80,
|
|
167288
167745
|
minimum: 0,
|
|
167289
167746
|
maximum: 1e3
|
|
@@ -167321,13 +167778,14 @@ var schemaDict2 = {
|
|
|
167321
167778
|
defs: {
|
|
167322
167779
|
main: {
|
|
167323
167780
|
type: "query",
|
|
167324
|
-
description: "
|
|
167781
|
+
description: "Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.",
|
|
167325
167782
|
parameters: {
|
|
167326
167783
|
type: "params",
|
|
167327
167784
|
required: ["uris"],
|
|
167328
167785
|
properties: {
|
|
167329
167786
|
uris: {
|
|
167330
167787
|
type: "array",
|
|
167788
|
+
description: "List of post AT-URIs to return hydrated views for.",
|
|
167331
167789
|
items: {
|
|
167332
167790
|
type: "string",
|
|
167333
167791
|
format: "at-uri"
|
|
@@ -167361,18 +167819,20 @@ var schemaDict2 = {
|
|
|
167361
167819
|
defs: {
|
|
167362
167820
|
main: {
|
|
167363
167821
|
type: "query",
|
|
167364
|
-
description: "Get a list of reposts.",
|
|
167822
|
+
description: "Get a list of reposts for a given post.",
|
|
167365
167823
|
parameters: {
|
|
167366
167824
|
type: "params",
|
|
167367
167825
|
required: ["uri"],
|
|
167368
167826
|
properties: {
|
|
167369
167827
|
uri: {
|
|
167370
167828
|
type: "string",
|
|
167371
|
-
format: "at-uri"
|
|
167829
|
+
format: "at-uri",
|
|
167830
|
+
description: "Reference (AT-URI) of post record"
|
|
167372
167831
|
},
|
|
167373
167832
|
cid: {
|
|
167374
167833
|
type: "string",
|
|
167375
|
-
format: "cid"
|
|
167834
|
+
format: "cid",
|
|
167835
|
+
description: "If supplied, filters to reposts of specific version (by CID) of the post record."
|
|
167376
167836
|
},
|
|
167377
167837
|
limit: {
|
|
167378
167838
|
type: "integer",
|
|
@@ -167421,7 +167881,7 @@ var schemaDict2 = {
|
|
|
167421
167881
|
defs: {
|
|
167422
167882
|
main: {
|
|
167423
167883
|
type: "query",
|
|
167424
|
-
description: "Get a list of suggested feeds for the
|
|
167884
|
+
description: "Get a list of suggested feeds (feed generators) for the requesting account.",
|
|
167425
167885
|
parameters: {
|
|
167426
167886
|
type: "params",
|
|
167427
167887
|
properties: {
|
|
@@ -167464,12 +167924,13 @@ var schemaDict2 = {
|
|
|
167464
167924
|
defs: {
|
|
167465
167925
|
main: {
|
|
167466
167926
|
type: "query",
|
|
167467
|
-
description: "Get a view of the
|
|
167927
|
+
description: "Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed.",
|
|
167468
167928
|
parameters: {
|
|
167469
167929
|
type: "params",
|
|
167470
167930
|
properties: {
|
|
167471
167931
|
algorithm: {
|
|
167472
|
-
type: "string"
|
|
167932
|
+
type: "string",
|
|
167933
|
+
description: "Variant 'algorithm' for timeline. Implementation-specific. NOTE: most feed flexibility has been moved to feed generator mechanism."
|
|
167473
167934
|
},
|
|
167474
167935
|
limit: {
|
|
167475
167936
|
type: "integer",
|
|
@@ -167510,7 +167971,7 @@ var schemaDict2 = {
|
|
|
167510
167971
|
defs: {
|
|
167511
167972
|
main: {
|
|
167512
167973
|
type: "record",
|
|
167513
|
-
description: "
|
|
167974
|
+
description: "Record declaring a 'like' of a piece of subject content.",
|
|
167514
167975
|
key: "tid",
|
|
167515
167976
|
record: {
|
|
167516
167977
|
type: "object",
|
|
@@ -167535,7 +167996,7 @@ var schemaDict2 = {
|
|
|
167535
167996
|
defs: {
|
|
167536
167997
|
main: {
|
|
167537
167998
|
type: "record",
|
|
167538
|
-
description: "
|
|
167999
|
+
description: "Record containing a Bluesky post.",
|
|
167539
168000
|
key: "tid",
|
|
167540
168001
|
record: {
|
|
167541
168002
|
type: "object",
|
|
@@ -167544,11 +168005,12 @@ var schemaDict2 = {
|
|
|
167544
168005
|
text: {
|
|
167545
168006
|
type: "string",
|
|
167546
168007
|
maxLength: 3e3,
|
|
167547
|
-
maxGraphemes: 300
|
|
168008
|
+
maxGraphemes: 300,
|
|
168009
|
+
description: "The primary post content. May be an empty string, if there are embeds."
|
|
167548
168010
|
},
|
|
167549
168011
|
entities: {
|
|
167550
168012
|
type: "array",
|
|
167551
|
-
description: "
|
|
168013
|
+
description: "DEPRECATED: replaced by app.bsky.richtext.facet.",
|
|
167552
168014
|
items: {
|
|
167553
168015
|
type: "ref",
|
|
167554
168016
|
ref: "lex:app.bsky.feed.post#entity"
|
|
@@ -167556,6 +168018,7 @@ var schemaDict2 = {
|
|
|
167556
168018
|
},
|
|
167557
168019
|
facets: {
|
|
167558
168020
|
type: "array",
|
|
168021
|
+
description: "Annotations of text (mentions, URLs, hashtags, etc)",
|
|
167559
168022
|
items: {
|
|
167560
168023
|
type: "ref",
|
|
167561
168024
|
ref: "lex:app.bsky.richtext.facet"
|
|
@@ -167576,6 +168039,7 @@ var schemaDict2 = {
|
|
|
167576
168039
|
},
|
|
167577
168040
|
langs: {
|
|
167578
168041
|
type: "array",
|
|
168042
|
+
description: "Indicates human language of post primary text content.",
|
|
167579
168043
|
maxLength: 3,
|
|
167580
168044
|
items: {
|
|
167581
168045
|
type: "string",
|
|
@@ -167584,21 +168048,23 @@ var schemaDict2 = {
|
|
|
167584
168048
|
},
|
|
167585
168049
|
labels: {
|
|
167586
168050
|
type: "union",
|
|
168051
|
+
description: "Self-label values for this post. Effectively content warnings.",
|
|
167587
168052
|
refs: ["lex:com.atproto.label.defs#selfLabels"]
|
|
167588
168053
|
},
|
|
167589
168054
|
tags: {
|
|
167590
168055
|
type: "array",
|
|
168056
|
+
description: "Additional non-inline tags describing this post.",
|
|
167591
168057
|
maxLength: 8,
|
|
167592
168058
|
items: {
|
|
167593
168059
|
type: "string",
|
|
167594
168060
|
maxLength: 640,
|
|
167595
168061
|
maxGraphemes: 64
|
|
167596
|
-
}
|
|
167597
|
-
description: "Additional non-inline tags describing this post."
|
|
168062
|
+
}
|
|
167598
168063
|
},
|
|
167599
168064
|
createdAt: {
|
|
167600
168065
|
type: "string",
|
|
167601
|
-
format: "datetime"
|
|
168066
|
+
format: "datetime",
|
|
168067
|
+
description: "Client-declared timestamp when this post was originally created."
|
|
167602
168068
|
}
|
|
167603
168069
|
}
|
|
167604
168070
|
}
|
|
@@ -167657,7 +168123,7 @@ var schemaDict2 = {
|
|
|
167657
168123
|
id: "app.bsky.feed.repost",
|
|
167658
168124
|
defs: {
|
|
167659
168125
|
main: {
|
|
167660
|
-
description: "
|
|
168126
|
+
description: "Record representing a 'repost' of an existing Bluesky post.",
|
|
167661
168127
|
type: "record",
|
|
167662
168128
|
key: "tid",
|
|
167663
168129
|
record: {
|
|
@@ -167683,7 +168149,7 @@ var schemaDict2 = {
|
|
|
167683
168149
|
defs: {
|
|
167684
168150
|
main: {
|
|
167685
168151
|
type: "query",
|
|
167686
|
-
description: "Find posts matching search criteria.",
|
|
168152
|
+
description: "Find posts matching search criteria, returning views of those posts.",
|
|
167687
168153
|
parameters: {
|
|
167688
168154
|
type: "params",
|
|
167689
168155
|
required: ["q"],
|
|
@@ -167742,14 +168208,15 @@ var schemaDict2 = {
|
|
|
167742
168208
|
main: {
|
|
167743
168209
|
type: "record",
|
|
167744
168210
|
key: "tid",
|
|
167745
|
-
description: "
|
|
168211
|
+
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
168212
|
record: {
|
|
167747
168213
|
type: "object",
|
|
167748
168214
|
required: ["post", "createdAt"],
|
|
167749
168215
|
properties: {
|
|
167750
168216
|
post: {
|
|
167751
168217
|
type: "string",
|
|
167752
|
-
format: "at-uri"
|
|
168218
|
+
format: "at-uri",
|
|
168219
|
+
description: "Reference (AT-URI) to the post record."
|
|
167753
168220
|
},
|
|
167754
168221
|
allow: {
|
|
167755
168222
|
type: "array",
|
|
@@ -167799,7 +168266,7 @@ var schemaDict2 = {
|
|
|
167799
168266
|
defs: {
|
|
167800
168267
|
main: {
|
|
167801
168268
|
type: "record",
|
|
167802
|
-
description: "
|
|
168269
|
+
description: "Record declaring a 'block' relationship against another account. NOTE: blocks are public in Bluesky; see blog posts for details.",
|
|
167803
168270
|
key: "tid",
|
|
167804
168271
|
record: {
|
|
167805
168272
|
type: "object",
|
|
@@ -167807,7 +168274,8 @@ var schemaDict2 = {
|
|
|
167807
168274
|
properties: {
|
|
167808
168275
|
subject: {
|
|
167809
168276
|
type: "string",
|
|
167810
|
-
format: "did"
|
|
168277
|
+
format: "did",
|
|
168278
|
+
description: "DID of the account to be blocked."
|
|
167811
168279
|
},
|
|
167812
168280
|
createdAt: {
|
|
167813
168281
|
type: "string",
|
|
@@ -167991,7 +168459,7 @@ var schemaDict2 = {
|
|
|
167991
168459
|
defs: {
|
|
167992
168460
|
main: {
|
|
167993
168461
|
type: "record",
|
|
167994
|
-
description: "
|
|
168462
|
+
description: "Record declaring a social 'follow' relationship of another account. Duplicate follows will be ignored by the AppView.",
|
|
167995
168463
|
key: "tid",
|
|
167996
168464
|
record: {
|
|
167997
168465
|
type: "object",
|
|
@@ -168016,7 +168484,7 @@ var schemaDict2 = {
|
|
|
168016
168484
|
defs: {
|
|
168017
168485
|
main: {
|
|
168018
168486
|
type: "query",
|
|
168019
|
-
description: "
|
|
168487
|
+
description: "Enumerates which accounts the requesting account is currently blocking. Requires auth.",
|
|
168020
168488
|
parameters: {
|
|
168021
168489
|
type: "params",
|
|
168022
168490
|
properties: {
|
|
@@ -168059,7 +168527,7 @@ var schemaDict2 = {
|
|
|
168059
168527
|
defs: {
|
|
168060
168528
|
main: {
|
|
168061
168529
|
type: "query",
|
|
168062
|
-
description: "
|
|
168530
|
+
description: "Enumerates accounts which follow a specified account (actor).",
|
|
168063
168531
|
parameters: {
|
|
168064
168532
|
type: "params",
|
|
168065
168533
|
required: ["actor"],
|
|
@@ -168111,7 +168579,7 @@ var schemaDict2 = {
|
|
|
168111
168579
|
defs: {
|
|
168112
168580
|
main: {
|
|
168113
168581
|
type: "query",
|
|
168114
|
-
description: "
|
|
168582
|
+
description: "Enumerates accounts which a specified account (actor) follows.",
|
|
168115
168583
|
parameters: {
|
|
168116
168584
|
type: "params",
|
|
168117
168585
|
required: ["actor"],
|
|
@@ -168163,14 +168631,15 @@ var schemaDict2 = {
|
|
|
168163
168631
|
defs: {
|
|
168164
168632
|
main: {
|
|
168165
168633
|
type: "query",
|
|
168166
|
-
description: "
|
|
168634
|
+
description: "Gets a 'view' (with additional context) of a specified list.",
|
|
168167
168635
|
parameters: {
|
|
168168
168636
|
type: "params",
|
|
168169
168637
|
required: ["list"],
|
|
168170
168638
|
properties: {
|
|
168171
168639
|
list: {
|
|
168172
168640
|
type: "string",
|
|
168173
|
-
format: "at-uri"
|
|
168641
|
+
format: "at-uri",
|
|
168642
|
+
description: "Reference (AT-URI) of the list record to hydrate."
|
|
168174
168643
|
},
|
|
168175
168644
|
limit: {
|
|
168176
168645
|
type: "integer",
|
|
@@ -168215,7 +168684,7 @@ var schemaDict2 = {
|
|
|
168215
168684
|
defs: {
|
|
168216
168685
|
main: {
|
|
168217
168686
|
type: "query",
|
|
168218
|
-
description: "Get lists that the actor is blocking.",
|
|
168687
|
+
description: "Get mod lists that the requesting account (actor) is blocking. Requires auth.",
|
|
168219
168688
|
parameters: {
|
|
168220
168689
|
type: "params",
|
|
168221
168690
|
properties: {
|
|
@@ -168258,7 +168727,7 @@ var schemaDict2 = {
|
|
|
168258
168727
|
defs: {
|
|
168259
168728
|
main: {
|
|
168260
168729
|
type: "query",
|
|
168261
|
-
description: "
|
|
168730
|
+
description: "Enumerates mod lists that the requesting account (actor) currently has muted. Requires auth.",
|
|
168262
168731
|
parameters: {
|
|
168263
168732
|
type: "params",
|
|
168264
168733
|
properties: {
|
|
@@ -168301,14 +168770,15 @@ var schemaDict2 = {
|
|
|
168301
168770
|
defs: {
|
|
168302
168771
|
main: {
|
|
168303
168772
|
type: "query",
|
|
168304
|
-
description: "
|
|
168773
|
+
description: "Enumerates the lists created by a specified account (actor).",
|
|
168305
168774
|
parameters: {
|
|
168306
168775
|
type: "params",
|
|
168307
168776
|
required: ["actor"],
|
|
168308
168777
|
properties: {
|
|
168309
168778
|
actor: {
|
|
168310
168779
|
type: "string",
|
|
168311
|
-
format: "at-identifier"
|
|
168780
|
+
format: "at-identifier",
|
|
168781
|
+
description: "The account (actor) to enumerate lists from."
|
|
168312
168782
|
},
|
|
168313
168783
|
limit: {
|
|
168314
168784
|
type: "integer",
|
|
@@ -168349,7 +168819,7 @@ var schemaDict2 = {
|
|
|
168349
168819
|
defs: {
|
|
168350
168820
|
main: {
|
|
168351
168821
|
type: "query",
|
|
168352
|
-
description: "
|
|
168822
|
+
description: "Enumerates accounts that the requesting account (actor) currently has muted. Requires auth.",
|
|
168353
168823
|
parameters: {
|
|
168354
168824
|
type: "params",
|
|
168355
168825
|
properties: {
|
|
@@ -168392,17 +168862,19 @@ var schemaDict2 = {
|
|
|
168392
168862
|
defs: {
|
|
168393
168863
|
main: {
|
|
168394
168864
|
type: "query",
|
|
168395
|
-
description: "Enumerates public relationships between one account, and a list of other accounts",
|
|
168865
|
+
description: "Enumerates public relationships between one account, and a list of other accounts. Does not require auth.",
|
|
168396
168866
|
parameters: {
|
|
168397
168867
|
type: "params",
|
|
168398
168868
|
required: ["actor"],
|
|
168399
168869
|
properties: {
|
|
168400
168870
|
actor: {
|
|
168401
168871
|
type: "string",
|
|
168402
|
-
format: "at-identifier"
|
|
168872
|
+
format: "at-identifier",
|
|
168873
|
+
description: "Primary account requesting relationships for."
|
|
168403
168874
|
},
|
|
168404
168875
|
others: {
|
|
168405
168876
|
type: "array",
|
|
168877
|
+
description: "List of 'other' accounts to be related back to the primary.",
|
|
168406
168878
|
maxLength: 30,
|
|
168407
168879
|
items: {
|
|
168408
168880
|
type: "string",
|
|
@@ -168449,7 +168921,7 @@ var schemaDict2 = {
|
|
|
168449
168921
|
defs: {
|
|
168450
168922
|
main: {
|
|
168451
168923
|
type: "query",
|
|
168452
|
-
description: "
|
|
168924
|
+
description: "Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.",
|
|
168453
168925
|
parameters: {
|
|
168454
168926
|
type: "params",
|
|
168455
168927
|
required: ["actor"],
|
|
@@ -168485,7 +168957,7 @@ var schemaDict2 = {
|
|
|
168485
168957
|
defs: {
|
|
168486
168958
|
main: {
|
|
168487
168959
|
type: "record",
|
|
168488
|
-
description: "
|
|
168960
|
+
description: "Record representing a list of accounts (actors). Scope includes both moderation-oriented lists and curration-oriented lists.",
|
|
168489
168961
|
key: "tid",
|
|
168490
168962
|
record: {
|
|
168491
168963
|
type: "object",
|
|
@@ -168493,12 +168965,14 @@ var schemaDict2 = {
|
|
|
168493
168965
|
properties: {
|
|
168494
168966
|
purpose: {
|
|
168495
168967
|
type: "ref",
|
|
168968
|
+
description: "Defines the purpose of the list (aka, moderation-oriented or curration-oriented)",
|
|
168496
168969
|
ref: "lex:app.bsky.graph.defs#listPurpose"
|
|
168497
168970
|
},
|
|
168498
168971
|
name: {
|
|
168499
168972
|
type: "string",
|
|
168500
168973
|
maxLength: 64,
|
|
168501
|
-
minLength: 1
|
|
168974
|
+
minLength: 1,
|
|
168975
|
+
description: "Display name for list; can not be empty."
|
|
168502
168976
|
},
|
|
168503
168977
|
description: {
|
|
168504
168978
|
type: "string",
|
|
@@ -168536,7 +169010,7 @@ var schemaDict2 = {
|
|
|
168536
169010
|
defs: {
|
|
168537
169011
|
main: {
|
|
168538
169012
|
type: "record",
|
|
168539
|
-
description: "
|
|
169013
|
+
description: "Record representing a block relationship against an entire an entire list of accounts (actors).",
|
|
168540
169014
|
key: "tid",
|
|
168541
169015
|
record: {
|
|
168542
169016
|
type: "object",
|
|
@@ -168544,7 +169018,8 @@ var schemaDict2 = {
|
|
|
168544
169018
|
properties: {
|
|
168545
169019
|
subject: {
|
|
168546
169020
|
type: "string",
|
|
168547
|
-
format: "at-uri"
|
|
169021
|
+
format: "at-uri",
|
|
169022
|
+
description: "Reference (AT-URI) to the mod list record."
|
|
168548
169023
|
},
|
|
168549
169024
|
createdAt: {
|
|
168550
169025
|
type: "string",
|
|
@@ -168561,7 +169036,7 @@ var schemaDict2 = {
|
|
|
168561
169036
|
defs: {
|
|
168562
169037
|
main: {
|
|
168563
169038
|
type: "record",
|
|
168564
|
-
description: "
|
|
169039
|
+
description: "Record representing an account's inclusion on a specific list. The AppView will ignore duplicate listitem records.",
|
|
168565
169040
|
key: "tid",
|
|
168566
169041
|
record: {
|
|
168567
169042
|
type: "object",
|
|
@@ -168569,11 +169044,13 @@ var schemaDict2 = {
|
|
|
168569
169044
|
properties: {
|
|
168570
169045
|
subject: {
|
|
168571
169046
|
type: "string",
|
|
168572
|
-
format: "did"
|
|
169047
|
+
format: "did",
|
|
169048
|
+
description: "The account which is included on the list."
|
|
168573
169049
|
},
|
|
168574
169050
|
list: {
|
|
168575
169051
|
type: "string",
|
|
168576
|
-
format: "at-uri"
|
|
169052
|
+
format: "at-uri",
|
|
169053
|
+
description: "Reference (AT-URI) to the list record (app.bsky.graph.list)."
|
|
168577
169054
|
},
|
|
168578
169055
|
createdAt: {
|
|
168579
169056
|
type: "string",
|
|
@@ -168590,7 +169067,7 @@ var schemaDict2 = {
|
|
|
168590
169067
|
defs: {
|
|
168591
169068
|
main: {
|
|
168592
169069
|
type: "procedure",
|
|
168593
|
-
description: "
|
|
169070
|
+
description: "Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth.",
|
|
168594
169071
|
input: {
|
|
168595
169072
|
encoding: "application/json",
|
|
168596
169073
|
schema: {
|
|
@@ -168613,7 +169090,7 @@ var schemaDict2 = {
|
|
|
168613
169090
|
defs: {
|
|
168614
169091
|
main: {
|
|
168615
169092
|
type: "procedure",
|
|
168616
|
-
description: "
|
|
169093
|
+
description: "Creates a mute relationship for the specified list of accounts. Mutes are private in Bluesky. Requires auth.",
|
|
168617
169094
|
input: {
|
|
168618
169095
|
encoding: "application/json",
|
|
168619
169096
|
schema: {
|
|
@@ -168636,7 +169113,7 @@ var schemaDict2 = {
|
|
|
168636
169113
|
defs: {
|
|
168637
169114
|
main: {
|
|
168638
169115
|
type: "procedure",
|
|
168639
|
-
description: "
|
|
169116
|
+
description: "Unmutes the specified account. Requires auth.",
|
|
168640
169117
|
input: {
|
|
168641
169118
|
encoding: "application/json",
|
|
168642
169119
|
schema: {
|
|
@@ -168659,7 +169136,7 @@ var schemaDict2 = {
|
|
|
168659
169136
|
defs: {
|
|
168660
169137
|
main: {
|
|
168661
169138
|
type: "procedure",
|
|
168662
|
-
description: "
|
|
169139
|
+
description: "Unmutes the specified list of accounts. Requires auth.",
|
|
168663
169140
|
input: {
|
|
168664
169141
|
encoding: "application/json",
|
|
168665
169142
|
schema: {
|
|
@@ -168682,7 +169159,7 @@ var schemaDict2 = {
|
|
|
168682
169159
|
defs: {
|
|
168683
169160
|
main: {
|
|
168684
169161
|
type: "query",
|
|
168685
|
-
description: "
|
|
169162
|
+
description: "Count the number of unread notifications for the requesting account. Requires auth.",
|
|
168686
169163
|
parameters: {
|
|
168687
169164
|
type: "params",
|
|
168688
169165
|
properties: {
|
|
@@ -168713,7 +169190,7 @@ var schemaDict2 = {
|
|
|
168713
169190
|
defs: {
|
|
168714
169191
|
main: {
|
|
168715
169192
|
type: "query",
|
|
168716
|
-
description: "
|
|
169193
|
+
description: "Enumerate notifications for the requesting account. Requires auth.",
|
|
168717
169194
|
parameters: {
|
|
168718
169195
|
type: "params",
|
|
168719
169196
|
properties: {
|
|
@@ -168823,7 +169300,7 @@ var schemaDict2 = {
|
|
|
168823
169300
|
defs: {
|
|
168824
169301
|
main: {
|
|
168825
169302
|
type: "procedure",
|
|
168826
|
-
description: "Register
|
|
169303
|
+
description: "Register to receive push notifications, via a specified service, for the requesting account. Requires auth.",
|
|
168827
169304
|
input: {
|
|
168828
169305
|
encoding: "application/json",
|
|
168829
169306
|
schema: {
|
|
@@ -168856,7 +169333,7 @@ var schemaDict2 = {
|
|
|
168856
169333
|
defs: {
|
|
168857
169334
|
main: {
|
|
168858
169335
|
type: "procedure",
|
|
168859
|
-
description: "Notify server that the
|
|
169336
|
+
description: "Notify server that the requesting account has seen notifications. Requires auth.",
|
|
168860
169337
|
input: {
|
|
168861
169338
|
encoding: "application/json",
|
|
168862
169339
|
schema: {
|
|
@@ -168879,6 +169356,7 @@ var schemaDict2 = {
|
|
|
168879
169356
|
defs: {
|
|
168880
169357
|
main: {
|
|
168881
169358
|
type: "object",
|
|
169359
|
+
description: "Annotation of a sub-string within rich text.",
|
|
168882
169360
|
required: ["index", "features"],
|
|
168883
169361
|
properties: {
|
|
168884
169362
|
index: {
|
|
@@ -168900,7 +169378,7 @@ var schemaDict2 = {
|
|
|
168900
169378
|
},
|
|
168901
169379
|
mention: {
|
|
168902
169380
|
type: "object",
|
|
168903
|
-
description: "
|
|
169381
|
+
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
169382
|
required: ["did"],
|
|
168905
169383
|
properties: {
|
|
168906
169384
|
did: {
|
|
@@ -168911,7 +169389,7 @@ var schemaDict2 = {
|
|
|
168911
169389
|
},
|
|
168912
169390
|
link: {
|
|
168913
169391
|
type: "object",
|
|
168914
|
-
description: "
|
|
169392
|
+
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
169393
|
required: ["uri"],
|
|
168916
169394
|
properties: {
|
|
168917
169395
|
uri: {
|
|
@@ -168922,7 +169400,7 @@ var schemaDict2 = {
|
|
|
168922
169400
|
},
|
|
168923
169401
|
tag: {
|
|
168924
169402
|
type: "object",
|
|
168925
|
-
description: "
|
|
169403
|
+
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
169404
|
required: ["tag"],
|
|
168927
169405
|
properties: {
|
|
168928
169406
|
tag: {
|
|
@@ -168934,7 +169412,7 @@ var schemaDict2 = {
|
|
|
168934
169412
|
},
|
|
168935
169413
|
byteSlice: {
|
|
168936
169414
|
type: "object",
|
|
168937
|
-
description: "
|
|
169415
|
+
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
169416
|
required: ["byteStart", "byteEnd"],
|
|
168939
169417
|
properties: {
|
|
168940
169418
|
byteStart: {
|
|
@@ -173594,14 +174072,14 @@ var unsignedCommit = z.object({
|
|
|
173594
174072
|
version: z.literal(3),
|
|
173595
174073
|
data: schema.cid,
|
|
173596
174074
|
rev: z.string(),
|
|
173597
|
-
prev: schema.cid.nullable()
|
|
174075
|
+
prev: schema.cid.nullable()
|
|
173598
174076
|
});
|
|
173599
174077
|
var commit = z.object({
|
|
173600
174078
|
did: z.string(),
|
|
173601
174079
|
version: z.literal(3),
|
|
173602
174080
|
data: schema.cid,
|
|
173603
174081
|
rev: z.string(),
|
|
173604
|
-
prev: schema.cid.nullable()
|
|
174082
|
+
prev: schema.cid.nullable(),
|
|
173605
174083
|
sig: schema.bytes
|
|
173606
174084
|
});
|
|
173607
174085
|
var legacyV2Commit = z.object({
|
|
@@ -176102,8 +176580,9 @@ var FeedViews = class {
|
|
|
176102
176580
|
const post = posts[uri2];
|
|
176103
176581
|
const gate = threadgates[uri2];
|
|
176104
176582
|
const author = actors[post?.creator];
|
|
176105
|
-
if (!post || !author)
|
|
176583
|
+
if (!post || !author) {
|
|
176106
176584
|
return void 0;
|
|
176585
|
+
}
|
|
176107
176586
|
const postLabels = labels[uri2] ?? [];
|
|
176108
176587
|
const postSelfLabels = getSelfLabels({
|
|
176109
176588
|
uri: post.uri,
|
|
@@ -176332,12 +176811,12 @@ var FeedService = class {
|
|
|
176332
176811
|
const { ref } = this.db.db.dynamic;
|
|
176333
176812
|
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
176813
|
}
|
|
176335
|
-
async getPostInfos(postUris, viewer) {
|
|
176814
|
+
async getPostInfos(postUris, viewer, includeSoftDeleted) {
|
|
176336
176815
|
if (postUris.length < 1)
|
|
176337
176816
|
return {};
|
|
176338
176817
|
const db = this.db.db;
|
|
176339
176818
|
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([
|
|
176819
|
+
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
176820
|
"post.uri as uri",
|
|
176342
176821
|
"post.cid as cid",
|
|
176343
176822
|
"post.creator as creator",
|
|
@@ -176410,13 +176889,13 @@ var FeedService = class {
|
|
|
176410
176889
|
async feedHydration(refs, depth = 0) {
|
|
176411
176890
|
const { viewer, dids, uris } = refs;
|
|
176412
176891
|
const [posts, threadgates, labels, bam] = await Promise.all([
|
|
176413
|
-
this.getPostInfos(Array.from(uris), viewer),
|
|
176892
|
+
this.getPostInfos(Array.from(uris), viewer, refs.includeSoftDeleted),
|
|
176414
176893
|
this.threadgatesByPostUri(Array.from(uris)),
|
|
176415
176894
|
this.services.label.getLabelsForSubjects([...uris, ...dids]),
|
|
176416
176895
|
this.services.graph.getBlockAndMuteState(viewer ? [...dids].map((did2) => [viewer, did2]) : [])
|
|
176417
176896
|
]);
|
|
176418
176897
|
const [profileState, blocks, lists] = await Promise.all([
|
|
176419
|
-
this.services.actor.views.profileHydration(Array.from(dids), { viewer }, { bam, labels }),
|
|
176898
|
+
this.services.actor.views.profileHydration(Array.from(dids), { viewer, includeSoftDeleted: refs.includeSoftDeleted }, { bam, labels }),
|
|
176420
176899
|
this.blocksForPosts(posts, bam),
|
|
176421
176900
|
this.listsForThreadgates(threadgates, viewer)
|
|
176422
176901
|
]);
|