@clioplaylists/clio 0.1.1 → 0.1.3
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/package.json +4 -4
- package/dist/.env +0 -7
- package/dist/api/com/clioplaylists/alpha/actor/getProfile.d.ts +0 -0
- package/dist/api/com/clioplaylists/alpha/actor/getProfile.js +0 -37
- package/dist/api/com/clioplaylists/alpha/feed/getSongs.d.ts +0 -0
- package/dist/api/com/clioplaylists/alpha/feed/getSongs.js +0 -37
- package/dist/api/health.d.ts +0 -3
- package/dist/api/health.js +0 -32
- package/dist/api/index.d.ts +0 -4
- package/dist/api/index.js +0 -43
- package/dist/api/util.d.ts +0 -9
- package/dist/api/util.js +0 -17
- package/dist/auth-verifier.d.ts +0 -92
- package/dist/auth-verifier.js +0 -473
- package/dist/client.d.ts +0 -9
- package/dist/client.js +0 -40
- package/dist/config.d.ts +0 -21
- package/dist/config.js +0 -65
- package/dist/context.d.ts +0 -11
- package/dist/context.js +0 -19
- package/dist/dataplane/bsync/index.js +0 -150
- package/dist/dataplane/client.d.ts +0 -27
- package/dist/dataplane/client.js +0 -165
- package/dist/dataplane/index.d.ts +0 -2
- package/dist/dataplane/index.js +0 -18
- package/dist/dataplane/server/background.d.ts +0 -13
- package/dist/dataplane/server/background.js +0 -51
- package/dist/dataplane/server/db/database-schema.d.ts +0 -13
- package/dist/dataplane/server/db/database-schema.js +0 -2
- package/dist/dataplane/server/db/db.d.ts +0 -32
- package/dist/dataplane/server/db/db.js +0 -228
- package/dist/dataplane/server/db/index.d.ts +0 -1
- package/dist/dataplane/server/db/index.js +0 -17
- package/dist/dataplane/server/db/migrations/20230309T045948368Z-init.d.ts +0 -3
- package/dist/dataplane/server/db/migrations/20230309T045948368Z-init.js +0 -117
- package/dist/dataplane/server/db/migrations/20230420T211446071Z-did-cache.d.ts +0 -3
- package/dist/dataplane/server/db/migrations/20230420T211446071Z-did-cache.js +0 -15
- package/dist/dataplane/server/db/migrations/index.d.ts +0 -2
- package/dist/dataplane/server/db/migrations/index.js +0 -41
- package/dist/dataplane/server/db/migrations/provider.d.ts +0 -11
- package/dist/dataplane/server/db/migrations/provider.js +0 -31
- package/dist/dataplane/server/db/pagination.d.ts +0 -86
- package/dist/dataplane/server/db/pagination.js +0 -144
- package/dist/dataplane/server/db/tables/actor-sync.d.ts +0 -9
- package/dist/dataplane/server/db/tables/actor-sync.js +0 -4
- package/dist/dataplane/server/db/tables/actor.d.ts +0 -11
- package/dist/dataplane/server/db/tables/actor.js +0 -4
- package/dist/dataplane/server/db/tables/artist-list-item.d.ts +0 -11
- package/dist/dataplane/server/db/tables/artist-list-item.js +0 -4
- package/dist/dataplane/server/db/tables/artist.d.ts +0 -10
- package/dist/dataplane/server/db/tables/artist.js +0 -4
- package/dist/dataplane/server/db/tables/playlist-idea.d.ts +0 -14
- package/dist/dataplane/server/db/tables/playlist-idea.js +0 -4
- package/dist/dataplane/server/db/tables/playlist-item.d.ts +0 -11
- package/dist/dataplane/server/db/tables/playlist-item.js +0 -4
- package/dist/dataplane/server/db/tables/playlist.d.ts +0 -10
- package/dist/dataplane/server/db/tables/playlist.js +0 -4
- package/dist/dataplane/server/db/tables/profile.d.ts +0 -15
- package/dist/dataplane/server/db/tables/profile.js +0 -4
- package/dist/dataplane/server/db/tables/record.d.ts +0 -12
- package/dist/dataplane/server/db/tables/record.js +0 -4
- package/dist/dataplane/server/db/tables/song.d.ts +0 -12
- package/dist/dataplane/server/db/tables/song.js +0 -4
- package/dist/dataplane/server/db/types.d.ts +0 -9
- package/dist/dataplane/server/db/types.js +0 -2
- package/dist/dataplane/server/db/util.d.ts +0 -20
- package/dist/dataplane/server/db/util.js +0 -48
- package/dist/dataplane/server/index.d.ts +0 -11
- package/dist/dataplane/server/index.js +0 -52
- package/dist/dataplane/server/indexing/index.d.ts +0 -32
- package/dist/dataplane/server/indexing/index.js +0 -321
- package/dist/dataplane/server/indexing/plugins/playlist-idea.d.ts +0 -14
- package/dist/dataplane/server/indexing/plugins/playlist-idea.js +0 -163
- package/dist/dataplane/server/indexing/plugins/profile.d.ts +0 -8
- package/dist/dataplane/server/indexing/plugins/profile.js +0 -81
- package/dist/dataplane/server/indexing/processor.d.ts +0 -22
- package/dist/dataplane/server/indexing/processor.js +0 -90
- package/dist/dataplane/server/routes/blocks.js +0 -95
- package/dist/dataplane/server/routes/feed-gens.js +0 -56
- package/dist/dataplane/server/routes/feeds.js +0 -128
- package/dist/dataplane/server/routes/follows.js +0 -122
- package/dist/dataplane/server/routes/identity.d.ts +0 -6
- package/dist/dataplane/server/routes/identity.js +0 -56
- package/dist/dataplane/server/routes/index.d.ts +0 -5
- package/dist/dataplane/server/routes/index.js +0 -19
- package/dist/dataplane/server/routes/interactions.js +0 -111
- package/dist/dataplane/server/routes/labels.js +0 -73
- package/dist/dataplane/server/routes/likes.js +0 -76
- package/dist/dataplane/server/routes/lists.js +0 -77
- package/dist/dataplane/server/routes/moderation.js +0 -92
- package/dist/dataplane/server/routes/mutes.js +0 -166
- package/dist/dataplane/server/routes/notifs.js +0 -137
- package/dist/dataplane/server/routes/posts.js +0 -19
- package/dist/dataplane/server/routes/profile.d.ts +0 -5
- package/dist/dataplane/server/routes/profile.js +0 -61
- package/dist/dataplane/server/routes/quotes.js +0 -26
- package/dist/dataplane/server/routes/records.d.ts +0 -11
- package/dist/dataplane/server/routes/records.js +0 -88
- package/dist/dataplane/server/routes/relationships.js +0 -157
- package/dist/dataplane/server/routes/reposts.js +0 -59
- package/dist/dataplane/server/routes/search.js +0 -70
- package/dist/dataplane/server/routes/starter-packs.js +0 -24
- package/dist/dataplane/server/routes/suggestions.js +0 -134
- package/dist/dataplane/server/routes/sync.d.ts +0 -5
- package/dist/dataplane/server/routes/sync.js +0 -14
- package/dist/dataplane/server/routes/threads.js +0 -31
- package/dist/dataplane/server/subscription.d.ts +0 -25
- package/dist/dataplane/server/subscription.js +0 -114
- package/dist/dataplane/server/util.js +0 -117
- package/dist/error.d.ts +0 -2
- package/dist/error.js +0 -14
- package/dist/index.d.ts +0 -20
- package/dist/index.js +0 -115
- package/dist/lexicons/index.d.ts +0 -278
- package/dist/lexicons/index.js +0 -638
- package/dist/lexicons/lexicons.d.ts +0 -8466
- package/dist/lexicons/lexicons.js +0 -4551
- package/dist/lexicons/types/com/atproto/admin/defs.d.ts +0 -50
- package/dist/lexicons/types/com/atproto/admin/defs.js +0 -54
- package/dist/lexicons/types/com/atproto/admin/deleteAccount.d.ts +0 -29
- package/dist/lexicons/types/com/atproto/admin/deleteAccount.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.d.ts +0 -31
- package/dist/lexicons/types/com/atproto/admin/disableAccountInvites.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/admin/disableInviteCodes.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.d.ts +0 -31
- package/dist/lexicons/types/com/atproto/admin/enableAccountInvites.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/getAccountInfo.d.ts +0 -33
- package/dist/lexicons/types/com/atproto/admin/getAccountInfo.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.d.ts +0 -36
- package/dist/lexicons/types/com/atproto/admin/getAccountInfos.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/admin/getInviteCodes.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.d.ts +0 -44
- package/dist/lexicons/types/com/atproto/admin/getSubjectStatus.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/admin/searchAccounts.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/sendEmail.d.ts +0 -45
- package/dist/lexicons/types/com/atproto/admin/sendEmail.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.d.ts +0 -31
- package/dist/lexicons/types/com/atproto/admin/updateAccountEmail.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/admin/updateAccountHandle.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/admin/updateAccountPassword.js +0 -2
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.d.ts +0 -51
- package/dist/lexicons/types/com/atproto/admin/updateSubjectStatus.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/defs.d.ts +0 -14
- package/dist/lexicons/types/com/atproto/identity/defs.js +0 -14
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.d.ts +0 -38
- package/dist/lexicons/types/com/atproto/identity/getRecommendedDidCredentials.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/refreshIdentity.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/identity/refreshIdentity.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/identity/requestPlcOperationSignature.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/resolveDid.d.ts +0 -38
- package/dist/lexicons/types/com/atproto/identity/resolveDid.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.d.ts +0 -37
- package/dist/lexicons/types/com/atproto/identity/resolveHandle.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.d.ts +0 -35
- package/dist/lexicons/types/com/atproto/identity/resolveIdentity.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.d.ts +0 -46
- package/dist/lexicons/types/com/atproto/identity/signPlcOperation.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.d.ts +0 -29
- package/dist/lexicons/types/com/atproto/identity/submitPlcOperation.js +0 -2
- package/dist/lexicons/types/com/atproto/identity/updateHandle.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/identity/updateHandle.js +0 -2
- package/dist/lexicons/types/com/atproto/label/defs.d.ts +0 -73
- package/dist/lexicons/types/com/atproto/label/defs.js +0 -54
- package/dist/lexicons/types/com/atproto/label/queryLabels.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/label/queryLabels.js +0 -2
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.d.ts +0 -38
- package/dist/lexicons/types/com/atproto/label/subscribeLabels.js +0 -24
- package/dist/lexicons/types/com/atproto/lexicon/schema.d.ts +0 -11
- package/dist/lexicons/types/com/atproto/lexicon/schema.js +0 -15
- package/dist/lexicons/types/com/atproto/moderation/createReport.d.ts +0 -57
- package/dist/lexicons/types/com/atproto/moderation/createReport.js +0 -2
- package/dist/lexicons/types/com/atproto/moderation/defs.d.ts +0 -20
- package/dist/lexicons/types/com/atproto/moderation/defs.js +0 -20
- package/dist/lexicons/types/com/atproto/repo/applyWrites.d.ts +0 -98
- package/dist/lexicons/types/com/atproto/repo/applyWrites.js +0 -64
- package/dist/lexicons/types/com/atproto/repo/createRecord.d.ts +0 -56
- package/dist/lexicons/types/com/atproto/repo/createRecord.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/defs.d.ts +0 -11
- package/dist/lexicons/types/com/atproto/repo/defs.js +0 -14
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.d.ts +0 -51
- package/dist/lexicons/types/com/atproto/repo/deleteRecord.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/describeRepo.d.ts +0 -43
- package/dist/lexicons/types/com/atproto/repo/describeRepo.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/getRecord.d.ts +0 -45
- package/dist/lexicons/types/com/atproto/repo/getRecord.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/importRepo.d.ts +0 -27
- package/dist/lexicons/types/com/atproto/repo/importRepo.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.d.ts +0 -45
- package/dist/lexicons/types/com/atproto/repo/listMissingBlobs.js +0 -14
- package/dist/lexicons/types/com/atproto/repo/listRecords.d.ts +0 -53
- package/dist/lexicons/types/com/atproto/repo/listRecords.js +0 -14
- package/dist/lexicons/types/com/atproto/repo/putRecord.d.ts +0 -58
- package/dist/lexicons/types/com/atproto/repo/putRecord.js +0 -2
- package/dist/lexicons/types/com/atproto/repo/strongRef.d.ts +0 -11
- package/dist/lexicons/types/com/atproto/repo/strongRef.js +0 -15
- package/dist/lexicons/types/com/atproto/repo/uploadBlob.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/repo/uploadBlob.js +0 -2
- package/dist/lexicons/types/com/atproto/server/activateAccount.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/server/activateAccount.js +0 -2
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/server/checkAccountStatus.js +0 -2
- package/dist/lexicons/types/com/atproto/server/confirmEmail.d.ts +0 -31
- package/dist/lexicons/types/com/atproto/server/confirmEmail.js +0 -2
- package/dist/lexicons/types/com/atproto/server/createAccount.d.ts +0 -61
- package/dist/lexicons/types/com/atproto/server/createAccount.js +0 -2
- package/dist/lexicons/types/com/atproto/server/createAppPassword.d.ts +0 -51
- package/dist/lexicons/types/com/atproto/server/createAppPassword.js +0 -14
- package/dist/lexicons/types/com/atproto/server/createInviteCode.d.ts +0 -41
- package/dist/lexicons/types/com/atproto/server/createInviteCode.js +0 -2
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.d.ts +0 -50
- package/dist/lexicons/types/com/atproto/server/createInviteCodes.js +0 -14
- package/dist/lexicons/types/com/atproto/server/createSession.d.ts +0 -56
- package/dist/lexicons/types/com/atproto/server/createSession.js +0 -2
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/server/deactivateAccount.js +0 -2
- package/dist/lexicons/types/com/atproto/server/defs.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/server/defs.js +0 -24
- package/dist/lexicons/types/com/atproto/server/deleteAccount.d.ts +0 -32
- package/dist/lexicons/types/com/atproto/server/deleteAccount.js +0 -2
- package/dist/lexicons/types/com/atproto/server/deleteSession.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/server/deleteSession.js +0 -2
- package/dist/lexicons/types/com/atproto/server/describeServer.d.ts +0 -56
- package/dist/lexicons/types/com/atproto/server/describeServer.js +0 -24
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/server/getAccountInviteCodes.js +0 -2
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.d.ts +0 -41
- package/dist/lexicons/types/com/atproto/server/getServiceAuth.js +0 -2
- package/dist/lexicons/types/com/atproto/server/getSession.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/server/getSession.js +0 -2
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.d.ts +0 -44
- package/dist/lexicons/types/com/atproto/server/listAppPasswords.js +0 -14
- package/dist/lexicons/types/com/atproto/server/refreshSession.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/server/refreshSession.js +0 -2
- package/dist/lexicons/types/com/atproto/server/requestAccountDelete.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/server/requestAccountDelete.js +0 -2
- package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.d.ts +0 -23
- package/dist/lexicons/types/com/atproto/server/requestEmailConfirmation.js +0 -2
- package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.d.ts +0 -34
- package/dist/lexicons/types/com/atproto/server/requestEmailUpdate.js +0 -2
- package/dist/lexicons/types/com/atproto/server/requestPasswordReset.d.ts +0 -29
- package/dist/lexicons/types/com/atproto/server/requestPasswordReset.js +0 -2
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/server/reserveSigningKey.js +0 -2
- package/dist/lexicons/types/com/atproto/server/resetPassword.d.ts +0 -31
- package/dist/lexicons/types/com/atproto/server/resetPassword.js +0 -2
- package/dist/lexicons/types/com/atproto/server/revokeAppPassword.d.ts +0 -29
- package/dist/lexicons/types/com/atproto/server/revokeAppPassword.js +0 -2
- package/dist/lexicons/types/com/atproto/server/updateEmail.d.ts +0 -33
- package/dist/lexicons/types/com/atproto/server/updateEmail.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getBlob.d.ts +0 -36
- package/dist/lexicons/types/com/atproto/sync/getBlob.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getBlocks.d.ts +0 -35
- package/dist/lexicons/types/com/atproto/sync/getBlocks.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getCheckout.d.ts +0 -33
- package/dist/lexicons/types/com/atproto/sync/getCheckout.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getHead.d.ts +0 -37
- package/dist/lexicons/types/com/atproto/sync/getHead.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.d.ts +0 -38
- package/dist/lexicons/types/com/atproto/sync/getLatestCommit.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getRecord.d.ts +0 -37
- package/dist/lexicons/types/com/atproto/sync/getRecord.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getRepo.d.ts +0 -36
- package/dist/lexicons/types/com/atproto/sync/getRepo.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/sync/getRepoStatus.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/listBlobs.d.ts +0 -42
- package/dist/lexicons/types/com/atproto/sync/listBlobs.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/listRepos.d.ts +0 -50
- package/dist/lexicons/types/com/atproto/sync/listRepos.js +0 -14
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.d.ts +0 -46
- package/dist/lexicons/types/com/atproto/sync/listReposByCollection.js +0 -14
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/sync/notifyOfUpdate.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.d.ts +0 -30
- package/dist/lexicons/types/com/atproto/sync/requestCrawl.js +0 -2
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.d.ts +0 -111
- package/dist/lexicons/types/com/atproto/sync/subscribeRepos.js +0 -64
- package/dist/lexicons/types/com/atproto/temp/addReservedHandle.d.ts +0 -39
- package/dist/lexicons/types/com/atproto/temp/addReservedHandle.js +0 -2
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.d.ts +0 -36
- package/dist/lexicons/types/com/atproto/temp/checkSignupQueue.js +0 -2
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.d.ts +0 -37
- package/dist/lexicons/types/com/atproto/temp/fetchLabels.js +0 -2
- package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.d.ts +0 -29
- package/dist/lexicons/types/com/atproto/temp/requestPhoneVerification.js +0 -2
- package/dist/lexicons/types/com/clioplaylists/alpha/actor/profile.d.ts +0 -19
- package/dist/lexicons/types/com/clioplaylists/alpha/actor/profile.js +0 -15
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/defs.d.ts +0 -32
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/defs.js +0 -24
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/getSongs.d.ts +0 -37
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/getSongs.js +0 -2
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/playlistIdea.d.ts +0 -32
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/playlistIdea.js +0 -35
- package/dist/lexicons/types/com/clioplaylists/alpha/feed/song.js +0 -25
- package/dist/lexicons/util.d.ts +0 -5
- package/dist/lexicons/util.js +0 -13
- package/dist/logger.d.ts +0 -6
- package/dist/logger.js +0 -26
- package/dist/rpc/clio_connect.d.ts +0 -103
- package/dist/rpc/clio_connect.js +0 -110
- package/dist/rpc/clio_pb.d.ts +0 -457
- package/dist/rpc/clio_pb.js +0 -1365
- package/dist/start.d.ts +0 -1
- package/dist/util/retry.d.ts +0 -2
- package/dist/util/retry.js +0 -16
- package/dist/util/uris.d.ts +0 -1
- package/dist/util/uris.js +0 -7
- package/dist/util.d.ts +0 -23
- package/dist/util.js +0 -119
- /package/{dist/start.js → start.js} +0 -0
|
@@ -1,4551 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ids = exports.lexicons = exports.schemas = exports.schemaDict = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
6
|
-
*/
|
|
7
|
-
const lexicon_1 = require("@atproto/lexicon");
|
|
8
|
-
exports.schemaDict = {
|
|
9
|
-
ComClioplaylistsAlphaActorProfile: {
|
|
10
|
-
lexicon: 1,
|
|
11
|
-
id: 'com.clioplaylists.alpha.actor.profile',
|
|
12
|
-
defs: {
|
|
13
|
-
main: {
|
|
14
|
-
type: 'record',
|
|
15
|
-
description: 'A declaration of a Clio account profile.',
|
|
16
|
-
key: 'literal:self',
|
|
17
|
-
record: {
|
|
18
|
-
type: 'object',
|
|
19
|
-
properties: {
|
|
20
|
-
displayName: {
|
|
21
|
-
type: 'string',
|
|
22
|
-
maxGraphemes: 64,
|
|
23
|
-
maxLength: 640,
|
|
24
|
-
},
|
|
25
|
-
description: {
|
|
26
|
-
type: 'string',
|
|
27
|
-
description: 'Free-form profile description text.',
|
|
28
|
-
maxGraphemes: 256,
|
|
29
|
-
maxLength: 2560,
|
|
30
|
-
},
|
|
31
|
-
avatar: {
|
|
32
|
-
type: 'blob',
|
|
33
|
-
description: "Small image to be displayed next to posts from account. AKA, 'profile picture'",
|
|
34
|
-
accept: ['image/png', 'image/jpeg'],
|
|
35
|
-
maxSize: 1000000,
|
|
36
|
-
},
|
|
37
|
-
banner: {
|
|
38
|
-
type: 'blob',
|
|
39
|
-
description: 'Larger horizontal image to display behind profile view.',
|
|
40
|
-
accept: ['image/png', 'image/jpeg'],
|
|
41
|
-
maxSize: 1000000,
|
|
42
|
-
},
|
|
43
|
-
pinnedPlaylistIdea: {
|
|
44
|
-
type: 'ref',
|
|
45
|
-
ref: 'lex:com.atproto.repo.strongRef',
|
|
46
|
-
},
|
|
47
|
-
createdAt: {
|
|
48
|
-
type: 'string',
|
|
49
|
-
format: 'datetime',
|
|
50
|
-
},
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
},
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
ComClioplaylistsAlphaFeedDefs: {
|
|
57
|
-
lexicon: 1,
|
|
58
|
-
id: 'com.clioplaylists.alpha.feed.defs',
|
|
59
|
-
description: "A song's definitions, which can be used to build playlists.",
|
|
60
|
-
defs: {
|
|
61
|
-
song: {
|
|
62
|
-
type: 'object',
|
|
63
|
-
required: ['trackName', 'artistNames', 'trackMbId', 'artistMbIds'],
|
|
64
|
-
properties: {
|
|
65
|
-
trackName: {
|
|
66
|
-
type: 'string',
|
|
67
|
-
description: 'The title of the track.',
|
|
68
|
-
maxLength: 2560,
|
|
69
|
-
maxGraphemes: 256,
|
|
70
|
-
},
|
|
71
|
-
artistNames: {
|
|
72
|
-
type: 'array',
|
|
73
|
-
description: 'Array of artist names in order of original appearance.',
|
|
74
|
-
items: {
|
|
75
|
-
type: 'string',
|
|
76
|
-
minLength: 1,
|
|
77
|
-
maxLength: 2560,
|
|
78
|
-
maxGraphemes: 256,
|
|
79
|
-
},
|
|
80
|
-
maxLength: 20,
|
|
81
|
-
},
|
|
82
|
-
trackMbId: {
|
|
83
|
-
type: 'string',
|
|
84
|
-
description: 'The MusicBrainz ID of the track.',
|
|
85
|
-
maxLength: 36,
|
|
86
|
-
},
|
|
87
|
-
artistMbIds: {
|
|
88
|
-
type: 'array',
|
|
89
|
-
description: 'Array of Musicbrainz artist IDs.',
|
|
90
|
-
items: {
|
|
91
|
-
type: 'string',
|
|
92
|
-
maxLength: 36,
|
|
93
|
-
},
|
|
94
|
-
maxLength: 20,
|
|
95
|
-
},
|
|
96
|
-
albumArtwork: {
|
|
97
|
-
type: 'blob',
|
|
98
|
-
description: "Image associated with the song's album.",
|
|
99
|
-
accept: ['image/png', 'image/jpeg'],
|
|
100
|
-
maxSize: 4000000,
|
|
101
|
-
},
|
|
102
|
-
createdAt: {
|
|
103
|
-
type: 'string',
|
|
104
|
-
format: 'datetime',
|
|
105
|
-
description: 'Client-declared timestamp when this record was originally created.',
|
|
106
|
-
},
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
songView: {
|
|
110
|
-
type: 'object',
|
|
111
|
-
required: ['trackName', 'artistNames', 'trackMbId', 'artistMbIds'],
|
|
112
|
-
properties: {
|
|
113
|
-
trackName: {
|
|
114
|
-
type: 'string',
|
|
115
|
-
maxLength: 2560,
|
|
116
|
-
maxGraphemes: 256,
|
|
117
|
-
},
|
|
118
|
-
artistNames: {
|
|
119
|
-
type: 'array',
|
|
120
|
-
items: {
|
|
121
|
-
type: 'string',
|
|
122
|
-
minLength: 1,
|
|
123
|
-
maxLength: 2560,
|
|
124
|
-
maxGraphemes: 256,
|
|
125
|
-
},
|
|
126
|
-
maxLength: 20,
|
|
127
|
-
},
|
|
128
|
-
trackMbId: {
|
|
129
|
-
type: 'string',
|
|
130
|
-
maxLength: 36,
|
|
131
|
-
},
|
|
132
|
-
artistMbIds: {
|
|
133
|
-
type: 'array',
|
|
134
|
-
items: {
|
|
135
|
-
type: 'string',
|
|
136
|
-
maxLength: 36,
|
|
137
|
-
},
|
|
138
|
-
maxLength: 20,
|
|
139
|
-
},
|
|
140
|
-
albumArtwork: {
|
|
141
|
-
type: 'blob',
|
|
142
|
-
accept: ['image/png', 'image/jpeg'],
|
|
143
|
-
maxSize: 4000000,
|
|
144
|
-
},
|
|
145
|
-
indexedAt: {
|
|
146
|
-
type: 'string',
|
|
147
|
-
format: 'datetime',
|
|
148
|
-
},
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
ComClioplaylistsAlphaFeedGetSongs: {
|
|
154
|
-
lexicon: 1,
|
|
155
|
-
id: 'com.clioplaylists.alpha.feed.getSongs',
|
|
156
|
-
defs: {
|
|
157
|
-
main: {
|
|
158
|
-
type: 'query',
|
|
159
|
-
description: '',
|
|
160
|
-
parameters: {
|
|
161
|
-
type: 'params',
|
|
162
|
-
required: [],
|
|
163
|
-
properties: {
|
|
164
|
-
trackMbIds: {
|
|
165
|
-
type: 'array',
|
|
166
|
-
description: 'List of MusicBrainz IDs for the songs to return',
|
|
167
|
-
items: {
|
|
168
|
-
type: 'string',
|
|
169
|
-
maxLength: 36,
|
|
170
|
-
},
|
|
171
|
-
maxLength: 500,
|
|
172
|
-
},
|
|
173
|
-
},
|
|
174
|
-
},
|
|
175
|
-
output: {
|
|
176
|
-
encoding: 'application/json',
|
|
177
|
-
schema: {
|
|
178
|
-
type: 'object',
|
|
179
|
-
required: ['songs'],
|
|
180
|
-
properties: {
|
|
181
|
-
songs: {
|
|
182
|
-
type: 'array',
|
|
183
|
-
items: {
|
|
184
|
-
type: 'ref',
|
|
185
|
-
ref: 'lex:com.clioplaylists.alpha.feed.defs#songView',
|
|
186
|
-
},
|
|
187
|
-
},
|
|
188
|
-
},
|
|
189
|
-
},
|
|
190
|
-
},
|
|
191
|
-
},
|
|
192
|
-
},
|
|
193
|
-
},
|
|
194
|
-
ComClioplaylistsAlphaFeedPlaylistIdea: {
|
|
195
|
-
lexicon: 1,
|
|
196
|
-
id: 'com.clioplaylists.alpha.feed.playlistIdea',
|
|
197
|
-
description: 'A playlist idea.',
|
|
198
|
-
defs: {
|
|
199
|
-
main: {
|
|
200
|
-
type: 'record',
|
|
201
|
-
key: 'tid',
|
|
202
|
-
record: {
|
|
203
|
-
type: 'object',
|
|
204
|
-
required: ['title', 'creatorDid', 'ownerDid', 'createdAt'],
|
|
205
|
-
properties: {
|
|
206
|
-
title: {
|
|
207
|
-
type: 'string',
|
|
208
|
-
description: 'A concise title that gives other users an idea of the vibe of the playlist.',
|
|
209
|
-
minLength: 1,
|
|
210
|
-
maxGraphemes: 256,
|
|
211
|
-
maxLength: 2560,
|
|
212
|
-
},
|
|
213
|
-
description: {
|
|
214
|
-
type: 'string',
|
|
215
|
-
minLength: 1,
|
|
216
|
-
maxGraphemes: 500,
|
|
217
|
-
maxLength: 5000,
|
|
218
|
-
description: 'A description of the playlist that explains more about what the user is looking for from the playlist.',
|
|
219
|
-
},
|
|
220
|
-
creatorDid: {
|
|
221
|
-
type: 'string',
|
|
222
|
-
format: 'did',
|
|
223
|
-
},
|
|
224
|
-
ownerDid: {
|
|
225
|
-
type: 'string',
|
|
226
|
-
format: 'did',
|
|
227
|
-
},
|
|
228
|
-
masterPlaylist: {
|
|
229
|
-
type: 'ref',
|
|
230
|
-
ref: 'lex:com.clioplaylists.alpha.feed.playlistIdea#masterPlaylist',
|
|
231
|
-
},
|
|
232
|
-
recommendedPlaylist: {
|
|
233
|
-
type: 'ref',
|
|
234
|
-
ref: 'lex:com.clioplaylists.alpha.feed.playlistIdea#recommendedPlaylist',
|
|
235
|
-
},
|
|
236
|
-
createdAt: {
|
|
237
|
-
type: 'string',
|
|
238
|
-
format: 'datetime',
|
|
239
|
-
description: 'Client-declared timestamp when this record was originally created.',
|
|
240
|
-
},
|
|
241
|
-
},
|
|
242
|
-
},
|
|
243
|
-
},
|
|
244
|
-
masterPlaylist: {
|
|
245
|
-
type: 'object',
|
|
246
|
-
required: ['songs'],
|
|
247
|
-
properties: {
|
|
248
|
-
songs: {
|
|
249
|
-
type: 'array',
|
|
250
|
-
items: {
|
|
251
|
-
type: 'ref',
|
|
252
|
-
ref: 'lex:com.clioplaylists.alpha.feed.defs#song',
|
|
253
|
-
},
|
|
254
|
-
maxLength: 100,
|
|
255
|
-
},
|
|
256
|
-
},
|
|
257
|
-
},
|
|
258
|
-
recommendedPlaylist: {
|
|
259
|
-
type: 'object',
|
|
260
|
-
required: ['songs'],
|
|
261
|
-
properties: {
|
|
262
|
-
songs: {
|
|
263
|
-
type: 'array',
|
|
264
|
-
items: {
|
|
265
|
-
type: 'ref',
|
|
266
|
-
ref: 'lex:com.clioplaylists.alpha.feed.defs#song',
|
|
267
|
-
},
|
|
268
|
-
maxLength: 500,
|
|
269
|
-
},
|
|
270
|
-
},
|
|
271
|
-
},
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
ComAtprotoAdminDefs: {
|
|
275
|
-
lexicon: 1,
|
|
276
|
-
id: 'com.atproto.admin.defs',
|
|
277
|
-
defs: {
|
|
278
|
-
statusAttr: {
|
|
279
|
-
type: 'object',
|
|
280
|
-
required: ['applied'],
|
|
281
|
-
properties: {
|
|
282
|
-
applied: {
|
|
283
|
-
type: 'boolean',
|
|
284
|
-
},
|
|
285
|
-
ref: {
|
|
286
|
-
type: 'string',
|
|
287
|
-
},
|
|
288
|
-
},
|
|
289
|
-
},
|
|
290
|
-
accountView: {
|
|
291
|
-
type: 'object',
|
|
292
|
-
required: ['did', 'handle', 'indexedAt'],
|
|
293
|
-
properties: {
|
|
294
|
-
did: {
|
|
295
|
-
type: 'string',
|
|
296
|
-
format: 'did',
|
|
297
|
-
},
|
|
298
|
-
handle: {
|
|
299
|
-
type: 'string',
|
|
300
|
-
format: 'handle',
|
|
301
|
-
},
|
|
302
|
-
email: {
|
|
303
|
-
type: 'string',
|
|
304
|
-
},
|
|
305
|
-
relatedRecords: {
|
|
306
|
-
type: 'array',
|
|
307
|
-
items: {
|
|
308
|
-
type: 'unknown',
|
|
309
|
-
},
|
|
310
|
-
},
|
|
311
|
-
indexedAt: {
|
|
312
|
-
type: 'string',
|
|
313
|
-
format: 'datetime',
|
|
314
|
-
},
|
|
315
|
-
invitedBy: {
|
|
316
|
-
type: 'ref',
|
|
317
|
-
ref: 'lex:com.atproto.server.defs#inviteCode',
|
|
318
|
-
},
|
|
319
|
-
invites: {
|
|
320
|
-
type: 'array',
|
|
321
|
-
items: {
|
|
322
|
-
type: 'ref',
|
|
323
|
-
ref: 'lex:com.atproto.server.defs#inviteCode',
|
|
324
|
-
},
|
|
325
|
-
},
|
|
326
|
-
invitesDisabled: {
|
|
327
|
-
type: 'boolean',
|
|
328
|
-
},
|
|
329
|
-
emailConfirmedAt: {
|
|
330
|
-
type: 'string',
|
|
331
|
-
format: 'datetime',
|
|
332
|
-
},
|
|
333
|
-
inviteNote: {
|
|
334
|
-
type: 'string',
|
|
335
|
-
},
|
|
336
|
-
deactivatedAt: {
|
|
337
|
-
type: 'string',
|
|
338
|
-
format: 'datetime',
|
|
339
|
-
},
|
|
340
|
-
threatSignatures: {
|
|
341
|
-
type: 'array',
|
|
342
|
-
items: {
|
|
343
|
-
type: 'ref',
|
|
344
|
-
ref: 'lex:com.atproto.admin.defs#threatSignature',
|
|
345
|
-
},
|
|
346
|
-
},
|
|
347
|
-
},
|
|
348
|
-
},
|
|
349
|
-
repoRef: {
|
|
350
|
-
type: 'object',
|
|
351
|
-
required: ['did'],
|
|
352
|
-
properties: {
|
|
353
|
-
did: {
|
|
354
|
-
type: 'string',
|
|
355
|
-
format: 'did',
|
|
356
|
-
},
|
|
357
|
-
},
|
|
358
|
-
},
|
|
359
|
-
repoBlobRef: {
|
|
360
|
-
type: 'object',
|
|
361
|
-
required: ['did', 'cid'],
|
|
362
|
-
properties: {
|
|
363
|
-
did: {
|
|
364
|
-
type: 'string',
|
|
365
|
-
format: 'did',
|
|
366
|
-
},
|
|
367
|
-
cid: {
|
|
368
|
-
type: 'string',
|
|
369
|
-
format: 'cid',
|
|
370
|
-
},
|
|
371
|
-
recordUri: {
|
|
372
|
-
type: 'string',
|
|
373
|
-
format: 'at-uri',
|
|
374
|
-
},
|
|
375
|
-
},
|
|
376
|
-
},
|
|
377
|
-
threatSignature: {
|
|
378
|
-
type: 'object',
|
|
379
|
-
required: ['property', 'value'],
|
|
380
|
-
properties: {
|
|
381
|
-
property: {
|
|
382
|
-
type: 'string',
|
|
383
|
-
},
|
|
384
|
-
value: {
|
|
385
|
-
type: 'string',
|
|
386
|
-
},
|
|
387
|
-
},
|
|
388
|
-
},
|
|
389
|
-
},
|
|
390
|
-
},
|
|
391
|
-
ComAtprotoAdminDeleteAccount: {
|
|
392
|
-
lexicon: 1,
|
|
393
|
-
id: 'com.atproto.admin.deleteAccount',
|
|
394
|
-
defs: {
|
|
395
|
-
main: {
|
|
396
|
-
type: 'procedure',
|
|
397
|
-
description: 'Delete a user account as an administrator.',
|
|
398
|
-
input: {
|
|
399
|
-
encoding: 'application/json',
|
|
400
|
-
schema: {
|
|
401
|
-
type: 'object',
|
|
402
|
-
required: ['did'],
|
|
403
|
-
properties: {
|
|
404
|
-
did: {
|
|
405
|
-
type: 'string',
|
|
406
|
-
format: 'did',
|
|
407
|
-
},
|
|
408
|
-
},
|
|
409
|
-
},
|
|
410
|
-
},
|
|
411
|
-
},
|
|
412
|
-
},
|
|
413
|
-
},
|
|
414
|
-
ComAtprotoAdminDisableAccountInvites: {
|
|
415
|
-
lexicon: 1,
|
|
416
|
-
id: 'com.atproto.admin.disableAccountInvites',
|
|
417
|
-
defs: {
|
|
418
|
-
main: {
|
|
419
|
-
type: 'procedure',
|
|
420
|
-
description: 'Disable an account from receiving new invite codes, but does not invalidate existing codes.',
|
|
421
|
-
input: {
|
|
422
|
-
encoding: 'application/json',
|
|
423
|
-
schema: {
|
|
424
|
-
type: 'object',
|
|
425
|
-
required: ['account'],
|
|
426
|
-
properties: {
|
|
427
|
-
account: {
|
|
428
|
-
type: 'string',
|
|
429
|
-
format: 'did',
|
|
430
|
-
},
|
|
431
|
-
note: {
|
|
432
|
-
type: 'string',
|
|
433
|
-
description: 'Optional reason for disabled invites.',
|
|
434
|
-
},
|
|
435
|
-
},
|
|
436
|
-
},
|
|
437
|
-
},
|
|
438
|
-
},
|
|
439
|
-
},
|
|
440
|
-
},
|
|
441
|
-
ComAtprotoAdminDisableInviteCodes: {
|
|
442
|
-
lexicon: 1,
|
|
443
|
-
id: 'com.atproto.admin.disableInviteCodes',
|
|
444
|
-
defs: {
|
|
445
|
-
main: {
|
|
446
|
-
type: 'procedure',
|
|
447
|
-
description: 'Disable some set of codes and/or all codes associated with a set of users.',
|
|
448
|
-
input: {
|
|
449
|
-
encoding: 'application/json',
|
|
450
|
-
schema: {
|
|
451
|
-
type: 'object',
|
|
452
|
-
properties: {
|
|
453
|
-
codes: {
|
|
454
|
-
type: 'array',
|
|
455
|
-
items: {
|
|
456
|
-
type: 'string',
|
|
457
|
-
},
|
|
458
|
-
},
|
|
459
|
-
accounts: {
|
|
460
|
-
type: 'array',
|
|
461
|
-
items: {
|
|
462
|
-
type: 'string',
|
|
463
|
-
},
|
|
464
|
-
},
|
|
465
|
-
},
|
|
466
|
-
},
|
|
467
|
-
},
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
},
|
|
471
|
-
ComAtprotoAdminEnableAccountInvites: {
|
|
472
|
-
lexicon: 1,
|
|
473
|
-
id: 'com.atproto.admin.enableAccountInvites',
|
|
474
|
-
defs: {
|
|
475
|
-
main: {
|
|
476
|
-
type: 'procedure',
|
|
477
|
-
description: "Re-enable an account's ability to receive invite codes.",
|
|
478
|
-
input: {
|
|
479
|
-
encoding: 'application/json',
|
|
480
|
-
schema: {
|
|
481
|
-
type: 'object',
|
|
482
|
-
required: ['account'],
|
|
483
|
-
properties: {
|
|
484
|
-
account: {
|
|
485
|
-
type: 'string',
|
|
486
|
-
format: 'did',
|
|
487
|
-
},
|
|
488
|
-
note: {
|
|
489
|
-
type: 'string',
|
|
490
|
-
description: 'Optional reason for enabled invites.',
|
|
491
|
-
},
|
|
492
|
-
},
|
|
493
|
-
},
|
|
494
|
-
},
|
|
495
|
-
},
|
|
496
|
-
},
|
|
497
|
-
},
|
|
498
|
-
ComAtprotoAdminGetAccountInfo: {
|
|
499
|
-
lexicon: 1,
|
|
500
|
-
id: 'com.atproto.admin.getAccountInfo',
|
|
501
|
-
defs: {
|
|
502
|
-
main: {
|
|
503
|
-
type: 'query',
|
|
504
|
-
description: 'Get details about an account.',
|
|
505
|
-
parameters: {
|
|
506
|
-
type: 'params',
|
|
507
|
-
required: ['did'],
|
|
508
|
-
properties: {
|
|
509
|
-
did: {
|
|
510
|
-
type: 'string',
|
|
511
|
-
format: 'did',
|
|
512
|
-
},
|
|
513
|
-
},
|
|
514
|
-
},
|
|
515
|
-
output: {
|
|
516
|
-
encoding: 'application/json',
|
|
517
|
-
schema: {
|
|
518
|
-
type: 'ref',
|
|
519
|
-
ref: 'lex:com.atproto.admin.defs#accountView',
|
|
520
|
-
},
|
|
521
|
-
},
|
|
522
|
-
},
|
|
523
|
-
},
|
|
524
|
-
},
|
|
525
|
-
ComAtprotoAdminGetAccountInfos: {
|
|
526
|
-
lexicon: 1,
|
|
527
|
-
id: 'com.atproto.admin.getAccountInfos',
|
|
528
|
-
defs: {
|
|
529
|
-
main: {
|
|
530
|
-
type: 'query',
|
|
531
|
-
description: 'Get details about some accounts.',
|
|
532
|
-
parameters: {
|
|
533
|
-
type: 'params',
|
|
534
|
-
required: ['dids'],
|
|
535
|
-
properties: {
|
|
536
|
-
dids: {
|
|
537
|
-
type: 'array',
|
|
538
|
-
items: {
|
|
539
|
-
type: 'string',
|
|
540
|
-
format: 'did',
|
|
541
|
-
},
|
|
542
|
-
},
|
|
543
|
-
},
|
|
544
|
-
},
|
|
545
|
-
output: {
|
|
546
|
-
encoding: 'application/json',
|
|
547
|
-
schema: {
|
|
548
|
-
type: 'object',
|
|
549
|
-
required: ['infos'],
|
|
550
|
-
properties: {
|
|
551
|
-
infos: {
|
|
552
|
-
type: 'array',
|
|
553
|
-
items: {
|
|
554
|
-
type: 'ref',
|
|
555
|
-
ref: 'lex:com.atproto.admin.defs#accountView',
|
|
556
|
-
},
|
|
557
|
-
},
|
|
558
|
-
},
|
|
559
|
-
},
|
|
560
|
-
},
|
|
561
|
-
},
|
|
562
|
-
},
|
|
563
|
-
},
|
|
564
|
-
ComAtprotoAdminGetInviteCodes: {
|
|
565
|
-
lexicon: 1,
|
|
566
|
-
id: 'com.atproto.admin.getInviteCodes',
|
|
567
|
-
defs: {
|
|
568
|
-
main: {
|
|
569
|
-
type: 'query',
|
|
570
|
-
description: 'Get an admin view of invite codes.',
|
|
571
|
-
parameters: {
|
|
572
|
-
type: 'params',
|
|
573
|
-
properties: {
|
|
574
|
-
sort: {
|
|
575
|
-
type: 'string',
|
|
576
|
-
knownValues: ['recent', 'usage'],
|
|
577
|
-
default: 'recent',
|
|
578
|
-
},
|
|
579
|
-
limit: {
|
|
580
|
-
type: 'integer',
|
|
581
|
-
minimum: 1,
|
|
582
|
-
maximum: 500,
|
|
583
|
-
default: 100,
|
|
584
|
-
},
|
|
585
|
-
cursor: {
|
|
586
|
-
type: 'string',
|
|
587
|
-
},
|
|
588
|
-
},
|
|
589
|
-
},
|
|
590
|
-
output: {
|
|
591
|
-
encoding: 'application/json',
|
|
592
|
-
schema: {
|
|
593
|
-
type: 'object',
|
|
594
|
-
required: ['codes'],
|
|
595
|
-
properties: {
|
|
596
|
-
cursor: {
|
|
597
|
-
type: 'string',
|
|
598
|
-
},
|
|
599
|
-
codes: {
|
|
600
|
-
type: 'array',
|
|
601
|
-
items: {
|
|
602
|
-
type: 'ref',
|
|
603
|
-
ref: 'lex:com.atproto.server.defs#inviteCode',
|
|
604
|
-
},
|
|
605
|
-
},
|
|
606
|
-
},
|
|
607
|
-
},
|
|
608
|
-
},
|
|
609
|
-
},
|
|
610
|
-
},
|
|
611
|
-
},
|
|
612
|
-
ComAtprotoAdminGetSubjectStatus: {
|
|
613
|
-
lexicon: 1,
|
|
614
|
-
id: 'com.atproto.admin.getSubjectStatus',
|
|
615
|
-
defs: {
|
|
616
|
-
main: {
|
|
617
|
-
type: 'query',
|
|
618
|
-
description: 'Get the service-specific admin status of a subject (account, record, or blob).',
|
|
619
|
-
parameters: {
|
|
620
|
-
type: 'params',
|
|
621
|
-
properties: {
|
|
622
|
-
did: {
|
|
623
|
-
type: 'string',
|
|
624
|
-
format: 'did',
|
|
625
|
-
},
|
|
626
|
-
uri: {
|
|
627
|
-
type: 'string',
|
|
628
|
-
format: 'at-uri',
|
|
629
|
-
},
|
|
630
|
-
blob: {
|
|
631
|
-
type: 'string',
|
|
632
|
-
format: 'cid',
|
|
633
|
-
},
|
|
634
|
-
},
|
|
635
|
-
},
|
|
636
|
-
output: {
|
|
637
|
-
encoding: 'application/json',
|
|
638
|
-
schema: {
|
|
639
|
-
type: 'object',
|
|
640
|
-
required: ['subject'],
|
|
641
|
-
properties: {
|
|
642
|
-
subject: {
|
|
643
|
-
type: 'union',
|
|
644
|
-
refs: [
|
|
645
|
-
'lex:com.atproto.admin.defs#repoRef',
|
|
646
|
-
'lex:com.atproto.repo.strongRef',
|
|
647
|
-
'lex:com.atproto.admin.defs#repoBlobRef',
|
|
648
|
-
],
|
|
649
|
-
},
|
|
650
|
-
takedown: {
|
|
651
|
-
type: 'ref',
|
|
652
|
-
ref: 'lex:com.atproto.admin.defs#statusAttr',
|
|
653
|
-
},
|
|
654
|
-
deactivated: {
|
|
655
|
-
type: 'ref',
|
|
656
|
-
ref: 'lex:com.atproto.admin.defs#statusAttr',
|
|
657
|
-
},
|
|
658
|
-
},
|
|
659
|
-
},
|
|
660
|
-
},
|
|
661
|
-
},
|
|
662
|
-
},
|
|
663
|
-
},
|
|
664
|
-
ComAtprotoAdminSearchAccounts: {
|
|
665
|
-
lexicon: 1,
|
|
666
|
-
id: 'com.atproto.admin.searchAccounts',
|
|
667
|
-
defs: {
|
|
668
|
-
main: {
|
|
669
|
-
type: 'query',
|
|
670
|
-
description: 'Get list of accounts that matches your search query.',
|
|
671
|
-
parameters: {
|
|
672
|
-
type: 'params',
|
|
673
|
-
properties: {
|
|
674
|
-
email: {
|
|
675
|
-
type: 'string',
|
|
676
|
-
},
|
|
677
|
-
cursor: {
|
|
678
|
-
type: 'string',
|
|
679
|
-
},
|
|
680
|
-
limit: {
|
|
681
|
-
type: 'integer',
|
|
682
|
-
minimum: 1,
|
|
683
|
-
maximum: 100,
|
|
684
|
-
default: 50,
|
|
685
|
-
},
|
|
686
|
-
},
|
|
687
|
-
},
|
|
688
|
-
output: {
|
|
689
|
-
encoding: 'application/json',
|
|
690
|
-
schema: {
|
|
691
|
-
type: 'object',
|
|
692
|
-
required: ['accounts'],
|
|
693
|
-
properties: {
|
|
694
|
-
cursor: {
|
|
695
|
-
type: 'string',
|
|
696
|
-
},
|
|
697
|
-
accounts: {
|
|
698
|
-
type: 'array',
|
|
699
|
-
items: {
|
|
700
|
-
type: 'ref',
|
|
701
|
-
ref: 'lex:com.atproto.admin.defs#accountView',
|
|
702
|
-
},
|
|
703
|
-
},
|
|
704
|
-
},
|
|
705
|
-
},
|
|
706
|
-
},
|
|
707
|
-
},
|
|
708
|
-
},
|
|
709
|
-
},
|
|
710
|
-
ComAtprotoAdminSendEmail: {
|
|
711
|
-
lexicon: 1,
|
|
712
|
-
id: 'com.atproto.admin.sendEmail',
|
|
713
|
-
defs: {
|
|
714
|
-
main: {
|
|
715
|
-
type: 'procedure',
|
|
716
|
-
description: "Send email to a user's account email address.",
|
|
717
|
-
input: {
|
|
718
|
-
encoding: 'application/json',
|
|
719
|
-
schema: {
|
|
720
|
-
type: 'object',
|
|
721
|
-
required: ['recipientDid', 'content', 'senderDid'],
|
|
722
|
-
properties: {
|
|
723
|
-
recipientDid: {
|
|
724
|
-
type: 'string',
|
|
725
|
-
format: 'did',
|
|
726
|
-
},
|
|
727
|
-
content: {
|
|
728
|
-
type: 'string',
|
|
729
|
-
},
|
|
730
|
-
subject: {
|
|
731
|
-
type: 'string',
|
|
732
|
-
},
|
|
733
|
-
senderDid: {
|
|
734
|
-
type: 'string',
|
|
735
|
-
format: 'did',
|
|
736
|
-
},
|
|
737
|
-
comment: {
|
|
738
|
-
type: 'string',
|
|
739
|
-
description: "Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers",
|
|
740
|
-
},
|
|
741
|
-
},
|
|
742
|
-
},
|
|
743
|
-
},
|
|
744
|
-
output: {
|
|
745
|
-
encoding: 'application/json',
|
|
746
|
-
schema: {
|
|
747
|
-
type: 'object',
|
|
748
|
-
required: ['sent'],
|
|
749
|
-
properties: {
|
|
750
|
-
sent: {
|
|
751
|
-
type: 'boolean',
|
|
752
|
-
},
|
|
753
|
-
},
|
|
754
|
-
},
|
|
755
|
-
},
|
|
756
|
-
},
|
|
757
|
-
},
|
|
758
|
-
},
|
|
759
|
-
ComAtprotoAdminUpdateAccountEmail: {
|
|
760
|
-
lexicon: 1,
|
|
761
|
-
id: 'com.atproto.admin.updateAccountEmail',
|
|
762
|
-
defs: {
|
|
763
|
-
main: {
|
|
764
|
-
type: 'procedure',
|
|
765
|
-
description: "Administrative action to update an account's email.",
|
|
766
|
-
input: {
|
|
767
|
-
encoding: 'application/json',
|
|
768
|
-
schema: {
|
|
769
|
-
type: 'object',
|
|
770
|
-
required: ['account', 'email'],
|
|
771
|
-
properties: {
|
|
772
|
-
account: {
|
|
773
|
-
type: 'string',
|
|
774
|
-
format: 'at-identifier',
|
|
775
|
-
description: 'The handle or DID of the repo.',
|
|
776
|
-
},
|
|
777
|
-
email: {
|
|
778
|
-
type: 'string',
|
|
779
|
-
},
|
|
780
|
-
},
|
|
781
|
-
},
|
|
782
|
-
},
|
|
783
|
-
},
|
|
784
|
-
},
|
|
785
|
-
},
|
|
786
|
-
ComAtprotoAdminUpdateAccountHandle: {
|
|
787
|
-
lexicon: 1,
|
|
788
|
-
id: 'com.atproto.admin.updateAccountHandle',
|
|
789
|
-
defs: {
|
|
790
|
-
main: {
|
|
791
|
-
type: 'procedure',
|
|
792
|
-
description: "Administrative action to update an account's handle.",
|
|
793
|
-
input: {
|
|
794
|
-
encoding: 'application/json',
|
|
795
|
-
schema: {
|
|
796
|
-
type: 'object',
|
|
797
|
-
required: ['did', 'handle'],
|
|
798
|
-
properties: {
|
|
799
|
-
did: {
|
|
800
|
-
type: 'string',
|
|
801
|
-
format: 'did',
|
|
802
|
-
},
|
|
803
|
-
handle: {
|
|
804
|
-
type: 'string',
|
|
805
|
-
format: 'handle',
|
|
806
|
-
},
|
|
807
|
-
},
|
|
808
|
-
},
|
|
809
|
-
},
|
|
810
|
-
},
|
|
811
|
-
},
|
|
812
|
-
},
|
|
813
|
-
ComAtprotoAdminUpdateAccountPassword: {
|
|
814
|
-
lexicon: 1,
|
|
815
|
-
id: 'com.atproto.admin.updateAccountPassword',
|
|
816
|
-
defs: {
|
|
817
|
-
main: {
|
|
818
|
-
type: 'procedure',
|
|
819
|
-
description: 'Update the password for a user account as an administrator.',
|
|
820
|
-
input: {
|
|
821
|
-
encoding: 'application/json',
|
|
822
|
-
schema: {
|
|
823
|
-
type: 'object',
|
|
824
|
-
required: ['did', 'password'],
|
|
825
|
-
properties: {
|
|
826
|
-
did: {
|
|
827
|
-
type: 'string',
|
|
828
|
-
format: 'did',
|
|
829
|
-
},
|
|
830
|
-
password: {
|
|
831
|
-
type: 'string',
|
|
832
|
-
},
|
|
833
|
-
},
|
|
834
|
-
},
|
|
835
|
-
},
|
|
836
|
-
},
|
|
837
|
-
},
|
|
838
|
-
},
|
|
839
|
-
ComAtprotoAdminUpdateSubjectStatus: {
|
|
840
|
-
lexicon: 1,
|
|
841
|
-
id: 'com.atproto.admin.updateSubjectStatus',
|
|
842
|
-
defs: {
|
|
843
|
-
main: {
|
|
844
|
-
type: 'procedure',
|
|
845
|
-
description: 'Update the service-specific admin status of a subject (account, record, or blob).',
|
|
846
|
-
input: {
|
|
847
|
-
encoding: 'application/json',
|
|
848
|
-
schema: {
|
|
849
|
-
type: 'object',
|
|
850
|
-
required: ['subject'],
|
|
851
|
-
properties: {
|
|
852
|
-
subject: {
|
|
853
|
-
type: 'union',
|
|
854
|
-
refs: [
|
|
855
|
-
'lex:com.atproto.admin.defs#repoRef',
|
|
856
|
-
'lex:com.atproto.repo.strongRef',
|
|
857
|
-
'lex:com.atproto.admin.defs#repoBlobRef',
|
|
858
|
-
],
|
|
859
|
-
},
|
|
860
|
-
takedown: {
|
|
861
|
-
type: 'ref',
|
|
862
|
-
ref: 'lex:com.atproto.admin.defs#statusAttr',
|
|
863
|
-
},
|
|
864
|
-
deactivated: {
|
|
865
|
-
type: 'ref',
|
|
866
|
-
ref: 'lex:com.atproto.admin.defs#statusAttr',
|
|
867
|
-
},
|
|
868
|
-
},
|
|
869
|
-
},
|
|
870
|
-
},
|
|
871
|
-
output: {
|
|
872
|
-
encoding: 'application/json',
|
|
873
|
-
schema: {
|
|
874
|
-
type: 'object',
|
|
875
|
-
required: ['subject'],
|
|
876
|
-
properties: {
|
|
877
|
-
subject: {
|
|
878
|
-
type: 'union',
|
|
879
|
-
refs: [
|
|
880
|
-
'lex:com.atproto.admin.defs#repoRef',
|
|
881
|
-
'lex:com.atproto.repo.strongRef',
|
|
882
|
-
'lex:com.atproto.admin.defs#repoBlobRef',
|
|
883
|
-
],
|
|
884
|
-
},
|
|
885
|
-
takedown: {
|
|
886
|
-
type: 'ref',
|
|
887
|
-
ref: 'lex:com.atproto.admin.defs#statusAttr',
|
|
888
|
-
},
|
|
889
|
-
},
|
|
890
|
-
},
|
|
891
|
-
},
|
|
892
|
-
},
|
|
893
|
-
},
|
|
894
|
-
},
|
|
895
|
-
ComAtprotoIdentityDefs: {
|
|
896
|
-
lexicon: 1,
|
|
897
|
-
id: 'com.atproto.identity.defs',
|
|
898
|
-
defs: {
|
|
899
|
-
identityInfo: {
|
|
900
|
-
type: 'object',
|
|
901
|
-
required: ['did', 'handle', 'didDoc'],
|
|
902
|
-
properties: {
|
|
903
|
-
did: {
|
|
904
|
-
type: 'string',
|
|
905
|
-
format: 'did',
|
|
906
|
-
},
|
|
907
|
-
handle: {
|
|
908
|
-
type: 'string',
|
|
909
|
-
format: 'handle',
|
|
910
|
-
description: "The validated handle of the account; or 'handle.invalid' if the handle did not bi-directionally match the DID document.",
|
|
911
|
-
},
|
|
912
|
-
didDoc: {
|
|
913
|
-
type: 'unknown',
|
|
914
|
-
description: 'The complete DID document for the identity.',
|
|
915
|
-
},
|
|
916
|
-
},
|
|
917
|
-
},
|
|
918
|
-
},
|
|
919
|
-
},
|
|
920
|
-
ComAtprotoIdentityGetRecommendedDidCredentials: {
|
|
921
|
-
lexicon: 1,
|
|
922
|
-
id: 'com.atproto.identity.getRecommendedDidCredentials',
|
|
923
|
-
defs: {
|
|
924
|
-
main: {
|
|
925
|
-
type: 'query',
|
|
926
|
-
description: 'Describe the credentials that should be included in the DID doc of an account that is migrating to this service.',
|
|
927
|
-
output: {
|
|
928
|
-
encoding: 'application/json',
|
|
929
|
-
schema: {
|
|
930
|
-
type: 'object',
|
|
931
|
-
properties: {
|
|
932
|
-
rotationKeys: {
|
|
933
|
-
description: 'Recommended rotation keys for PLC dids. Should be undefined (or ignored) for did:webs.',
|
|
934
|
-
type: 'array',
|
|
935
|
-
items: {
|
|
936
|
-
type: 'string',
|
|
937
|
-
},
|
|
938
|
-
},
|
|
939
|
-
alsoKnownAs: {
|
|
940
|
-
type: 'array',
|
|
941
|
-
items: {
|
|
942
|
-
type: 'string',
|
|
943
|
-
},
|
|
944
|
-
},
|
|
945
|
-
verificationMethods: {
|
|
946
|
-
type: 'unknown',
|
|
947
|
-
},
|
|
948
|
-
services: {
|
|
949
|
-
type: 'unknown',
|
|
950
|
-
},
|
|
951
|
-
},
|
|
952
|
-
},
|
|
953
|
-
},
|
|
954
|
-
},
|
|
955
|
-
},
|
|
956
|
-
},
|
|
957
|
-
ComAtprotoIdentityRefreshIdentity: {
|
|
958
|
-
lexicon: 1,
|
|
959
|
-
id: 'com.atproto.identity.refreshIdentity',
|
|
960
|
-
defs: {
|
|
961
|
-
main: {
|
|
962
|
-
type: 'procedure',
|
|
963
|
-
description: 'Request that the server re-resolve an identity (DID and handle). The server may ignore this request, or require authentication, depending on the role, implementation, and policy of the server.',
|
|
964
|
-
input: {
|
|
965
|
-
encoding: 'application/json',
|
|
966
|
-
schema: {
|
|
967
|
-
type: 'object',
|
|
968
|
-
required: ['identifier'],
|
|
969
|
-
properties: {
|
|
970
|
-
identifier: {
|
|
971
|
-
type: 'string',
|
|
972
|
-
format: 'at-identifier',
|
|
973
|
-
},
|
|
974
|
-
},
|
|
975
|
-
},
|
|
976
|
-
},
|
|
977
|
-
output: {
|
|
978
|
-
encoding: 'application/json',
|
|
979
|
-
schema: {
|
|
980
|
-
type: 'ref',
|
|
981
|
-
ref: 'lex:com.atproto.identity.defs#identityInfo',
|
|
982
|
-
},
|
|
983
|
-
},
|
|
984
|
-
errors: [
|
|
985
|
-
{
|
|
986
|
-
name: 'HandleNotFound',
|
|
987
|
-
description: 'The resolution process confirmed that the handle does not resolve to any DID.',
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
name: 'DidNotFound',
|
|
991
|
-
description: 'The DID resolution process confirmed that there is no current DID.',
|
|
992
|
-
},
|
|
993
|
-
{
|
|
994
|
-
name: 'DidDeactivated',
|
|
995
|
-
description: 'The DID previously existed, but has been deactivated.',
|
|
996
|
-
},
|
|
997
|
-
],
|
|
998
|
-
},
|
|
999
|
-
},
|
|
1000
|
-
},
|
|
1001
|
-
ComAtprotoIdentityRequestPlcOperationSignature: {
|
|
1002
|
-
lexicon: 1,
|
|
1003
|
-
id: 'com.atproto.identity.requestPlcOperationSignature',
|
|
1004
|
-
defs: {
|
|
1005
|
-
main: {
|
|
1006
|
-
type: 'procedure',
|
|
1007
|
-
description: 'Request an email with a code to in order to request a signed PLC operation. Requires Auth.',
|
|
1008
|
-
},
|
|
1009
|
-
},
|
|
1010
|
-
},
|
|
1011
|
-
ComAtprotoIdentityResolveDid: {
|
|
1012
|
-
lexicon: 1,
|
|
1013
|
-
id: 'com.atproto.identity.resolveDid',
|
|
1014
|
-
defs: {
|
|
1015
|
-
main: {
|
|
1016
|
-
type: 'query',
|
|
1017
|
-
description: 'Resolves DID to DID document. Does not bi-directionally verify handle.',
|
|
1018
|
-
parameters: {
|
|
1019
|
-
type: 'params',
|
|
1020
|
-
required: ['did'],
|
|
1021
|
-
properties: {
|
|
1022
|
-
did: {
|
|
1023
|
-
type: 'string',
|
|
1024
|
-
format: 'did',
|
|
1025
|
-
description: 'DID to resolve.',
|
|
1026
|
-
},
|
|
1027
|
-
},
|
|
1028
|
-
},
|
|
1029
|
-
output: {
|
|
1030
|
-
encoding: 'application/json',
|
|
1031
|
-
schema: {
|
|
1032
|
-
type: 'object',
|
|
1033
|
-
required: ['didDoc'],
|
|
1034
|
-
properties: {
|
|
1035
|
-
didDoc: {
|
|
1036
|
-
type: 'unknown',
|
|
1037
|
-
description: 'The complete DID document for the identity.',
|
|
1038
|
-
},
|
|
1039
|
-
},
|
|
1040
|
-
},
|
|
1041
|
-
},
|
|
1042
|
-
errors: [
|
|
1043
|
-
{
|
|
1044
|
-
name: 'DidNotFound',
|
|
1045
|
-
description: 'The DID resolution process confirmed that there is no current DID.',
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
name: 'DidDeactivated',
|
|
1049
|
-
description: 'The DID previously existed, but has been deactivated.',
|
|
1050
|
-
},
|
|
1051
|
-
],
|
|
1052
|
-
},
|
|
1053
|
-
},
|
|
1054
|
-
},
|
|
1055
|
-
ComAtprotoIdentityResolveHandle: {
|
|
1056
|
-
lexicon: 1,
|
|
1057
|
-
id: 'com.atproto.identity.resolveHandle',
|
|
1058
|
-
defs: {
|
|
1059
|
-
main: {
|
|
1060
|
-
type: 'query',
|
|
1061
|
-
description: 'Resolves an atproto handle (hostname) to a DID. Does not necessarily bi-directionally verify against the the DID document.',
|
|
1062
|
-
parameters: {
|
|
1063
|
-
type: 'params',
|
|
1064
|
-
required: ['handle'],
|
|
1065
|
-
properties: {
|
|
1066
|
-
handle: {
|
|
1067
|
-
type: 'string',
|
|
1068
|
-
format: 'handle',
|
|
1069
|
-
description: 'The handle to resolve.',
|
|
1070
|
-
},
|
|
1071
|
-
},
|
|
1072
|
-
},
|
|
1073
|
-
output: {
|
|
1074
|
-
encoding: 'application/json',
|
|
1075
|
-
schema: {
|
|
1076
|
-
type: 'object',
|
|
1077
|
-
required: ['did'],
|
|
1078
|
-
properties: {
|
|
1079
|
-
did: {
|
|
1080
|
-
type: 'string',
|
|
1081
|
-
format: 'did',
|
|
1082
|
-
},
|
|
1083
|
-
},
|
|
1084
|
-
},
|
|
1085
|
-
},
|
|
1086
|
-
errors: [
|
|
1087
|
-
{
|
|
1088
|
-
name: 'HandleNotFound',
|
|
1089
|
-
description: 'The resolution process confirmed that the handle does not resolve to any DID.',
|
|
1090
|
-
},
|
|
1091
|
-
],
|
|
1092
|
-
},
|
|
1093
|
-
},
|
|
1094
|
-
},
|
|
1095
|
-
ComAtprotoIdentityResolveIdentity: {
|
|
1096
|
-
lexicon: 1,
|
|
1097
|
-
id: 'com.atproto.identity.resolveIdentity',
|
|
1098
|
-
defs: {
|
|
1099
|
-
main: {
|
|
1100
|
-
type: 'query',
|
|
1101
|
-
description: 'Resolves an identity (DID or Handle) to a full identity (DID document and verified handle).',
|
|
1102
|
-
parameters: {
|
|
1103
|
-
type: 'params',
|
|
1104
|
-
required: ['identifier'],
|
|
1105
|
-
properties: {
|
|
1106
|
-
identifier: {
|
|
1107
|
-
type: 'string',
|
|
1108
|
-
format: 'at-identifier',
|
|
1109
|
-
description: 'Handle or DID to resolve.',
|
|
1110
|
-
},
|
|
1111
|
-
},
|
|
1112
|
-
},
|
|
1113
|
-
output: {
|
|
1114
|
-
encoding: 'application/json',
|
|
1115
|
-
schema: {
|
|
1116
|
-
type: 'ref',
|
|
1117
|
-
ref: 'lex:com.atproto.identity.defs#identityInfo',
|
|
1118
|
-
},
|
|
1119
|
-
},
|
|
1120
|
-
errors: [
|
|
1121
|
-
{
|
|
1122
|
-
name: 'HandleNotFound',
|
|
1123
|
-
description: 'The resolution process confirmed that the handle does not resolve to any DID.',
|
|
1124
|
-
},
|
|
1125
|
-
{
|
|
1126
|
-
name: 'DidNotFound',
|
|
1127
|
-
description: 'The DID resolution process confirmed that there is no current DID.',
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
name: 'DidDeactivated',
|
|
1131
|
-
description: 'The DID previously existed, but has been deactivated.',
|
|
1132
|
-
},
|
|
1133
|
-
],
|
|
1134
|
-
},
|
|
1135
|
-
},
|
|
1136
|
-
},
|
|
1137
|
-
ComAtprotoIdentitySignPlcOperation: {
|
|
1138
|
-
lexicon: 1,
|
|
1139
|
-
id: 'com.atproto.identity.signPlcOperation',
|
|
1140
|
-
defs: {
|
|
1141
|
-
main: {
|
|
1142
|
-
type: 'procedure',
|
|
1143
|
-
description: "Signs a PLC operation to update some value(s) in the requesting DID's document.",
|
|
1144
|
-
input: {
|
|
1145
|
-
encoding: 'application/json',
|
|
1146
|
-
schema: {
|
|
1147
|
-
type: 'object',
|
|
1148
|
-
properties: {
|
|
1149
|
-
token: {
|
|
1150
|
-
description: 'A token received through com.atproto.identity.requestPlcOperationSignature',
|
|
1151
|
-
type: 'string',
|
|
1152
|
-
},
|
|
1153
|
-
rotationKeys: {
|
|
1154
|
-
type: 'array',
|
|
1155
|
-
items: {
|
|
1156
|
-
type: 'string',
|
|
1157
|
-
},
|
|
1158
|
-
},
|
|
1159
|
-
alsoKnownAs: {
|
|
1160
|
-
type: 'array',
|
|
1161
|
-
items: {
|
|
1162
|
-
type: 'string',
|
|
1163
|
-
},
|
|
1164
|
-
},
|
|
1165
|
-
verificationMethods: {
|
|
1166
|
-
type: 'unknown',
|
|
1167
|
-
},
|
|
1168
|
-
services: {
|
|
1169
|
-
type: 'unknown',
|
|
1170
|
-
},
|
|
1171
|
-
},
|
|
1172
|
-
},
|
|
1173
|
-
},
|
|
1174
|
-
output: {
|
|
1175
|
-
encoding: 'application/json',
|
|
1176
|
-
schema: {
|
|
1177
|
-
type: 'object',
|
|
1178
|
-
required: ['operation'],
|
|
1179
|
-
properties: {
|
|
1180
|
-
operation: {
|
|
1181
|
-
type: 'unknown',
|
|
1182
|
-
description: 'A signed DID PLC operation.',
|
|
1183
|
-
},
|
|
1184
|
-
},
|
|
1185
|
-
},
|
|
1186
|
-
},
|
|
1187
|
-
},
|
|
1188
|
-
},
|
|
1189
|
-
},
|
|
1190
|
-
ComAtprotoIdentitySubmitPlcOperation: {
|
|
1191
|
-
lexicon: 1,
|
|
1192
|
-
id: 'com.atproto.identity.submitPlcOperation',
|
|
1193
|
-
defs: {
|
|
1194
|
-
main: {
|
|
1195
|
-
type: 'procedure',
|
|
1196
|
-
description: "Validates a PLC operation to ensure that it doesn't violate a service's constraints or get the identity into a bad state, then submits it to the PLC registry",
|
|
1197
|
-
input: {
|
|
1198
|
-
encoding: 'application/json',
|
|
1199
|
-
schema: {
|
|
1200
|
-
type: 'object',
|
|
1201
|
-
required: ['operation'],
|
|
1202
|
-
properties: {
|
|
1203
|
-
operation: {
|
|
1204
|
-
type: 'unknown',
|
|
1205
|
-
},
|
|
1206
|
-
},
|
|
1207
|
-
},
|
|
1208
|
-
},
|
|
1209
|
-
},
|
|
1210
|
-
},
|
|
1211
|
-
},
|
|
1212
|
-
ComAtprotoIdentityUpdateHandle: {
|
|
1213
|
-
lexicon: 1,
|
|
1214
|
-
id: 'com.atproto.identity.updateHandle',
|
|
1215
|
-
defs: {
|
|
1216
|
-
main: {
|
|
1217
|
-
type: 'procedure',
|
|
1218
|
-
description: "Updates the current account's handle. Verifies handle validity, and updates did:plc document if necessary. Implemented by PDS, and requires auth.",
|
|
1219
|
-
input: {
|
|
1220
|
-
encoding: 'application/json',
|
|
1221
|
-
schema: {
|
|
1222
|
-
type: 'object',
|
|
1223
|
-
required: ['handle'],
|
|
1224
|
-
properties: {
|
|
1225
|
-
handle: {
|
|
1226
|
-
type: 'string',
|
|
1227
|
-
format: 'handle',
|
|
1228
|
-
description: 'The new handle.',
|
|
1229
|
-
},
|
|
1230
|
-
},
|
|
1231
|
-
},
|
|
1232
|
-
},
|
|
1233
|
-
},
|
|
1234
|
-
},
|
|
1235
|
-
},
|
|
1236
|
-
ComAtprotoLabelDefs: {
|
|
1237
|
-
lexicon: 1,
|
|
1238
|
-
id: 'com.atproto.label.defs',
|
|
1239
|
-
defs: {
|
|
1240
|
-
label: {
|
|
1241
|
-
type: 'object',
|
|
1242
|
-
description: 'Metadata tag on an atproto resource (eg, repo or record).',
|
|
1243
|
-
required: ['src', 'uri', 'val', 'cts'],
|
|
1244
|
-
properties: {
|
|
1245
|
-
ver: {
|
|
1246
|
-
type: 'integer',
|
|
1247
|
-
description: 'The AT Protocol version of the label object.',
|
|
1248
|
-
},
|
|
1249
|
-
src: {
|
|
1250
|
-
type: 'string',
|
|
1251
|
-
format: 'did',
|
|
1252
|
-
description: 'DID of the actor who created this label.',
|
|
1253
|
-
},
|
|
1254
|
-
uri: {
|
|
1255
|
-
type: 'string',
|
|
1256
|
-
format: 'uri',
|
|
1257
|
-
description: 'AT URI of the record, repository (account), or other resource that this label applies to.',
|
|
1258
|
-
},
|
|
1259
|
-
cid: {
|
|
1260
|
-
type: 'string',
|
|
1261
|
-
format: 'cid',
|
|
1262
|
-
description: "Optionally, CID specifying the specific version of 'uri' resource this label applies to.",
|
|
1263
|
-
},
|
|
1264
|
-
val: {
|
|
1265
|
-
type: 'string',
|
|
1266
|
-
maxLength: 128,
|
|
1267
|
-
description: 'The short string name of the value or type of this label.',
|
|
1268
|
-
},
|
|
1269
|
-
neg: {
|
|
1270
|
-
type: 'boolean',
|
|
1271
|
-
description: 'If true, this is a negation label, overwriting a previous label.',
|
|
1272
|
-
},
|
|
1273
|
-
cts: {
|
|
1274
|
-
type: 'string',
|
|
1275
|
-
format: 'datetime',
|
|
1276
|
-
description: 'Timestamp when this label was created.',
|
|
1277
|
-
},
|
|
1278
|
-
exp: {
|
|
1279
|
-
type: 'string',
|
|
1280
|
-
format: 'datetime',
|
|
1281
|
-
description: 'Timestamp at which this label expires (no longer applies).',
|
|
1282
|
-
},
|
|
1283
|
-
sig: {
|
|
1284
|
-
type: 'bytes',
|
|
1285
|
-
description: 'Signature of dag-cbor encoded label.',
|
|
1286
|
-
},
|
|
1287
|
-
},
|
|
1288
|
-
},
|
|
1289
|
-
selfLabels: {
|
|
1290
|
-
type: 'object',
|
|
1291
|
-
description: 'Metadata tags on an atproto record, published by the author within the record.',
|
|
1292
|
-
required: ['values'],
|
|
1293
|
-
properties: {
|
|
1294
|
-
values: {
|
|
1295
|
-
type: 'array',
|
|
1296
|
-
items: {
|
|
1297
|
-
type: 'ref',
|
|
1298
|
-
ref: 'lex:com.atproto.label.defs#selfLabel',
|
|
1299
|
-
},
|
|
1300
|
-
maxLength: 10,
|
|
1301
|
-
},
|
|
1302
|
-
},
|
|
1303
|
-
},
|
|
1304
|
-
selfLabel: {
|
|
1305
|
-
type: 'object',
|
|
1306
|
-
description: 'Metadata tag on an atproto record, published by the author within the record. Note that schemas should use #selfLabels, not #selfLabel.',
|
|
1307
|
-
required: ['val'],
|
|
1308
|
-
properties: {
|
|
1309
|
-
val: {
|
|
1310
|
-
type: 'string',
|
|
1311
|
-
maxLength: 128,
|
|
1312
|
-
description: 'The short string name of the value or type of this label.',
|
|
1313
|
-
},
|
|
1314
|
-
},
|
|
1315
|
-
},
|
|
1316
|
-
labelValueDefinition: {
|
|
1317
|
-
type: 'object',
|
|
1318
|
-
description: 'Declares a label value and its expected interpretations and behaviors.',
|
|
1319
|
-
required: ['identifier', 'severity', 'blurs', 'locales'],
|
|
1320
|
-
properties: {
|
|
1321
|
-
identifier: {
|
|
1322
|
-
type: 'string',
|
|
1323
|
-
description: "The value of the label being defined. Must only include lowercase ascii and the '-' character ([a-z-]+).",
|
|
1324
|
-
maxLength: 100,
|
|
1325
|
-
maxGraphemes: 100,
|
|
1326
|
-
},
|
|
1327
|
-
severity: {
|
|
1328
|
-
type: 'string',
|
|
1329
|
-
description: "How should a client visually convey this label? 'inform' means neutral and informational; 'alert' means negative and warning; 'none' means show nothing.",
|
|
1330
|
-
knownValues: ['inform', 'alert', 'none'],
|
|
1331
|
-
},
|
|
1332
|
-
blurs: {
|
|
1333
|
-
type: 'string',
|
|
1334
|
-
description: "What should this label hide in the UI, if applied? 'content' hides all of the target; 'media' hides the images/video/audio; 'none' hides nothing.",
|
|
1335
|
-
knownValues: ['content', 'media', 'none'],
|
|
1336
|
-
},
|
|
1337
|
-
defaultSetting: {
|
|
1338
|
-
type: 'string',
|
|
1339
|
-
description: 'The default setting for this label.',
|
|
1340
|
-
knownValues: ['ignore', 'warn', 'hide'],
|
|
1341
|
-
default: 'warn',
|
|
1342
|
-
},
|
|
1343
|
-
adultOnly: {
|
|
1344
|
-
type: 'boolean',
|
|
1345
|
-
description: 'Does the user need to have adult content enabled in order to configure this label?',
|
|
1346
|
-
},
|
|
1347
|
-
locales: {
|
|
1348
|
-
type: 'array',
|
|
1349
|
-
items: {
|
|
1350
|
-
type: 'ref',
|
|
1351
|
-
ref: 'lex:com.atproto.label.defs#labelValueDefinitionStrings',
|
|
1352
|
-
},
|
|
1353
|
-
},
|
|
1354
|
-
},
|
|
1355
|
-
},
|
|
1356
|
-
labelValueDefinitionStrings: {
|
|
1357
|
-
type: 'object',
|
|
1358
|
-
description: 'Strings which describe the label in the UI, localized into a specific language.',
|
|
1359
|
-
required: ['lang', 'name', 'description'],
|
|
1360
|
-
properties: {
|
|
1361
|
-
lang: {
|
|
1362
|
-
type: 'string',
|
|
1363
|
-
description: 'The code of the language these strings are written in.',
|
|
1364
|
-
format: 'language',
|
|
1365
|
-
},
|
|
1366
|
-
name: {
|
|
1367
|
-
type: 'string',
|
|
1368
|
-
description: 'A short human-readable name for the label.',
|
|
1369
|
-
maxGraphemes: 64,
|
|
1370
|
-
maxLength: 640,
|
|
1371
|
-
},
|
|
1372
|
-
description: {
|
|
1373
|
-
type: 'string',
|
|
1374
|
-
description: 'A longer description of what the label means and why it might be applied.',
|
|
1375
|
-
maxGraphemes: 10000,
|
|
1376
|
-
maxLength: 100000,
|
|
1377
|
-
},
|
|
1378
|
-
},
|
|
1379
|
-
},
|
|
1380
|
-
labelValue: {
|
|
1381
|
-
type: 'string',
|
|
1382
|
-
knownValues: [
|
|
1383
|
-
'!hide',
|
|
1384
|
-
'!no-promote',
|
|
1385
|
-
'!warn',
|
|
1386
|
-
'!no-unauthenticated',
|
|
1387
|
-
'dmca-violation',
|
|
1388
|
-
'doxxing',
|
|
1389
|
-
'porn',
|
|
1390
|
-
'sexual',
|
|
1391
|
-
'nudity',
|
|
1392
|
-
'nsfl',
|
|
1393
|
-
'gore',
|
|
1394
|
-
],
|
|
1395
|
-
},
|
|
1396
|
-
},
|
|
1397
|
-
},
|
|
1398
|
-
ComAtprotoLabelQueryLabels: {
|
|
1399
|
-
lexicon: 1,
|
|
1400
|
-
id: 'com.atproto.label.queryLabels',
|
|
1401
|
-
defs: {
|
|
1402
|
-
main: {
|
|
1403
|
-
type: 'query',
|
|
1404
|
-
description: 'Find labels relevant to the provided AT-URI patterns. Public endpoint for moderation services, though may return different or additional results with auth.',
|
|
1405
|
-
parameters: {
|
|
1406
|
-
type: 'params',
|
|
1407
|
-
required: ['uriPatterns'],
|
|
1408
|
-
properties: {
|
|
1409
|
-
uriPatterns: {
|
|
1410
|
-
type: 'array',
|
|
1411
|
-
items: {
|
|
1412
|
-
type: 'string',
|
|
1413
|
-
},
|
|
1414
|
-
description: "List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match inclusive of the string leading to '*'), or a full URI.",
|
|
1415
|
-
},
|
|
1416
|
-
sources: {
|
|
1417
|
-
type: 'array',
|
|
1418
|
-
items: {
|
|
1419
|
-
type: 'string',
|
|
1420
|
-
format: 'did',
|
|
1421
|
-
},
|
|
1422
|
-
description: 'Optional list of label sources (DIDs) to filter on.',
|
|
1423
|
-
},
|
|
1424
|
-
limit: {
|
|
1425
|
-
type: 'integer',
|
|
1426
|
-
minimum: 1,
|
|
1427
|
-
maximum: 250,
|
|
1428
|
-
default: 50,
|
|
1429
|
-
},
|
|
1430
|
-
cursor: {
|
|
1431
|
-
type: 'string',
|
|
1432
|
-
},
|
|
1433
|
-
},
|
|
1434
|
-
},
|
|
1435
|
-
output: {
|
|
1436
|
-
encoding: 'application/json',
|
|
1437
|
-
schema: {
|
|
1438
|
-
type: 'object',
|
|
1439
|
-
required: ['labels'],
|
|
1440
|
-
properties: {
|
|
1441
|
-
cursor: {
|
|
1442
|
-
type: 'string',
|
|
1443
|
-
},
|
|
1444
|
-
labels: {
|
|
1445
|
-
type: 'array',
|
|
1446
|
-
items: {
|
|
1447
|
-
type: 'ref',
|
|
1448
|
-
ref: 'lex:com.atproto.label.defs#label',
|
|
1449
|
-
},
|
|
1450
|
-
},
|
|
1451
|
-
},
|
|
1452
|
-
},
|
|
1453
|
-
},
|
|
1454
|
-
},
|
|
1455
|
-
},
|
|
1456
|
-
},
|
|
1457
|
-
ComAtprotoLabelSubscribeLabels: {
|
|
1458
|
-
lexicon: 1,
|
|
1459
|
-
id: 'com.atproto.label.subscribeLabels',
|
|
1460
|
-
defs: {
|
|
1461
|
-
main: {
|
|
1462
|
-
type: 'subscription',
|
|
1463
|
-
description: 'Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream.',
|
|
1464
|
-
parameters: {
|
|
1465
|
-
type: 'params',
|
|
1466
|
-
properties: {
|
|
1467
|
-
cursor: {
|
|
1468
|
-
type: 'integer',
|
|
1469
|
-
description: 'The last known event seq number to backfill from.',
|
|
1470
|
-
},
|
|
1471
|
-
},
|
|
1472
|
-
},
|
|
1473
|
-
message: {
|
|
1474
|
-
schema: {
|
|
1475
|
-
type: 'union',
|
|
1476
|
-
refs: [
|
|
1477
|
-
'lex:com.atproto.label.subscribeLabels#labels',
|
|
1478
|
-
'lex:com.atproto.label.subscribeLabels#info',
|
|
1479
|
-
],
|
|
1480
|
-
},
|
|
1481
|
-
},
|
|
1482
|
-
errors: [
|
|
1483
|
-
{
|
|
1484
|
-
name: 'FutureCursor',
|
|
1485
|
-
},
|
|
1486
|
-
],
|
|
1487
|
-
},
|
|
1488
|
-
labels: {
|
|
1489
|
-
type: 'object',
|
|
1490
|
-
required: ['seq', 'labels'],
|
|
1491
|
-
properties: {
|
|
1492
|
-
seq: {
|
|
1493
|
-
type: 'integer',
|
|
1494
|
-
},
|
|
1495
|
-
labels: {
|
|
1496
|
-
type: 'array',
|
|
1497
|
-
items: {
|
|
1498
|
-
type: 'ref',
|
|
1499
|
-
ref: 'lex:com.atproto.label.defs#label',
|
|
1500
|
-
},
|
|
1501
|
-
},
|
|
1502
|
-
},
|
|
1503
|
-
},
|
|
1504
|
-
info: {
|
|
1505
|
-
type: 'object',
|
|
1506
|
-
required: ['name'],
|
|
1507
|
-
properties: {
|
|
1508
|
-
name: {
|
|
1509
|
-
type: 'string',
|
|
1510
|
-
knownValues: ['OutdatedCursor'],
|
|
1511
|
-
},
|
|
1512
|
-
message: {
|
|
1513
|
-
type: 'string',
|
|
1514
|
-
},
|
|
1515
|
-
},
|
|
1516
|
-
},
|
|
1517
|
-
},
|
|
1518
|
-
},
|
|
1519
|
-
ComAtprotoLexiconSchema: {
|
|
1520
|
-
lexicon: 1,
|
|
1521
|
-
id: 'com.atproto.lexicon.schema',
|
|
1522
|
-
defs: {
|
|
1523
|
-
main: {
|
|
1524
|
-
type: 'record',
|
|
1525
|
-
description: "Representation of Lexicon schemas themselves, when published as atproto records. Note that the schema language is not defined in Lexicon; this meta schema currently only includes a single version field ('lexicon'). See the atproto specifications for description of the other expected top-level fields ('id', 'defs', etc).",
|
|
1526
|
-
key: 'nsid',
|
|
1527
|
-
record: {
|
|
1528
|
-
type: 'object',
|
|
1529
|
-
required: ['lexicon'],
|
|
1530
|
-
properties: {
|
|
1531
|
-
lexicon: {
|
|
1532
|
-
type: 'integer',
|
|
1533
|
-
description: "Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system.",
|
|
1534
|
-
},
|
|
1535
|
-
},
|
|
1536
|
-
},
|
|
1537
|
-
},
|
|
1538
|
-
},
|
|
1539
|
-
},
|
|
1540
|
-
ComAtprotoModerationCreateReport: {
|
|
1541
|
-
lexicon: 1,
|
|
1542
|
-
id: 'com.atproto.moderation.createReport',
|
|
1543
|
-
defs: {
|
|
1544
|
-
main: {
|
|
1545
|
-
type: 'procedure',
|
|
1546
|
-
description: 'Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth.',
|
|
1547
|
-
input: {
|
|
1548
|
-
encoding: 'application/json',
|
|
1549
|
-
schema: {
|
|
1550
|
-
type: 'object',
|
|
1551
|
-
required: ['reasonType', 'subject'],
|
|
1552
|
-
properties: {
|
|
1553
|
-
reasonType: {
|
|
1554
|
-
type: 'ref',
|
|
1555
|
-
description: 'Indicates the broad category of violation the report is for.',
|
|
1556
|
-
ref: 'lex:com.atproto.moderation.defs#reasonType',
|
|
1557
|
-
},
|
|
1558
|
-
reason: {
|
|
1559
|
-
type: 'string',
|
|
1560
|
-
maxGraphemes: 2000,
|
|
1561
|
-
maxLength: 20000,
|
|
1562
|
-
description: 'Additional context about the content and violation.',
|
|
1563
|
-
},
|
|
1564
|
-
subject: {
|
|
1565
|
-
type: 'union',
|
|
1566
|
-
refs: [
|
|
1567
|
-
'lex:com.atproto.admin.defs#repoRef',
|
|
1568
|
-
'lex:com.atproto.repo.strongRef',
|
|
1569
|
-
],
|
|
1570
|
-
},
|
|
1571
|
-
},
|
|
1572
|
-
},
|
|
1573
|
-
},
|
|
1574
|
-
output: {
|
|
1575
|
-
encoding: 'application/json',
|
|
1576
|
-
schema: {
|
|
1577
|
-
type: 'object',
|
|
1578
|
-
required: [
|
|
1579
|
-
'id',
|
|
1580
|
-
'reasonType',
|
|
1581
|
-
'subject',
|
|
1582
|
-
'reportedBy',
|
|
1583
|
-
'createdAt',
|
|
1584
|
-
],
|
|
1585
|
-
properties: {
|
|
1586
|
-
id: {
|
|
1587
|
-
type: 'integer',
|
|
1588
|
-
},
|
|
1589
|
-
reasonType: {
|
|
1590
|
-
type: 'ref',
|
|
1591
|
-
ref: 'lex:com.atproto.moderation.defs#reasonType',
|
|
1592
|
-
},
|
|
1593
|
-
reason: {
|
|
1594
|
-
type: 'string',
|
|
1595
|
-
maxGraphemes: 2000,
|
|
1596
|
-
maxLength: 20000,
|
|
1597
|
-
},
|
|
1598
|
-
subject: {
|
|
1599
|
-
type: 'union',
|
|
1600
|
-
refs: [
|
|
1601
|
-
'lex:com.atproto.admin.defs#repoRef',
|
|
1602
|
-
'lex:com.atproto.repo.strongRef',
|
|
1603
|
-
],
|
|
1604
|
-
},
|
|
1605
|
-
reportedBy: {
|
|
1606
|
-
type: 'string',
|
|
1607
|
-
format: 'did',
|
|
1608
|
-
},
|
|
1609
|
-
createdAt: {
|
|
1610
|
-
type: 'string',
|
|
1611
|
-
format: 'datetime',
|
|
1612
|
-
},
|
|
1613
|
-
},
|
|
1614
|
-
},
|
|
1615
|
-
},
|
|
1616
|
-
},
|
|
1617
|
-
},
|
|
1618
|
-
},
|
|
1619
|
-
ComAtprotoModerationDefs: {
|
|
1620
|
-
lexicon: 1,
|
|
1621
|
-
id: 'com.atproto.moderation.defs',
|
|
1622
|
-
defs: {
|
|
1623
|
-
reasonType: {
|
|
1624
|
-
type: 'string',
|
|
1625
|
-
knownValues: [
|
|
1626
|
-
'com.atproto.moderation.defs#reasonSpam',
|
|
1627
|
-
'com.atproto.moderation.defs#reasonViolation',
|
|
1628
|
-
'com.atproto.moderation.defs#reasonMisleading',
|
|
1629
|
-
'com.atproto.moderation.defs#reasonSexual',
|
|
1630
|
-
'com.atproto.moderation.defs#reasonRude',
|
|
1631
|
-
'com.atproto.moderation.defs#reasonOther',
|
|
1632
|
-
'com.atproto.moderation.defs#reasonAppeal',
|
|
1633
|
-
],
|
|
1634
|
-
},
|
|
1635
|
-
reasonSpam: {
|
|
1636
|
-
type: 'token',
|
|
1637
|
-
description: 'Spam: frequent unwanted promotion, replies, mentions',
|
|
1638
|
-
},
|
|
1639
|
-
reasonViolation: {
|
|
1640
|
-
type: 'token',
|
|
1641
|
-
description: 'Direct violation of server rules, laws, terms of service',
|
|
1642
|
-
},
|
|
1643
|
-
reasonMisleading: {
|
|
1644
|
-
type: 'token',
|
|
1645
|
-
description: 'Misleading identity, affiliation, or content',
|
|
1646
|
-
},
|
|
1647
|
-
reasonSexual: {
|
|
1648
|
-
type: 'token',
|
|
1649
|
-
description: 'Unwanted or mislabeled sexual content',
|
|
1650
|
-
},
|
|
1651
|
-
reasonRude: {
|
|
1652
|
-
type: 'token',
|
|
1653
|
-
description: 'Rude, harassing, explicit, or otherwise unwelcoming behavior',
|
|
1654
|
-
},
|
|
1655
|
-
reasonOther: {
|
|
1656
|
-
type: 'token',
|
|
1657
|
-
description: 'Other: reports not falling under another report category',
|
|
1658
|
-
},
|
|
1659
|
-
reasonAppeal: {
|
|
1660
|
-
type: 'token',
|
|
1661
|
-
description: 'Appeal: appeal a previously taken moderation action',
|
|
1662
|
-
},
|
|
1663
|
-
subjectType: {
|
|
1664
|
-
type: 'string',
|
|
1665
|
-
description: 'Tag describing a type of subject that might be reported.',
|
|
1666
|
-
knownValues: ['account', 'record', 'chat'],
|
|
1667
|
-
},
|
|
1668
|
-
},
|
|
1669
|
-
},
|
|
1670
|
-
ComAtprotoRepoApplyWrites: {
|
|
1671
|
-
lexicon: 1,
|
|
1672
|
-
id: 'com.atproto.repo.applyWrites',
|
|
1673
|
-
defs: {
|
|
1674
|
-
main: {
|
|
1675
|
-
type: 'procedure',
|
|
1676
|
-
description: 'Apply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.',
|
|
1677
|
-
input: {
|
|
1678
|
-
encoding: 'application/json',
|
|
1679
|
-
schema: {
|
|
1680
|
-
type: 'object',
|
|
1681
|
-
required: ['repo', 'writes'],
|
|
1682
|
-
properties: {
|
|
1683
|
-
repo: {
|
|
1684
|
-
type: 'string',
|
|
1685
|
-
format: 'at-identifier',
|
|
1686
|
-
description: 'The handle or DID of the repo (aka, current account).',
|
|
1687
|
-
},
|
|
1688
|
-
validate: {
|
|
1689
|
-
type: 'boolean',
|
|
1690
|
-
description: "Can be set to 'false' to skip Lexicon schema validation of record data across all operations, 'true' to require it, or leave unset to validate only for known Lexicons.",
|
|
1691
|
-
},
|
|
1692
|
-
writes: {
|
|
1693
|
-
type: 'array',
|
|
1694
|
-
items: {
|
|
1695
|
-
type: 'union',
|
|
1696
|
-
refs: [
|
|
1697
|
-
'lex:com.atproto.repo.applyWrites#create',
|
|
1698
|
-
'lex:com.atproto.repo.applyWrites#update',
|
|
1699
|
-
'lex:com.atproto.repo.applyWrites#delete',
|
|
1700
|
-
],
|
|
1701
|
-
closed: true,
|
|
1702
|
-
},
|
|
1703
|
-
},
|
|
1704
|
-
swapCommit: {
|
|
1705
|
-
type: 'string',
|
|
1706
|
-
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.',
|
|
1707
|
-
format: 'cid',
|
|
1708
|
-
},
|
|
1709
|
-
},
|
|
1710
|
-
},
|
|
1711
|
-
},
|
|
1712
|
-
output: {
|
|
1713
|
-
encoding: 'application/json',
|
|
1714
|
-
schema: {
|
|
1715
|
-
type: 'object',
|
|
1716
|
-
required: [],
|
|
1717
|
-
properties: {
|
|
1718
|
-
commit: {
|
|
1719
|
-
type: 'ref',
|
|
1720
|
-
ref: 'lex:com.atproto.repo.defs#commitMeta',
|
|
1721
|
-
},
|
|
1722
|
-
results: {
|
|
1723
|
-
type: 'array',
|
|
1724
|
-
items: {
|
|
1725
|
-
type: 'union',
|
|
1726
|
-
refs: [
|
|
1727
|
-
'lex:com.atproto.repo.applyWrites#createResult',
|
|
1728
|
-
'lex:com.atproto.repo.applyWrites#updateResult',
|
|
1729
|
-
'lex:com.atproto.repo.applyWrites#deleteResult',
|
|
1730
|
-
],
|
|
1731
|
-
closed: true,
|
|
1732
|
-
},
|
|
1733
|
-
},
|
|
1734
|
-
},
|
|
1735
|
-
},
|
|
1736
|
-
},
|
|
1737
|
-
errors: [
|
|
1738
|
-
{
|
|
1739
|
-
name: 'InvalidSwap',
|
|
1740
|
-
description: "Indicates that the 'swapCommit' parameter did not match current commit.",
|
|
1741
|
-
},
|
|
1742
|
-
],
|
|
1743
|
-
},
|
|
1744
|
-
create: {
|
|
1745
|
-
type: 'object',
|
|
1746
|
-
description: 'Operation which creates a new record.',
|
|
1747
|
-
required: ['collection', 'value'],
|
|
1748
|
-
properties: {
|
|
1749
|
-
collection: {
|
|
1750
|
-
type: 'string',
|
|
1751
|
-
format: 'nsid',
|
|
1752
|
-
},
|
|
1753
|
-
rkey: {
|
|
1754
|
-
type: 'string',
|
|
1755
|
-
maxLength: 512,
|
|
1756
|
-
format: 'record-key',
|
|
1757
|
-
description: 'NOTE: maxLength is redundant with record-key format. Keeping it temporarily to ensure backwards compatibility.',
|
|
1758
|
-
},
|
|
1759
|
-
value: {
|
|
1760
|
-
type: 'unknown',
|
|
1761
|
-
},
|
|
1762
|
-
},
|
|
1763
|
-
},
|
|
1764
|
-
update: {
|
|
1765
|
-
type: 'object',
|
|
1766
|
-
description: 'Operation which updates an existing record.',
|
|
1767
|
-
required: ['collection', 'rkey', 'value'],
|
|
1768
|
-
properties: {
|
|
1769
|
-
collection: {
|
|
1770
|
-
type: 'string',
|
|
1771
|
-
format: 'nsid',
|
|
1772
|
-
},
|
|
1773
|
-
rkey: {
|
|
1774
|
-
type: 'string',
|
|
1775
|
-
format: 'record-key',
|
|
1776
|
-
},
|
|
1777
|
-
value: {
|
|
1778
|
-
type: 'unknown',
|
|
1779
|
-
},
|
|
1780
|
-
},
|
|
1781
|
-
},
|
|
1782
|
-
delete: {
|
|
1783
|
-
type: 'object',
|
|
1784
|
-
description: 'Operation which deletes an existing record.',
|
|
1785
|
-
required: ['collection', 'rkey'],
|
|
1786
|
-
properties: {
|
|
1787
|
-
collection: {
|
|
1788
|
-
type: 'string',
|
|
1789
|
-
format: 'nsid',
|
|
1790
|
-
},
|
|
1791
|
-
rkey: {
|
|
1792
|
-
type: 'string',
|
|
1793
|
-
format: 'record-key',
|
|
1794
|
-
},
|
|
1795
|
-
},
|
|
1796
|
-
},
|
|
1797
|
-
createResult: {
|
|
1798
|
-
type: 'object',
|
|
1799
|
-
required: ['uri', 'cid'],
|
|
1800
|
-
properties: {
|
|
1801
|
-
uri: {
|
|
1802
|
-
type: 'string',
|
|
1803
|
-
format: 'at-uri',
|
|
1804
|
-
},
|
|
1805
|
-
cid: {
|
|
1806
|
-
type: 'string',
|
|
1807
|
-
format: 'cid',
|
|
1808
|
-
},
|
|
1809
|
-
validationStatus: {
|
|
1810
|
-
type: 'string',
|
|
1811
|
-
knownValues: ['valid', 'unknown'],
|
|
1812
|
-
},
|
|
1813
|
-
},
|
|
1814
|
-
},
|
|
1815
|
-
updateResult: {
|
|
1816
|
-
type: 'object',
|
|
1817
|
-
required: ['uri', 'cid'],
|
|
1818
|
-
properties: {
|
|
1819
|
-
uri: {
|
|
1820
|
-
type: 'string',
|
|
1821
|
-
format: 'at-uri',
|
|
1822
|
-
},
|
|
1823
|
-
cid: {
|
|
1824
|
-
type: 'string',
|
|
1825
|
-
format: 'cid',
|
|
1826
|
-
},
|
|
1827
|
-
validationStatus: {
|
|
1828
|
-
type: 'string',
|
|
1829
|
-
knownValues: ['valid', 'unknown'],
|
|
1830
|
-
},
|
|
1831
|
-
},
|
|
1832
|
-
},
|
|
1833
|
-
deleteResult: {
|
|
1834
|
-
type: 'object',
|
|
1835
|
-
required: [],
|
|
1836
|
-
properties: {},
|
|
1837
|
-
},
|
|
1838
|
-
},
|
|
1839
|
-
},
|
|
1840
|
-
ComAtprotoRepoCreateRecord: {
|
|
1841
|
-
lexicon: 1,
|
|
1842
|
-
id: 'com.atproto.repo.createRecord',
|
|
1843
|
-
defs: {
|
|
1844
|
-
main: {
|
|
1845
|
-
type: 'procedure',
|
|
1846
|
-
description: 'Create a single new repository record. Requires auth, implemented by PDS.',
|
|
1847
|
-
input: {
|
|
1848
|
-
encoding: 'application/json',
|
|
1849
|
-
schema: {
|
|
1850
|
-
type: 'object',
|
|
1851
|
-
required: ['repo', 'collection', 'record'],
|
|
1852
|
-
properties: {
|
|
1853
|
-
repo: {
|
|
1854
|
-
type: 'string',
|
|
1855
|
-
format: 'at-identifier',
|
|
1856
|
-
description: 'The handle or DID of the repo (aka, current account).',
|
|
1857
|
-
},
|
|
1858
|
-
collection: {
|
|
1859
|
-
type: 'string',
|
|
1860
|
-
format: 'nsid',
|
|
1861
|
-
description: 'The NSID of the record collection.',
|
|
1862
|
-
},
|
|
1863
|
-
rkey: {
|
|
1864
|
-
type: 'string',
|
|
1865
|
-
format: 'record-key',
|
|
1866
|
-
description: 'The Record Key.',
|
|
1867
|
-
maxLength: 512,
|
|
1868
|
-
},
|
|
1869
|
-
validate: {
|
|
1870
|
-
type: 'boolean',
|
|
1871
|
-
description: "Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons.",
|
|
1872
|
-
},
|
|
1873
|
-
record: {
|
|
1874
|
-
type: 'unknown',
|
|
1875
|
-
description: 'The record itself. Must contain a $type field.',
|
|
1876
|
-
},
|
|
1877
|
-
swapCommit: {
|
|
1878
|
-
type: 'string',
|
|
1879
|
-
format: 'cid',
|
|
1880
|
-
description: 'Compare and swap with the previous commit by CID.',
|
|
1881
|
-
},
|
|
1882
|
-
},
|
|
1883
|
-
},
|
|
1884
|
-
},
|
|
1885
|
-
output: {
|
|
1886
|
-
encoding: 'application/json',
|
|
1887
|
-
schema: {
|
|
1888
|
-
type: 'object',
|
|
1889
|
-
required: ['uri', 'cid'],
|
|
1890
|
-
properties: {
|
|
1891
|
-
uri: {
|
|
1892
|
-
type: 'string',
|
|
1893
|
-
format: 'at-uri',
|
|
1894
|
-
},
|
|
1895
|
-
cid: {
|
|
1896
|
-
type: 'string',
|
|
1897
|
-
format: 'cid',
|
|
1898
|
-
},
|
|
1899
|
-
commit: {
|
|
1900
|
-
type: 'ref',
|
|
1901
|
-
ref: 'lex:com.atproto.repo.defs#commitMeta',
|
|
1902
|
-
},
|
|
1903
|
-
validationStatus: {
|
|
1904
|
-
type: 'string',
|
|
1905
|
-
knownValues: ['valid', 'unknown'],
|
|
1906
|
-
},
|
|
1907
|
-
},
|
|
1908
|
-
},
|
|
1909
|
-
},
|
|
1910
|
-
errors: [
|
|
1911
|
-
{
|
|
1912
|
-
name: 'InvalidSwap',
|
|
1913
|
-
description: "Indicates that 'swapCommit' didn't match current repo commit.",
|
|
1914
|
-
},
|
|
1915
|
-
],
|
|
1916
|
-
},
|
|
1917
|
-
},
|
|
1918
|
-
},
|
|
1919
|
-
ComAtprotoRepoDefs: {
|
|
1920
|
-
lexicon: 1,
|
|
1921
|
-
id: 'com.atproto.repo.defs',
|
|
1922
|
-
defs: {
|
|
1923
|
-
commitMeta: {
|
|
1924
|
-
type: 'object',
|
|
1925
|
-
required: ['cid', 'rev'],
|
|
1926
|
-
properties: {
|
|
1927
|
-
cid: {
|
|
1928
|
-
type: 'string',
|
|
1929
|
-
format: 'cid',
|
|
1930
|
-
},
|
|
1931
|
-
rev: {
|
|
1932
|
-
type: 'string',
|
|
1933
|
-
format: 'tid',
|
|
1934
|
-
},
|
|
1935
|
-
},
|
|
1936
|
-
},
|
|
1937
|
-
},
|
|
1938
|
-
},
|
|
1939
|
-
ComAtprotoRepoDeleteRecord: {
|
|
1940
|
-
lexicon: 1,
|
|
1941
|
-
id: 'com.atproto.repo.deleteRecord',
|
|
1942
|
-
defs: {
|
|
1943
|
-
main: {
|
|
1944
|
-
type: 'procedure',
|
|
1945
|
-
description: "Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.",
|
|
1946
|
-
input: {
|
|
1947
|
-
encoding: 'application/json',
|
|
1948
|
-
schema: {
|
|
1949
|
-
type: 'object',
|
|
1950
|
-
required: ['repo', 'collection', 'rkey'],
|
|
1951
|
-
properties: {
|
|
1952
|
-
repo: {
|
|
1953
|
-
type: 'string',
|
|
1954
|
-
format: 'at-identifier',
|
|
1955
|
-
description: 'The handle or DID of the repo (aka, current account).',
|
|
1956
|
-
},
|
|
1957
|
-
collection: {
|
|
1958
|
-
type: 'string',
|
|
1959
|
-
format: 'nsid',
|
|
1960
|
-
description: 'The NSID of the record collection.',
|
|
1961
|
-
},
|
|
1962
|
-
rkey: {
|
|
1963
|
-
type: 'string',
|
|
1964
|
-
format: 'record-key',
|
|
1965
|
-
description: 'The Record Key.',
|
|
1966
|
-
},
|
|
1967
|
-
swapRecord: {
|
|
1968
|
-
type: 'string',
|
|
1969
|
-
format: 'cid',
|
|
1970
|
-
description: 'Compare and swap with the previous record by CID.',
|
|
1971
|
-
},
|
|
1972
|
-
swapCommit: {
|
|
1973
|
-
type: 'string',
|
|
1974
|
-
format: 'cid',
|
|
1975
|
-
description: 'Compare and swap with the previous commit by CID.',
|
|
1976
|
-
},
|
|
1977
|
-
},
|
|
1978
|
-
},
|
|
1979
|
-
},
|
|
1980
|
-
output: {
|
|
1981
|
-
encoding: 'application/json',
|
|
1982
|
-
schema: {
|
|
1983
|
-
type: 'object',
|
|
1984
|
-
properties: {
|
|
1985
|
-
commit: {
|
|
1986
|
-
type: 'ref',
|
|
1987
|
-
ref: 'lex:com.atproto.repo.defs#commitMeta',
|
|
1988
|
-
},
|
|
1989
|
-
},
|
|
1990
|
-
},
|
|
1991
|
-
},
|
|
1992
|
-
errors: [
|
|
1993
|
-
{
|
|
1994
|
-
name: 'InvalidSwap',
|
|
1995
|
-
},
|
|
1996
|
-
],
|
|
1997
|
-
},
|
|
1998
|
-
},
|
|
1999
|
-
},
|
|
2000
|
-
ComAtprotoRepoDescribeRepo: {
|
|
2001
|
-
lexicon: 1,
|
|
2002
|
-
id: 'com.atproto.repo.describeRepo',
|
|
2003
|
-
defs: {
|
|
2004
|
-
main: {
|
|
2005
|
-
type: 'query',
|
|
2006
|
-
description: 'Get information about an account and repository, including the list of collections. Does not require auth.',
|
|
2007
|
-
parameters: {
|
|
2008
|
-
type: 'params',
|
|
2009
|
-
required: ['repo'],
|
|
2010
|
-
properties: {
|
|
2011
|
-
repo: {
|
|
2012
|
-
type: 'string',
|
|
2013
|
-
format: 'at-identifier',
|
|
2014
|
-
description: 'The handle or DID of the repo.',
|
|
2015
|
-
},
|
|
2016
|
-
},
|
|
2017
|
-
},
|
|
2018
|
-
output: {
|
|
2019
|
-
encoding: 'application/json',
|
|
2020
|
-
schema: {
|
|
2021
|
-
type: 'object',
|
|
2022
|
-
required: [
|
|
2023
|
-
'handle',
|
|
2024
|
-
'did',
|
|
2025
|
-
'didDoc',
|
|
2026
|
-
'collections',
|
|
2027
|
-
'handleIsCorrect',
|
|
2028
|
-
],
|
|
2029
|
-
properties: {
|
|
2030
|
-
handle: {
|
|
2031
|
-
type: 'string',
|
|
2032
|
-
format: 'handle',
|
|
2033
|
-
},
|
|
2034
|
-
did: {
|
|
2035
|
-
type: 'string',
|
|
2036
|
-
format: 'did',
|
|
2037
|
-
},
|
|
2038
|
-
didDoc: {
|
|
2039
|
-
type: 'unknown',
|
|
2040
|
-
description: 'The complete DID document for this account.',
|
|
2041
|
-
},
|
|
2042
|
-
collections: {
|
|
2043
|
-
type: 'array',
|
|
2044
|
-
description: 'List of all the collections (NSIDs) for which this repo contains at least one record.',
|
|
2045
|
-
items: {
|
|
2046
|
-
type: 'string',
|
|
2047
|
-
format: 'nsid',
|
|
2048
|
-
},
|
|
2049
|
-
},
|
|
2050
|
-
handleIsCorrect: {
|
|
2051
|
-
type: 'boolean',
|
|
2052
|
-
description: 'Indicates if handle is currently valid (resolves bi-directionally)',
|
|
2053
|
-
},
|
|
2054
|
-
},
|
|
2055
|
-
},
|
|
2056
|
-
},
|
|
2057
|
-
},
|
|
2058
|
-
},
|
|
2059
|
-
},
|
|
2060
|
-
ComAtprotoRepoGetRecord: {
|
|
2061
|
-
lexicon: 1,
|
|
2062
|
-
id: 'com.atproto.repo.getRecord',
|
|
2063
|
-
defs: {
|
|
2064
|
-
main: {
|
|
2065
|
-
type: 'query',
|
|
2066
|
-
description: 'Get a single record from a repository. Does not require auth.',
|
|
2067
|
-
parameters: {
|
|
2068
|
-
type: 'params',
|
|
2069
|
-
required: ['repo', 'collection', 'rkey'],
|
|
2070
|
-
properties: {
|
|
2071
|
-
repo: {
|
|
2072
|
-
type: 'string',
|
|
2073
|
-
format: 'at-identifier',
|
|
2074
|
-
description: 'The handle or DID of the repo.',
|
|
2075
|
-
},
|
|
2076
|
-
collection: {
|
|
2077
|
-
type: 'string',
|
|
2078
|
-
format: 'nsid',
|
|
2079
|
-
description: 'The NSID of the record collection.',
|
|
2080
|
-
},
|
|
2081
|
-
rkey: {
|
|
2082
|
-
type: 'string',
|
|
2083
|
-
description: 'The Record Key.',
|
|
2084
|
-
format: 'record-key',
|
|
2085
|
-
},
|
|
2086
|
-
cid: {
|
|
2087
|
-
type: 'string',
|
|
2088
|
-
format: 'cid',
|
|
2089
|
-
description: 'The CID of the version of the record. If not specified, then return the most recent version.',
|
|
2090
|
-
},
|
|
2091
|
-
},
|
|
2092
|
-
},
|
|
2093
|
-
output: {
|
|
2094
|
-
encoding: 'application/json',
|
|
2095
|
-
schema: {
|
|
2096
|
-
type: 'object',
|
|
2097
|
-
required: ['uri', 'value'],
|
|
2098
|
-
properties: {
|
|
2099
|
-
uri: {
|
|
2100
|
-
type: 'string',
|
|
2101
|
-
format: 'at-uri',
|
|
2102
|
-
},
|
|
2103
|
-
cid: {
|
|
2104
|
-
type: 'string',
|
|
2105
|
-
format: 'cid',
|
|
2106
|
-
},
|
|
2107
|
-
value: {
|
|
2108
|
-
type: 'unknown',
|
|
2109
|
-
},
|
|
2110
|
-
},
|
|
2111
|
-
},
|
|
2112
|
-
},
|
|
2113
|
-
errors: [
|
|
2114
|
-
{
|
|
2115
|
-
name: 'RecordNotFound',
|
|
2116
|
-
},
|
|
2117
|
-
],
|
|
2118
|
-
},
|
|
2119
|
-
},
|
|
2120
|
-
},
|
|
2121
|
-
ComAtprotoRepoImportRepo: {
|
|
2122
|
-
lexicon: 1,
|
|
2123
|
-
id: 'com.atproto.repo.importRepo',
|
|
2124
|
-
defs: {
|
|
2125
|
-
main: {
|
|
2126
|
-
type: 'procedure',
|
|
2127
|
-
description: 'Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.',
|
|
2128
|
-
input: {
|
|
2129
|
-
encoding: 'application/vnd.ipld.car',
|
|
2130
|
-
},
|
|
2131
|
-
},
|
|
2132
|
-
},
|
|
2133
|
-
},
|
|
2134
|
-
ComAtprotoRepoListMissingBlobs: {
|
|
2135
|
-
lexicon: 1,
|
|
2136
|
-
id: 'com.atproto.repo.listMissingBlobs',
|
|
2137
|
-
defs: {
|
|
2138
|
-
main: {
|
|
2139
|
-
type: 'query',
|
|
2140
|
-
description: 'Returns a list of missing blobs for the requesting account. Intended to be used in the account migration flow.',
|
|
2141
|
-
parameters: {
|
|
2142
|
-
type: 'params',
|
|
2143
|
-
properties: {
|
|
2144
|
-
limit: {
|
|
2145
|
-
type: 'integer',
|
|
2146
|
-
minimum: 1,
|
|
2147
|
-
maximum: 1000,
|
|
2148
|
-
default: 500,
|
|
2149
|
-
},
|
|
2150
|
-
cursor: {
|
|
2151
|
-
type: 'string',
|
|
2152
|
-
},
|
|
2153
|
-
},
|
|
2154
|
-
},
|
|
2155
|
-
output: {
|
|
2156
|
-
encoding: 'application/json',
|
|
2157
|
-
schema: {
|
|
2158
|
-
type: 'object',
|
|
2159
|
-
required: ['blobs'],
|
|
2160
|
-
properties: {
|
|
2161
|
-
cursor: {
|
|
2162
|
-
type: 'string',
|
|
2163
|
-
},
|
|
2164
|
-
blobs: {
|
|
2165
|
-
type: 'array',
|
|
2166
|
-
items: {
|
|
2167
|
-
type: 'ref',
|
|
2168
|
-
ref: 'lex:com.atproto.repo.listMissingBlobs#recordBlob',
|
|
2169
|
-
},
|
|
2170
|
-
},
|
|
2171
|
-
},
|
|
2172
|
-
},
|
|
2173
|
-
},
|
|
2174
|
-
},
|
|
2175
|
-
recordBlob: {
|
|
2176
|
-
type: 'object',
|
|
2177
|
-
required: ['cid', 'recordUri'],
|
|
2178
|
-
properties: {
|
|
2179
|
-
cid: {
|
|
2180
|
-
type: 'string',
|
|
2181
|
-
format: 'cid',
|
|
2182
|
-
},
|
|
2183
|
-
recordUri: {
|
|
2184
|
-
type: 'string',
|
|
2185
|
-
format: 'at-uri',
|
|
2186
|
-
},
|
|
2187
|
-
},
|
|
2188
|
-
},
|
|
2189
|
-
},
|
|
2190
|
-
},
|
|
2191
|
-
ComAtprotoRepoListRecords: {
|
|
2192
|
-
lexicon: 1,
|
|
2193
|
-
id: 'com.atproto.repo.listRecords',
|
|
2194
|
-
defs: {
|
|
2195
|
-
main: {
|
|
2196
|
-
type: 'query',
|
|
2197
|
-
description: 'List a range of records in a repository, matching a specific collection. Does not require auth.',
|
|
2198
|
-
parameters: {
|
|
2199
|
-
type: 'params',
|
|
2200
|
-
required: ['repo', 'collection'],
|
|
2201
|
-
properties: {
|
|
2202
|
-
repo: {
|
|
2203
|
-
type: 'string',
|
|
2204
|
-
format: 'at-identifier',
|
|
2205
|
-
description: 'The handle or DID of the repo.',
|
|
2206
|
-
},
|
|
2207
|
-
collection: {
|
|
2208
|
-
type: 'string',
|
|
2209
|
-
format: 'nsid',
|
|
2210
|
-
description: 'The NSID of the record type.',
|
|
2211
|
-
},
|
|
2212
|
-
limit: {
|
|
2213
|
-
type: 'integer',
|
|
2214
|
-
minimum: 1,
|
|
2215
|
-
maximum: 100,
|
|
2216
|
-
default: 50,
|
|
2217
|
-
description: 'The number of records to return.',
|
|
2218
|
-
},
|
|
2219
|
-
cursor: {
|
|
2220
|
-
type: 'string',
|
|
2221
|
-
},
|
|
2222
|
-
reverse: {
|
|
2223
|
-
type: 'boolean',
|
|
2224
|
-
description: 'Flag to reverse the order of the returned records.',
|
|
2225
|
-
},
|
|
2226
|
-
},
|
|
2227
|
-
},
|
|
2228
|
-
output: {
|
|
2229
|
-
encoding: 'application/json',
|
|
2230
|
-
schema: {
|
|
2231
|
-
type: 'object',
|
|
2232
|
-
required: ['records'],
|
|
2233
|
-
properties: {
|
|
2234
|
-
cursor: {
|
|
2235
|
-
type: 'string',
|
|
2236
|
-
},
|
|
2237
|
-
records: {
|
|
2238
|
-
type: 'array',
|
|
2239
|
-
items: {
|
|
2240
|
-
type: 'ref',
|
|
2241
|
-
ref: 'lex:com.atproto.repo.listRecords#record',
|
|
2242
|
-
},
|
|
2243
|
-
},
|
|
2244
|
-
},
|
|
2245
|
-
},
|
|
2246
|
-
},
|
|
2247
|
-
},
|
|
2248
|
-
record: {
|
|
2249
|
-
type: 'object',
|
|
2250
|
-
required: ['uri', 'cid', 'value'],
|
|
2251
|
-
properties: {
|
|
2252
|
-
uri: {
|
|
2253
|
-
type: 'string',
|
|
2254
|
-
format: 'at-uri',
|
|
2255
|
-
},
|
|
2256
|
-
cid: {
|
|
2257
|
-
type: 'string',
|
|
2258
|
-
format: 'cid',
|
|
2259
|
-
},
|
|
2260
|
-
value: {
|
|
2261
|
-
type: 'unknown',
|
|
2262
|
-
},
|
|
2263
|
-
},
|
|
2264
|
-
},
|
|
2265
|
-
},
|
|
2266
|
-
},
|
|
2267
|
-
ComAtprotoRepoPutRecord: {
|
|
2268
|
-
lexicon: 1,
|
|
2269
|
-
id: 'com.atproto.repo.putRecord',
|
|
2270
|
-
defs: {
|
|
2271
|
-
main: {
|
|
2272
|
-
type: 'procedure',
|
|
2273
|
-
description: 'Write a repository record, creating or updating it as needed. Requires auth, implemented by PDS.',
|
|
2274
|
-
input: {
|
|
2275
|
-
encoding: 'application/json',
|
|
2276
|
-
schema: {
|
|
2277
|
-
type: 'object',
|
|
2278
|
-
required: ['repo', 'collection', 'rkey', 'record'],
|
|
2279
|
-
nullable: ['swapRecord'],
|
|
2280
|
-
properties: {
|
|
2281
|
-
repo: {
|
|
2282
|
-
type: 'string',
|
|
2283
|
-
format: 'at-identifier',
|
|
2284
|
-
description: 'The handle or DID of the repo (aka, current account).',
|
|
2285
|
-
},
|
|
2286
|
-
collection: {
|
|
2287
|
-
type: 'string',
|
|
2288
|
-
format: 'nsid',
|
|
2289
|
-
description: 'The NSID of the record collection.',
|
|
2290
|
-
},
|
|
2291
|
-
rkey: {
|
|
2292
|
-
type: 'string',
|
|
2293
|
-
format: 'record-key',
|
|
2294
|
-
description: 'The Record Key.',
|
|
2295
|
-
maxLength: 512,
|
|
2296
|
-
},
|
|
2297
|
-
validate: {
|
|
2298
|
-
type: 'boolean',
|
|
2299
|
-
description: "Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons.",
|
|
2300
|
-
},
|
|
2301
|
-
record: {
|
|
2302
|
-
type: 'unknown',
|
|
2303
|
-
description: 'The record to write.',
|
|
2304
|
-
},
|
|
2305
|
-
swapRecord: {
|
|
2306
|
-
type: 'string',
|
|
2307
|
-
format: 'cid',
|
|
2308
|
-
description: 'Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation',
|
|
2309
|
-
},
|
|
2310
|
-
swapCommit: {
|
|
2311
|
-
type: 'string',
|
|
2312
|
-
format: 'cid',
|
|
2313
|
-
description: 'Compare and swap with the previous commit by CID.',
|
|
2314
|
-
},
|
|
2315
|
-
},
|
|
2316
|
-
},
|
|
2317
|
-
},
|
|
2318
|
-
output: {
|
|
2319
|
-
encoding: 'application/json',
|
|
2320
|
-
schema: {
|
|
2321
|
-
type: 'object',
|
|
2322
|
-
required: ['uri', 'cid'],
|
|
2323
|
-
properties: {
|
|
2324
|
-
uri: {
|
|
2325
|
-
type: 'string',
|
|
2326
|
-
format: 'at-uri',
|
|
2327
|
-
},
|
|
2328
|
-
cid: {
|
|
2329
|
-
type: 'string',
|
|
2330
|
-
format: 'cid',
|
|
2331
|
-
},
|
|
2332
|
-
commit: {
|
|
2333
|
-
type: 'ref',
|
|
2334
|
-
ref: 'lex:com.atproto.repo.defs#commitMeta',
|
|
2335
|
-
},
|
|
2336
|
-
validationStatus: {
|
|
2337
|
-
type: 'string',
|
|
2338
|
-
knownValues: ['valid', 'unknown'],
|
|
2339
|
-
},
|
|
2340
|
-
},
|
|
2341
|
-
},
|
|
2342
|
-
},
|
|
2343
|
-
errors: [
|
|
2344
|
-
{
|
|
2345
|
-
name: 'InvalidSwap',
|
|
2346
|
-
},
|
|
2347
|
-
],
|
|
2348
|
-
},
|
|
2349
|
-
},
|
|
2350
|
-
},
|
|
2351
|
-
ComAtprotoRepoStrongRef: {
|
|
2352
|
-
lexicon: 1,
|
|
2353
|
-
id: 'com.atproto.repo.strongRef',
|
|
2354
|
-
description: 'A URI with a content-hash fingerprint.',
|
|
2355
|
-
defs: {
|
|
2356
|
-
main: {
|
|
2357
|
-
type: 'object',
|
|
2358
|
-
required: ['uri', 'cid'],
|
|
2359
|
-
properties: {
|
|
2360
|
-
uri: {
|
|
2361
|
-
type: 'string',
|
|
2362
|
-
format: 'at-uri',
|
|
2363
|
-
},
|
|
2364
|
-
cid: {
|
|
2365
|
-
type: 'string',
|
|
2366
|
-
format: 'cid',
|
|
2367
|
-
},
|
|
2368
|
-
},
|
|
2369
|
-
},
|
|
2370
|
-
},
|
|
2371
|
-
},
|
|
2372
|
-
ComAtprotoRepoUploadBlob: {
|
|
2373
|
-
lexicon: 1,
|
|
2374
|
-
id: 'com.atproto.repo.uploadBlob',
|
|
2375
|
-
defs: {
|
|
2376
|
-
main: {
|
|
2377
|
-
type: 'procedure',
|
|
2378
|
-
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.',
|
|
2379
|
-
input: {
|
|
2380
|
-
encoding: '*/*',
|
|
2381
|
-
},
|
|
2382
|
-
output: {
|
|
2383
|
-
encoding: 'application/json',
|
|
2384
|
-
schema: {
|
|
2385
|
-
type: 'object',
|
|
2386
|
-
required: ['blob'],
|
|
2387
|
-
properties: {
|
|
2388
|
-
blob: {
|
|
2389
|
-
type: 'blob',
|
|
2390
|
-
},
|
|
2391
|
-
},
|
|
2392
|
-
},
|
|
2393
|
-
},
|
|
2394
|
-
},
|
|
2395
|
-
},
|
|
2396
|
-
},
|
|
2397
|
-
ComAtprotoServerActivateAccount: {
|
|
2398
|
-
lexicon: 1,
|
|
2399
|
-
id: 'com.atproto.server.activateAccount',
|
|
2400
|
-
defs: {
|
|
2401
|
-
main: {
|
|
2402
|
-
type: 'procedure',
|
|
2403
|
-
description: "Activates a currently deactivated account. Used to finalize account migration after the account's repo is imported and identity is setup.",
|
|
2404
|
-
},
|
|
2405
|
-
},
|
|
2406
|
-
},
|
|
2407
|
-
ComAtprotoServerCheckAccountStatus: {
|
|
2408
|
-
lexicon: 1,
|
|
2409
|
-
id: 'com.atproto.server.checkAccountStatus',
|
|
2410
|
-
defs: {
|
|
2411
|
-
main: {
|
|
2412
|
-
type: 'query',
|
|
2413
|
-
description: 'Returns the status of an account, especially as pertaining to import or recovery. Can be called many times over the course of an account migration. Requires auth and can only be called pertaining to oneself.',
|
|
2414
|
-
output: {
|
|
2415
|
-
encoding: 'application/json',
|
|
2416
|
-
schema: {
|
|
2417
|
-
type: 'object',
|
|
2418
|
-
required: [
|
|
2419
|
-
'activated',
|
|
2420
|
-
'validDid',
|
|
2421
|
-
'repoCommit',
|
|
2422
|
-
'repoRev',
|
|
2423
|
-
'repoBlocks',
|
|
2424
|
-
'indexedRecords',
|
|
2425
|
-
'privateStateValues',
|
|
2426
|
-
'expectedBlobs',
|
|
2427
|
-
'importedBlobs',
|
|
2428
|
-
],
|
|
2429
|
-
properties: {
|
|
2430
|
-
activated: {
|
|
2431
|
-
type: 'boolean',
|
|
2432
|
-
},
|
|
2433
|
-
validDid: {
|
|
2434
|
-
type: 'boolean',
|
|
2435
|
-
},
|
|
2436
|
-
repoCommit: {
|
|
2437
|
-
type: 'string',
|
|
2438
|
-
format: 'cid',
|
|
2439
|
-
},
|
|
2440
|
-
repoRev: {
|
|
2441
|
-
type: 'string',
|
|
2442
|
-
},
|
|
2443
|
-
repoBlocks: {
|
|
2444
|
-
type: 'integer',
|
|
2445
|
-
},
|
|
2446
|
-
indexedRecords: {
|
|
2447
|
-
type: 'integer',
|
|
2448
|
-
},
|
|
2449
|
-
privateStateValues: {
|
|
2450
|
-
type: 'integer',
|
|
2451
|
-
},
|
|
2452
|
-
expectedBlobs: {
|
|
2453
|
-
type: 'integer',
|
|
2454
|
-
},
|
|
2455
|
-
importedBlobs: {
|
|
2456
|
-
type: 'integer',
|
|
2457
|
-
},
|
|
2458
|
-
},
|
|
2459
|
-
},
|
|
2460
|
-
},
|
|
2461
|
-
},
|
|
2462
|
-
},
|
|
2463
|
-
},
|
|
2464
|
-
ComAtprotoServerConfirmEmail: {
|
|
2465
|
-
lexicon: 1,
|
|
2466
|
-
id: 'com.atproto.server.confirmEmail',
|
|
2467
|
-
defs: {
|
|
2468
|
-
main: {
|
|
2469
|
-
type: 'procedure',
|
|
2470
|
-
description: 'Confirm an email using a token from com.atproto.server.requestEmailConfirmation.',
|
|
2471
|
-
input: {
|
|
2472
|
-
encoding: 'application/json',
|
|
2473
|
-
schema: {
|
|
2474
|
-
type: 'object',
|
|
2475
|
-
required: ['email', 'token'],
|
|
2476
|
-
properties: {
|
|
2477
|
-
email: {
|
|
2478
|
-
type: 'string',
|
|
2479
|
-
},
|
|
2480
|
-
token: {
|
|
2481
|
-
type: 'string',
|
|
2482
|
-
},
|
|
2483
|
-
},
|
|
2484
|
-
},
|
|
2485
|
-
},
|
|
2486
|
-
errors: [
|
|
2487
|
-
{
|
|
2488
|
-
name: 'AccountNotFound',
|
|
2489
|
-
},
|
|
2490
|
-
{
|
|
2491
|
-
name: 'ExpiredToken',
|
|
2492
|
-
},
|
|
2493
|
-
{
|
|
2494
|
-
name: 'InvalidToken',
|
|
2495
|
-
},
|
|
2496
|
-
{
|
|
2497
|
-
name: 'InvalidEmail',
|
|
2498
|
-
},
|
|
2499
|
-
],
|
|
2500
|
-
},
|
|
2501
|
-
},
|
|
2502
|
-
},
|
|
2503
|
-
ComAtprotoServerCreateAccount: {
|
|
2504
|
-
lexicon: 1,
|
|
2505
|
-
id: 'com.atproto.server.createAccount',
|
|
2506
|
-
defs: {
|
|
2507
|
-
main: {
|
|
2508
|
-
type: 'procedure',
|
|
2509
|
-
description: 'Create an account. Implemented by PDS.',
|
|
2510
|
-
input: {
|
|
2511
|
-
encoding: 'application/json',
|
|
2512
|
-
schema: {
|
|
2513
|
-
type: 'object',
|
|
2514
|
-
required: ['handle'],
|
|
2515
|
-
properties: {
|
|
2516
|
-
email: {
|
|
2517
|
-
type: 'string',
|
|
2518
|
-
},
|
|
2519
|
-
handle: {
|
|
2520
|
-
type: 'string',
|
|
2521
|
-
format: 'handle',
|
|
2522
|
-
description: 'Requested handle for the account.',
|
|
2523
|
-
},
|
|
2524
|
-
did: {
|
|
2525
|
-
type: 'string',
|
|
2526
|
-
format: 'did',
|
|
2527
|
-
description: 'Pre-existing atproto DID, being imported to a new account.',
|
|
2528
|
-
},
|
|
2529
|
-
inviteCode: {
|
|
2530
|
-
type: 'string',
|
|
2531
|
-
},
|
|
2532
|
-
verificationCode: {
|
|
2533
|
-
type: 'string',
|
|
2534
|
-
},
|
|
2535
|
-
verificationPhone: {
|
|
2536
|
-
type: 'string',
|
|
2537
|
-
},
|
|
2538
|
-
password: {
|
|
2539
|
-
type: 'string',
|
|
2540
|
-
description: 'Initial account password. May need to meet instance-specific password strength requirements.',
|
|
2541
|
-
},
|
|
2542
|
-
recoveryKey: {
|
|
2543
|
-
type: 'string',
|
|
2544
|
-
description: 'DID PLC rotation key (aka, recovery key) to be included in PLC creation operation.',
|
|
2545
|
-
},
|
|
2546
|
-
plcOp: {
|
|
2547
|
-
type: 'unknown',
|
|
2548
|
-
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.',
|
|
2549
|
-
},
|
|
2550
|
-
},
|
|
2551
|
-
},
|
|
2552
|
-
},
|
|
2553
|
-
output: {
|
|
2554
|
-
encoding: 'application/json',
|
|
2555
|
-
schema: {
|
|
2556
|
-
type: 'object',
|
|
2557
|
-
description: 'Account login session returned on successful account creation.',
|
|
2558
|
-
required: ['accessJwt', 'refreshJwt', 'handle', 'did'],
|
|
2559
|
-
properties: {
|
|
2560
|
-
accessJwt: {
|
|
2561
|
-
type: 'string',
|
|
2562
|
-
},
|
|
2563
|
-
refreshJwt: {
|
|
2564
|
-
type: 'string',
|
|
2565
|
-
},
|
|
2566
|
-
handle: {
|
|
2567
|
-
type: 'string',
|
|
2568
|
-
format: 'handle',
|
|
2569
|
-
},
|
|
2570
|
-
did: {
|
|
2571
|
-
type: 'string',
|
|
2572
|
-
format: 'did',
|
|
2573
|
-
description: 'The DID of the new account.',
|
|
2574
|
-
},
|
|
2575
|
-
didDoc: {
|
|
2576
|
-
type: 'unknown',
|
|
2577
|
-
description: 'Complete DID document.',
|
|
2578
|
-
},
|
|
2579
|
-
},
|
|
2580
|
-
},
|
|
2581
|
-
},
|
|
2582
|
-
errors: [
|
|
2583
|
-
{
|
|
2584
|
-
name: 'InvalidHandle',
|
|
2585
|
-
},
|
|
2586
|
-
{
|
|
2587
|
-
name: 'InvalidPassword',
|
|
2588
|
-
},
|
|
2589
|
-
{
|
|
2590
|
-
name: 'InvalidInviteCode',
|
|
2591
|
-
},
|
|
2592
|
-
{
|
|
2593
|
-
name: 'HandleNotAvailable',
|
|
2594
|
-
},
|
|
2595
|
-
{
|
|
2596
|
-
name: 'UnsupportedDomain',
|
|
2597
|
-
},
|
|
2598
|
-
{
|
|
2599
|
-
name: 'UnresolvableDid',
|
|
2600
|
-
},
|
|
2601
|
-
{
|
|
2602
|
-
name: 'IncompatibleDidDoc',
|
|
2603
|
-
},
|
|
2604
|
-
],
|
|
2605
|
-
},
|
|
2606
|
-
},
|
|
2607
|
-
},
|
|
2608
|
-
ComAtprotoServerCreateAppPassword: {
|
|
2609
|
-
lexicon: 1,
|
|
2610
|
-
id: 'com.atproto.server.createAppPassword',
|
|
2611
|
-
defs: {
|
|
2612
|
-
main: {
|
|
2613
|
-
type: 'procedure',
|
|
2614
|
-
description: 'Create an App Password.',
|
|
2615
|
-
input: {
|
|
2616
|
-
encoding: 'application/json',
|
|
2617
|
-
schema: {
|
|
2618
|
-
type: 'object',
|
|
2619
|
-
required: ['name'],
|
|
2620
|
-
properties: {
|
|
2621
|
-
name: {
|
|
2622
|
-
type: 'string',
|
|
2623
|
-
description: 'A short name for the App Password, to help distinguish them.',
|
|
2624
|
-
},
|
|
2625
|
-
privileged: {
|
|
2626
|
-
type: 'boolean',
|
|
2627
|
-
description: "If an app password has 'privileged' access to possibly sensitive account state. Meant for use with trusted clients.",
|
|
2628
|
-
},
|
|
2629
|
-
},
|
|
2630
|
-
},
|
|
2631
|
-
},
|
|
2632
|
-
output: {
|
|
2633
|
-
encoding: 'application/json',
|
|
2634
|
-
schema: {
|
|
2635
|
-
type: 'ref',
|
|
2636
|
-
ref: 'lex:com.atproto.server.createAppPassword#appPassword',
|
|
2637
|
-
},
|
|
2638
|
-
},
|
|
2639
|
-
errors: [
|
|
2640
|
-
{
|
|
2641
|
-
name: 'AccountTakedown',
|
|
2642
|
-
},
|
|
2643
|
-
],
|
|
2644
|
-
},
|
|
2645
|
-
appPassword: {
|
|
2646
|
-
type: 'object',
|
|
2647
|
-
required: ['name', 'password', 'createdAt'],
|
|
2648
|
-
properties: {
|
|
2649
|
-
name: {
|
|
2650
|
-
type: 'string',
|
|
2651
|
-
},
|
|
2652
|
-
password: {
|
|
2653
|
-
type: 'string',
|
|
2654
|
-
},
|
|
2655
|
-
createdAt: {
|
|
2656
|
-
type: 'string',
|
|
2657
|
-
format: 'datetime',
|
|
2658
|
-
},
|
|
2659
|
-
privileged: {
|
|
2660
|
-
type: 'boolean',
|
|
2661
|
-
},
|
|
2662
|
-
},
|
|
2663
|
-
},
|
|
2664
|
-
},
|
|
2665
|
-
},
|
|
2666
|
-
ComAtprotoServerCreateInviteCode: {
|
|
2667
|
-
lexicon: 1,
|
|
2668
|
-
id: 'com.atproto.server.createInviteCode',
|
|
2669
|
-
defs: {
|
|
2670
|
-
main: {
|
|
2671
|
-
type: 'procedure',
|
|
2672
|
-
description: 'Create an invite code.',
|
|
2673
|
-
input: {
|
|
2674
|
-
encoding: 'application/json',
|
|
2675
|
-
schema: {
|
|
2676
|
-
type: 'object',
|
|
2677
|
-
required: ['useCount'],
|
|
2678
|
-
properties: {
|
|
2679
|
-
useCount: {
|
|
2680
|
-
type: 'integer',
|
|
2681
|
-
},
|
|
2682
|
-
forAccount: {
|
|
2683
|
-
type: 'string',
|
|
2684
|
-
format: 'did',
|
|
2685
|
-
},
|
|
2686
|
-
},
|
|
2687
|
-
},
|
|
2688
|
-
},
|
|
2689
|
-
output: {
|
|
2690
|
-
encoding: 'application/json',
|
|
2691
|
-
schema: {
|
|
2692
|
-
type: 'object',
|
|
2693
|
-
required: ['code'],
|
|
2694
|
-
properties: {
|
|
2695
|
-
code: {
|
|
2696
|
-
type: 'string',
|
|
2697
|
-
},
|
|
2698
|
-
},
|
|
2699
|
-
},
|
|
2700
|
-
},
|
|
2701
|
-
},
|
|
2702
|
-
},
|
|
2703
|
-
},
|
|
2704
|
-
ComAtprotoServerCreateInviteCodes: {
|
|
2705
|
-
lexicon: 1,
|
|
2706
|
-
id: 'com.atproto.server.createInviteCodes',
|
|
2707
|
-
defs: {
|
|
2708
|
-
main: {
|
|
2709
|
-
type: 'procedure',
|
|
2710
|
-
description: 'Create invite codes.',
|
|
2711
|
-
input: {
|
|
2712
|
-
encoding: 'application/json',
|
|
2713
|
-
schema: {
|
|
2714
|
-
type: 'object',
|
|
2715
|
-
required: ['codeCount', 'useCount'],
|
|
2716
|
-
properties: {
|
|
2717
|
-
codeCount: {
|
|
2718
|
-
type: 'integer',
|
|
2719
|
-
default: 1,
|
|
2720
|
-
},
|
|
2721
|
-
useCount: {
|
|
2722
|
-
type: 'integer',
|
|
2723
|
-
},
|
|
2724
|
-
forAccounts: {
|
|
2725
|
-
type: 'array',
|
|
2726
|
-
items: {
|
|
2727
|
-
type: 'string',
|
|
2728
|
-
format: 'did',
|
|
2729
|
-
},
|
|
2730
|
-
},
|
|
2731
|
-
},
|
|
2732
|
-
},
|
|
2733
|
-
},
|
|
2734
|
-
output: {
|
|
2735
|
-
encoding: 'application/json',
|
|
2736
|
-
schema: {
|
|
2737
|
-
type: 'object',
|
|
2738
|
-
required: ['codes'],
|
|
2739
|
-
properties: {
|
|
2740
|
-
codes: {
|
|
2741
|
-
type: 'array',
|
|
2742
|
-
items: {
|
|
2743
|
-
type: 'ref',
|
|
2744
|
-
ref: 'lex:com.atproto.server.createInviteCodes#accountCodes',
|
|
2745
|
-
},
|
|
2746
|
-
},
|
|
2747
|
-
},
|
|
2748
|
-
},
|
|
2749
|
-
},
|
|
2750
|
-
},
|
|
2751
|
-
accountCodes: {
|
|
2752
|
-
type: 'object',
|
|
2753
|
-
required: ['account', 'codes'],
|
|
2754
|
-
properties: {
|
|
2755
|
-
account: {
|
|
2756
|
-
type: 'string',
|
|
2757
|
-
},
|
|
2758
|
-
codes: {
|
|
2759
|
-
type: 'array',
|
|
2760
|
-
items: {
|
|
2761
|
-
type: 'string',
|
|
2762
|
-
},
|
|
2763
|
-
},
|
|
2764
|
-
},
|
|
2765
|
-
},
|
|
2766
|
-
},
|
|
2767
|
-
},
|
|
2768
|
-
ComAtprotoServerCreateSession: {
|
|
2769
|
-
lexicon: 1,
|
|
2770
|
-
id: 'com.atproto.server.createSession',
|
|
2771
|
-
defs: {
|
|
2772
|
-
main: {
|
|
2773
|
-
type: 'procedure',
|
|
2774
|
-
description: 'Create an authentication session.',
|
|
2775
|
-
input: {
|
|
2776
|
-
encoding: 'application/json',
|
|
2777
|
-
schema: {
|
|
2778
|
-
type: 'object',
|
|
2779
|
-
required: ['identifier', 'password'],
|
|
2780
|
-
properties: {
|
|
2781
|
-
identifier: {
|
|
2782
|
-
type: 'string',
|
|
2783
|
-
description: 'Handle or other identifier supported by the server for the authenticating user.',
|
|
2784
|
-
},
|
|
2785
|
-
password: {
|
|
2786
|
-
type: 'string',
|
|
2787
|
-
},
|
|
2788
|
-
authFactorToken: {
|
|
2789
|
-
type: 'string',
|
|
2790
|
-
},
|
|
2791
|
-
allowTakendown: {
|
|
2792
|
-
type: 'boolean',
|
|
2793
|
-
description: 'When true, instead of throwing error for takendown accounts, a valid response with a narrow scoped token will be returned',
|
|
2794
|
-
},
|
|
2795
|
-
},
|
|
2796
|
-
},
|
|
2797
|
-
},
|
|
2798
|
-
output: {
|
|
2799
|
-
encoding: 'application/json',
|
|
2800
|
-
schema: {
|
|
2801
|
-
type: 'object',
|
|
2802
|
-
required: ['accessJwt', 'refreshJwt', 'handle', 'did'],
|
|
2803
|
-
properties: {
|
|
2804
|
-
accessJwt: {
|
|
2805
|
-
type: 'string',
|
|
2806
|
-
},
|
|
2807
|
-
refreshJwt: {
|
|
2808
|
-
type: 'string',
|
|
2809
|
-
},
|
|
2810
|
-
handle: {
|
|
2811
|
-
type: 'string',
|
|
2812
|
-
format: 'handle',
|
|
2813
|
-
},
|
|
2814
|
-
did: {
|
|
2815
|
-
type: 'string',
|
|
2816
|
-
format: 'did',
|
|
2817
|
-
},
|
|
2818
|
-
didDoc: {
|
|
2819
|
-
type: 'unknown',
|
|
2820
|
-
},
|
|
2821
|
-
email: {
|
|
2822
|
-
type: 'string',
|
|
2823
|
-
},
|
|
2824
|
-
emailConfirmed: {
|
|
2825
|
-
type: 'boolean',
|
|
2826
|
-
},
|
|
2827
|
-
emailAuthFactor: {
|
|
2828
|
-
type: 'boolean',
|
|
2829
|
-
},
|
|
2830
|
-
active: {
|
|
2831
|
-
type: 'boolean',
|
|
2832
|
-
},
|
|
2833
|
-
status: {
|
|
2834
|
-
type: 'string',
|
|
2835
|
-
description: 'If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.',
|
|
2836
|
-
knownValues: ['takendown', 'suspended', 'deactivated'],
|
|
2837
|
-
},
|
|
2838
|
-
},
|
|
2839
|
-
},
|
|
2840
|
-
},
|
|
2841
|
-
errors: [
|
|
2842
|
-
{
|
|
2843
|
-
name: 'AccountTakedown',
|
|
2844
|
-
},
|
|
2845
|
-
{
|
|
2846
|
-
name: 'AuthFactorTokenRequired',
|
|
2847
|
-
},
|
|
2848
|
-
],
|
|
2849
|
-
},
|
|
2850
|
-
},
|
|
2851
|
-
},
|
|
2852
|
-
ComAtprotoServerDeactivateAccount: {
|
|
2853
|
-
lexicon: 1,
|
|
2854
|
-
id: 'com.atproto.server.deactivateAccount',
|
|
2855
|
-
defs: {
|
|
2856
|
-
main: {
|
|
2857
|
-
type: 'procedure',
|
|
2858
|
-
description: 'Deactivates a currently active account. Stops serving of repo, and future writes to repo until reactivated. Used to finalize account migration with the old host after the account has been activated on the new host.',
|
|
2859
|
-
input: {
|
|
2860
|
-
encoding: 'application/json',
|
|
2861
|
-
schema: {
|
|
2862
|
-
type: 'object',
|
|
2863
|
-
properties: {
|
|
2864
|
-
deleteAfter: {
|
|
2865
|
-
type: 'string',
|
|
2866
|
-
format: 'datetime',
|
|
2867
|
-
description: 'A recommendation to server as to how long they should hold onto the deactivated account before deleting.',
|
|
2868
|
-
},
|
|
2869
|
-
},
|
|
2870
|
-
},
|
|
2871
|
-
},
|
|
2872
|
-
},
|
|
2873
|
-
},
|
|
2874
|
-
},
|
|
2875
|
-
ComAtprotoServerDefs: {
|
|
2876
|
-
lexicon: 1,
|
|
2877
|
-
id: 'com.atproto.server.defs',
|
|
2878
|
-
defs: {
|
|
2879
|
-
inviteCode: {
|
|
2880
|
-
type: 'object',
|
|
2881
|
-
required: [
|
|
2882
|
-
'code',
|
|
2883
|
-
'available',
|
|
2884
|
-
'disabled',
|
|
2885
|
-
'forAccount',
|
|
2886
|
-
'createdBy',
|
|
2887
|
-
'createdAt',
|
|
2888
|
-
'uses',
|
|
2889
|
-
],
|
|
2890
|
-
properties: {
|
|
2891
|
-
code: {
|
|
2892
|
-
type: 'string',
|
|
2893
|
-
},
|
|
2894
|
-
available: {
|
|
2895
|
-
type: 'integer',
|
|
2896
|
-
},
|
|
2897
|
-
disabled: {
|
|
2898
|
-
type: 'boolean',
|
|
2899
|
-
},
|
|
2900
|
-
forAccount: {
|
|
2901
|
-
type: 'string',
|
|
2902
|
-
},
|
|
2903
|
-
createdBy: {
|
|
2904
|
-
type: 'string',
|
|
2905
|
-
},
|
|
2906
|
-
createdAt: {
|
|
2907
|
-
type: 'string',
|
|
2908
|
-
format: 'datetime',
|
|
2909
|
-
},
|
|
2910
|
-
uses: {
|
|
2911
|
-
type: 'array',
|
|
2912
|
-
items: {
|
|
2913
|
-
type: 'ref',
|
|
2914
|
-
ref: 'lex:com.atproto.server.defs#inviteCodeUse',
|
|
2915
|
-
},
|
|
2916
|
-
},
|
|
2917
|
-
},
|
|
2918
|
-
},
|
|
2919
|
-
inviteCodeUse: {
|
|
2920
|
-
type: 'object',
|
|
2921
|
-
required: ['usedBy', 'usedAt'],
|
|
2922
|
-
properties: {
|
|
2923
|
-
usedBy: {
|
|
2924
|
-
type: 'string',
|
|
2925
|
-
format: 'did',
|
|
2926
|
-
},
|
|
2927
|
-
usedAt: {
|
|
2928
|
-
type: 'string',
|
|
2929
|
-
format: 'datetime',
|
|
2930
|
-
},
|
|
2931
|
-
},
|
|
2932
|
-
},
|
|
2933
|
-
},
|
|
2934
|
-
},
|
|
2935
|
-
ComAtprotoServerDeleteAccount: {
|
|
2936
|
-
lexicon: 1,
|
|
2937
|
-
id: 'com.atproto.server.deleteAccount',
|
|
2938
|
-
defs: {
|
|
2939
|
-
main: {
|
|
2940
|
-
type: 'procedure',
|
|
2941
|
-
description: "Delete an actor's account with a token and password. Can only be called after requesting a deletion token. Requires auth.",
|
|
2942
|
-
input: {
|
|
2943
|
-
encoding: 'application/json',
|
|
2944
|
-
schema: {
|
|
2945
|
-
type: 'object',
|
|
2946
|
-
required: ['did', 'password', 'token'],
|
|
2947
|
-
properties: {
|
|
2948
|
-
did: {
|
|
2949
|
-
type: 'string',
|
|
2950
|
-
format: 'did',
|
|
2951
|
-
},
|
|
2952
|
-
password: {
|
|
2953
|
-
type: 'string',
|
|
2954
|
-
},
|
|
2955
|
-
token: {
|
|
2956
|
-
type: 'string',
|
|
2957
|
-
},
|
|
2958
|
-
},
|
|
2959
|
-
},
|
|
2960
|
-
},
|
|
2961
|
-
errors: [
|
|
2962
|
-
{
|
|
2963
|
-
name: 'ExpiredToken',
|
|
2964
|
-
},
|
|
2965
|
-
{
|
|
2966
|
-
name: 'InvalidToken',
|
|
2967
|
-
},
|
|
2968
|
-
],
|
|
2969
|
-
},
|
|
2970
|
-
},
|
|
2971
|
-
},
|
|
2972
|
-
ComAtprotoServerDeleteSession: {
|
|
2973
|
-
lexicon: 1,
|
|
2974
|
-
id: 'com.atproto.server.deleteSession',
|
|
2975
|
-
defs: {
|
|
2976
|
-
main: {
|
|
2977
|
-
type: 'procedure',
|
|
2978
|
-
description: 'Delete the current session. Requires auth.',
|
|
2979
|
-
},
|
|
2980
|
-
},
|
|
2981
|
-
},
|
|
2982
|
-
ComAtprotoServerDescribeServer: {
|
|
2983
|
-
lexicon: 1,
|
|
2984
|
-
id: 'com.atproto.server.describeServer',
|
|
2985
|
-
defs: {
|
|
2986
|
-
main: {
|
|
2987
|
-
type: 'query',
|
|
2988
|
-
description: "Describes the server's account creation requirements and capabilities. Implemented by PDS.",
|
|
2989
|
-
output: {
|
|
2990
|
-
encoding: 'application/json',
|
|
2991
|
-
schema: {
|
|
2992
|
-
type: 'object',
|
|
2993
|
-
required: ['did', 'availableUserDomains'],
|
|
2994
|
-
properties: {
|
|
2995
|
-
inviteCodeRequired: {
|
|
2996
|
-
type: 'boolean',
|
|
2997
|
-
description: 'If true, an invite code must be supplied to create an account on this instance.',
|
|
2998
|
-
},
|
|
2999
|
-
phoneVerificationRequired: {
|
|
3000
|
-
type: 'boolean',
|
|
3001
|
-
description: 'If true, a phone verification token must be supplied to create an account on this instance.',
|
|
3002
|
-
},
|
|
3003
|
-
availableUserDomains: {
|
|
3004
|
-
type: 'array',
|
|
3005
|
-
description: 'List of domain suffixes that can be used in account handles.',
|
|
3006
|
-
items: {
|
|
3007
|
-
type: 'string',
|
|
3008
|
-
},
|
|
3009
|
-
},
|
|
3010
|
-
links: {
|
|
3011
|
-
type: 'ref',
|
|
3012
|
-
description: 'URLs of service policy documents.',
|
|
3013
|
-
ref: 'lex:com.atproto.server.describeServer#links',
|
|
3014
|
-
},
|
|
3015
|
-
contact: {
|
|
3016
|
-
type: 'ref',
|
|
3017
|
-
description: 'Contact information',
|
|
3018
|
-
ref: 'lex:com.atproto.server.describeServer#contact',
|
|
3019
|
-
},
|
|
3020
|
-
did: {
|
|
3021
|
-
type: 'string',
|
|
3022
|
-
format: 'did',
|
|
3023
|
-
},
|
|
3024
|
-
},
|
|
3025
|
-
},
|
|
3026
|
-
},
|
|
3027
|
-
},
|
|
3028
|
-
links: {
|
|
3029
|
-
type: 'object',
|
|
3030
|
-
properties: {
|
|
3031
|
-
privacyPolicy: {
|
|
3032
|
-
type: 'string',
|
|
3033
|
-
format: 'uri',
|
|
3034
|
-
},
|
|
3035
|
-
termsOfService: {
|
|
3036
|
-
type: 'string',
|
|
3037
|
-
format: 'uri',
|
|
3038
|
-
},
|
|
3039
|
-
},
|
|
3040
|
-
},
|
|
3041
|
-
contact: {
|
|
3042
|
-
type: 'object',
|
|
3043
|
-
properties: {
|
|
3044
|
-
email: {
|
|
3045
|
-
type: 'string',
|
|
3046
|
-
},
|
|
3047
|
-
},
|
|
3048
|
-
},
|
|
3049
|
-
},
|
|
3050
|
-
},
|
|
3051
|
-
ComAtprotoServerGetAccountInviteCodes: {
|
|
3052
|
-
lexicon: 1,
|
|
3053
|
-
id: 'com.atproto.server.getAccountInviteCodes',
|
|
3054
|
-
defs: {
|
|
3055
|
-
main: {
|
|
3056
|
-
type: 'query',
|
|
3057
|
-
description: 'Get all invite codes for the current account. Requires auth.',
|
|
3058
|
-
parameters: {
|
|
3059
|
-
type: 'params',
|
|
3060
|
-
properties: {
|
|
3061
|
-
includeUsed: {
|
|
3062
|
-
type: 'boolean',
|
|
3063
|
-
default: true,
|
|
3064
|
-
},
|
|
3065
|
-
createAvailable: {
|
|
3066
|
-
type: 'boolean',
|
|
3067
|
-
default: true,
|
|
3068
|
-
description: "Controls whether any new 'earned' but not 'created' invites should be created.",
|
|
3069
|
-
},
|
|
3070
|
-
},
|
|
3071
|
-
},
|
|
3072
|
-
output: {
|
|
3073
|
-
encoding: 'application/json',
|
|
3074
|
-
schema: {
|
|
3075
|
-
type: 'object',
|
|
3076
|
-
required: ['codes'],
|
|
3077
|
-
properties: {
|
|
3078
|
-
codes: {
|
|
3079
|
-
type: 'array',
|
|
3080
|
-
items: {
|
|
3081
|
-
type: 'ref',
|
|
3082
|
-
ref: 'lex:com.atproto.server.defs#inviteCode',
|
|
3083
|
-
},
|
|
3084
|
-
},
|
|
3085
|
-
},
|
|
3086
|
-
},
|
|
3087
|
-
},
|
|
3088
|
-
errors: [
|
|
3089
|
-
{
|
|
3090
|
-
name: 'DuplicateCreate',
|
|
3091
|
-
},
|
|
3092
|
-
],
|
|
3093
|
-
},
|
|
3094
|
-
},
|
|
3095
|
-
},
|
|
3096
|
-
ComAtprotoServerGetServiceAuth: {
|
|
3097
|
-
lexicon: 1,
|
|
3098
|
-
id: 'com.atproto.server.getServiceAuth',
|
|
3099
|
-
defs: {
|
|
3100
|
-
main: {
|
|
3101
|
-
type: 'query',
|
|
3102
|
-
description: 'Get a signed token on behalf of the requesting DID for the requested service.',
|
|
3103
|
-
parameters: {
|
|
3104
|
-
type: 'params',
|
|
3105
|
-
required: ['aud'],
|
|
3106
|
-
properties: {
|
|
3107
|
-
aud: {
|
|
3108
|
-
type: 'string',
|
|
3109
|
-
format: 'did',
|
|
3110
|
-
description: 'The DID of the service that the token will be used to authenticate with',
|
|
3111
|
-
},
|
|
3112
|
-
exp: {
|
|
3113
|
-
type: 'integer',
|
|
3114
|
-
description: 'The time in Unix Epoch seconds that the JWT expires. Defaults to 60 seconds in the future. The service may enforce certain time bounds on tokens depending on the requested scope.',
|
|
3115
|
-
},
|
|
3116
|
-
lxm: {
|
|
3117
|
-
type: 'string',
|
|
3118
|
-
format: 'nsid',
|
|
3119
|
-
description: 'Lexicon (XRPC) method to bind the requested token to',
|
|
3120
|
-
},
|
|
3121
|
-
},
|
|
3122
|
-
},
|
|
3123
|
-
output: {
|
|
3124
|
-
encoding: 'application/json',
|
|
3125
|
-
schema: {
|
|
3126
|
-
type: 'object',
|
|
3127
|
-
required: ['token'],
|
|
3128
|
-
properties: {
|
|
3129
|
-
token: {
|
|
3130
|
-
type: 'string',
|
|
3131
|
-
},
|
|
3132
|
-
},
|
|
3133
|
-
},
|
|
3134
|
-
},
|
|
3135
|
-
errors: [
|
|
3136
|
-
{
|
|
3137
|
-
name: 'BadExpiration',
|
|
3138
|
-
description: 'Indicates that the requested expiration date is not a valid. May be in the past or may be reliant on the requested scopes.',
|
|
3139
|
-
},
|
|
3140
|
-
],
|
|
3141
|
-
},
|
|
3142
|
-
},
|
|
3143
|
-
},
|
|
3144
|
-
ComAtprotoServerGetSession: {
|
|
3145
|
-
lexicon: 1,
|
|
3146
|
-
id: 'com.atproto.server.getSession',
|
|
3147
|
-
defs: {
|
|
3148
|
-
main: {
|
|
3149
|
-
type: 'query',
|
|
3150
|
-
description: 'Get information about the current auth session. Requires auth.',
|
|
3151
|
-
output: {
|
|
3152
|
-
encoding: 'application/json',
|
|
3153
|
-
schema: {
|
|
3154
|
-
type: 'object',
|
|
3155
|
-
required: ['handle', 'did'],
|
|
3156
|
-
properties: {
|
|
3157
|
-
handle: {
|
|
3158
|
-
type: 'string',
|
|
3159
|
-
format: 'handle',
|
|
3160
|
-
},
|
|
3161
|
-
did: {
|
|
3162
|
-
type: 'string',
|
|
3163
|
-
format: 'did',
|
|
3164
|
-
},
|
|
3165
|
-
email: {
|
|
3166
|
-
type: 'string',
|
|
3167
|
-
},
|
|
3168
|
-
emailConfirmed: {
|
|
3169
|
-
type: 'boolean',
|
|
3170
|
-
},
|
|
3171
|
-
emailAuthFactor: {
|
|
3172
|
-
type: 'boolean',
|
|
3173
|
-
},
|
|
3174
|
-
didDoc: {
|
|
3175
|
-
type: 'unknown',
|
|
3176
|
-
},
|
|
3177
|
-
active: {
|
|
3178
|
-
type: 'boolean',
|
|
3179
|
-
},
|
|
3180
|
-
status: {
|
|
3181
|
-
type: 'string',
|
|
3182
|
-
description: 'If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.',
|
|
3183
|
-
knownValues: ['takendown', 'suspended', 'deactivated'],
|
|
3184
|
-
},
|
|
3185
|
-
},
|
|
3186
|
-
},
|
|
3187
|
-
},
|
|
3188
|
-
},
|
|
3189
|
-
},
|
|
3190
|
-
},
|
|
3191
|
-
ComAtprotoServerListAppPasswords: {
|
|
3192
|
-
lexicon: 1,
|
|
3193
|
-
id: 'com.atproto.server.listAppPasswords',
|
|
3194
|
-
defs: {
|
|
3195
|
-
main: {
|
|
3196
|
-
type: 'query',
|
|
3197
|
-
description: 'List all App Passwords.',
|
|
3198
|
-
output: {
|
|
3199
|
-
encoding: 'application/json',
|
|
3200
|
-
schema: {
|
|
3201
|
-
type: 'object',
|
|
3202
|
-
required: ['passwords'],
|
|
3203
|
-
properties: {
|
|
3204
|
-
passwords: {
|
|
3205
|
-
type: 'array',
|
|
3206
|
-
items: {
|
|
3207
|
-
type: 'ref',
|
|
3208
|
-
ref: 'lex:com.atproto.server.listAppPasswords#appPassword',
|
|
3209
|
-
},
|
|
3210
|
-
},
|
|
3211
|
-
},
|
|
3212
|
-
},
|
|
3213
|
-
},
|
|
3214
|
-
errors: [
|
|
3215
|
-
{
|
|
3216
|
-
name: 'AccountTakedown',
|
|
3217
|
-
},
|
|
3218
|
-
],
|
|
3219
|
-
},
|
|
3220
|
-
appPassword: {
|
|
3221
|
-
type: 'object',
|
|
3222
|
-
required: ['name', 'createdAt'],
|
|
3223
|
-
properties: {
|
|
3224
|
-
name: {
|
|
3225
|
-
type: 'string',
|
|
3226
|
-
},
|
|
3227
|
-
createdAt: {
|
|
3228
|
-
type: 'string',
|
|
3229
|
-
format: 'datetime',
|
|
3230
|
-
},
|
|
3231
|
-
privileged: {
|
|
3232
|
-
type: 'boolean',
|
|
3233
|
-
},
|
|
3234
|
-
},
|
|
3235
|
-
},
|
|
3236
|
-
},
|
|
3237
|
-
},
|
|
3238
|
-
ComAtprotoServerRefreshSession: {
|
|
3239
|
-
lexicon: 1,
|
|
3240
|
-
id: 'com.atproto.server.refreshSession',
|
|
3241
|
-
defs: {
|
|
3242
|
-
main: {
|
|
3243
|
-
type: 'procedure',
|
|
3244
|
-
description: "Refresh an authentication session. Requires auth using the 'refreshJwt' (not the 'accessJwt').",
|
|
3245
|
-
output: {
|
|
3246
|
-
encoding: 'application/json',
|
|
3247
|
-
schema: {
|
|
3248
|
-
type: 'object',
|
|
3249
|
-
required: ['accessJwt', 'refreshJwt', 'handle', 'did'],
|
|
3250
|
-
properties: {
|
|
3251
|
-
accessJwt: {
|
|
3252
|
-
type: 'string',
|
|
3253
|
-
},
|
|
3254
|
-
refreshJwt: {
|
|
3255
|
-
type: 'string',
|
|
3256
|
-
},
|
|
3257
|
-
handle: {
|
|
3258
|
-
type: 'string',
|
|
3259
|
-
format: 'handle',
|
|
3260
|
-
},
|
|
3261
|
-
did: {
|
|
3262
|
-
type: 'string',
|
|
3263
|
-
format: 'did',
|
|
3264
|
-
},
|
|
3265
|
-
didDoc: {
|
|
3266
|
-
type: 'unknown',
|
|
3267
|
-
},
|
|
3268
|
-
active: {
|
|
3269
|
-
type: 'boolean',
|
|
3270
|
-
},
|
|
3271
|
-
status: {
|
|
3272
|
-
type: 'string',
|
|
3273
|
-
description: "Hosting status of the account. If not specified, then assume 'active'.",
|
|
3274
|
-
knownValues: ['takendown', 'suspended', 'deactivated'],
|
|
3275
|
-
},
|
|
3276
|
-
},
|
|
3277
|
-
},
|
|
3278
|
-
},
|
|
3279
|
-
errors: [
|
|
3280
|
-
{
|
|
3281
|
-
name: 'AccountTakedown',
|
|
3282
|
-
},
|
|
3283
|
-
],
|
|
3284
|
-
},
|
|
3285
|
-
},
|
|
3286
|
-
},
|
|
3287
|
-
ComAtprotoServerRequestAccountDelete: {
|
|
3288
|
-
lexicon: 1,
|
|
3289
|
-
id: 'com.atproto.server.requestAccountDelete',
|
|
3290
|
-
defs: {
|
|
3291
|
-
main: {
|
|
3292
|
-
type: 'procedure',
|
|
3293
|
-
description: 'Initiate a user account deletion via email.',
|
|
3294
|
-
},
|
|
3295
|
-
},
|
|
3296
|
-
},
|
|
3297
|
-
ComAtprotoServerRequestEmailConfirmation: {
|
|
3298
|
-
lexicon: 1,
|
|
3299
|
-
id: 'com.atproto.server.requestEmailConfirmation',
|
|
3300
|
-
defs: {
|
|
3301
|
-
main: {
|
|
3302
|
-
type: 'procedure',
|
|
3303
|
-
description: 'Request an email with a code to confirm ownership of email.',
|
|
3304
|
-
},
|
|
3305
|
-
},
|
|
3306
|
-
},
|
|
3307
|
-
ComAtprotoServerRequestEmailUpdate: {
|
|
3308
|
-
lexicon: 1,
|
|
3309
|
-
id: 'com.atproto.server.requestEmailUpdate',
|
|
3310
|
-
defs: {
|
|
3311
|
-
main: {
|
|
3312
|
-
type: 'procedure',
|
|
3313
|
-
description: 'Request a token in order to update email.',
|
|
3314
|
-
output: {
|
|
3315
|
-
encoding: 'application/json',
|
|
3316
|
-
schema: {
|
|
3317
|
-
type: 'object',
|
|
3318
|
-
required: ['tokenRequired'],
|
|
3319
|
-
properties: {
|
|
3320
|
-
tokenRequired: {
|
|
3321
|
-
type: 'boolean',
|
|
3322
|
-
},
|
|
3323
|
-
},
|
|
3324
|
-
},
|
|
3325
|
-
},
|
|
3326
|
-
},
|
|
3327
|
-
},
|
|
3328
|
-
},
|
|
3329
|
-
ComAtprotoServerRequestPasswordReset: {
|
|
3330
|
-
lexicon: 1,
|
|
3331
|
-
id: 'com.atproto.server.requestPasswordReset',
|
|
3332
|
-
defs: {
|
|
3333
|
-
main: {
|
|
3334
|
-
type: 'procedure',
|
|
3335
|
-
description: 'Initiate a user account password reset via email.',
|
|
3336
|
-
input: {
|
|
3337
|
-
encoding: 'application/json',
|
|
3338
|
-
schema: {
|
|
3339
|
-
type: 'object',
|
|
3340
|
-
required: ['email'],
|
|
3341
|
-
properties: {
|
|
3342
|
-
email: {
|
|
3343
|
-
type: 'string',
|
|
3344
|
-
},
|
|
3345
|
-
},
|
|
3346
|
-
},
|
|
3347
|
-
},
|
|
3348
|
-
},
|
|
3349
|
-
},
|
|
3350
|
-
},
|
|
3351
|
-
ComAtprotoServerReserveSigningKey: {
|
|
3352
|
-
lexicon: 1,
|
|
3353
|
-
id: 'com.atproto.server.reserveSigningKey',
|
|
3354
|
-
defs: {
|
|
3355
|
-
main: {
|
|
3356
|
-
type: 'procedure',
|
|
3357
|
-
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.',
|
|
3358
|
-
input: {
|
|
3359
|
-
encoding: 'application/json',
|
|
3360
|
-
schema: {
|
|
3361
|
-
type: 'object',
|
|
3362
|
-
properties: {
|
|
3363
|
-
did: {
|
|
3364
|
-
type: 'string',
|
|
3365
|
-
format: 'did',
|
|
3366
|
-
description: 'The DID to reserve a key for.',
|
|
3367
|
-
},
|
|
3368
|
-
},
|
|
3369
|
-
},
|
|
3370
|
-
},
|
|
3371
|
-
output: {
|
|
3372
|
-
encoding: 'application/json',
|
|
3373
|
-
schema: {
|
|
3374
|
-
type: 'object',
|
|
3375
|
-
required: ['signingKey'],
|
|
3376
|
-
properties: {
|
|
3377
|
-
signingKey: {
|
|
3378
|
-
type: 'string',
|
|
3379
|
-
description: 'The public key for the reserved signing key, in did:key serialization.',
|
|
3380
|
-
},
|
|
3381
|
-
},
|
|
3382
|
-
},
|
|
3383
|
-
},
|
|
3384
|
-
},
|
|
3385
|
-
},
|
|
3386
|
-
},
|
|
3387
|
-
ComAtprotoServerResetPassword: {
|
|
3388
|
-
lexicon: 1,
|
|
3389
|
-
id: 'com.atproto.server.resetPassword',
|
|
3390
|
-
defs: {
|
|
3391
|
-
main: {
|
|
3392
|
-
type: 'procedure',
|
|
3393
|
-
description: 'Reset a user account password using a token.',
|
|
3394
|
-
input: {
|
|
3395
|
-
encoding: 'application/json',
|
|
3396
|
-
schema: {
|
|
3397
|
-
type: 'object',
|
|
3398
|
-
required: ['token', 'password'],
|
|
3399
|
-
properties: {
|
|
3400
|
-
token: {
|
|
3401
|
-
type: 'string',
|
|
3402
|
-
},
|
|
3403
|
-
password: {
|
|
3404
|
-
type: 'string',
|
|
3405
|
-
},
|
|
3406
|
-
},
|
|
3407
|
-
},
|
|
3408
|
-
},
|
|
3409
|
-
errors: [
|
|
3410
|
-
{
|
|
3411
|
-
name: 'ExpiredToken',
|
|
3412
|
-
},
|
|
3413
|
-
{
|
|
3414
|
-
name: 'InvalidToken',
|
|
3415
|
-
},
|
|
3416
|
-
],
|
|
3417
|
-
},
|
|
3418
|
-
},
|
|
3419
|
-
},
|
|
3420
|
-
ComAtprotoServerRevokeAppPassword: {
|
|
3421
|
-
lexicon: 1,
|
|
3422
|
-
id: 'com.atproto.server.revokeAppPassword',
|
|
3423
|
-
defs: {
|
|
3424
|
-
main: {
|
|
3425
|
-
type: 'procedure',
|
|
3426
|
-
description: 'Revoke an App Password by name.',
|
|
3427
|
-
input: {
|
|
3428
|
-
encoding: 'application/json',
|
|
3429
|
-
schema: {
|
|
3430
|
-
type: 'object',
|
|
3431
|
-
required: ['name'],
|
|
3432
|
-
properties: {
|
|
3433
|
-
name: {
|
|
3434
|
-
type: 'string',
|
|
3435
|
-
},
|
|
3436
|
-
},
|
|
3437
|
-
},
|
|
3438
|
-
},
|
|
3439
|
-
},
|
|
3440
|
-
},
|
|
3441
|
-
},
|
|
3442
|
-
ComAtprotoServerUpdateEmail: {
|
|
3443
|
-
lexicon: 1,
|
|
3444
|
-
id: 'com.atproto.server.updateEmail',
|
|
3445
|
-
defs: {
|
|
3446
|
-
main: {
|
|
3447
|
-
type: 'procedure',
|
|
3448
|
-
description: "Update an account's email.",
|
|
3449
|
-
input: {
|
|
3450
|
-
encoding: 'application/json',
|
|
3451
|
-
schema: {
|
|
3452
|
-
type: 'object',
|
|
3453
|
-
required: ['email'],
|
|
3454
|
-
properties: {
|
|
3455
|
-
email: {
|
|
3456
|
-
type: 'string',
|
|
3457
|
-
},
|
|
3458
|
-
emailAuthFactor: {
|
|
3459
|
-
type: 'boolean',
|
|
3460
|
-
},
|
|
3461
|
-
token: {
|
|
3462
|
-
type: 'string',
|
|
3463
|
-
description: "Requires a token from com.atproto.sever.requestEmailUpdate if the account's email has been confirmed.",
|
|
3464
|
-
},
|
|
3465
|
-
},
|
|
3466
|
-
},
|
|
3467
|
-
},
|
|
3468
|
-
errors: [
|
|
3469
|
-
{
|
|
3470
|
-
name: 'ExpiredToken',
|
|
3471
|
-
},
|
|
3472
|
-
{
|
|
3473
|
-
name: 'InvalidToken',
|
|
3474
|
-
},
|
|
3475
|
-
{
|
|
3476
|
-
name: 'TokenRequired',
|
|
3477
|
-
},
|
|
3478
|
-
],
|
|
3479
|
-
},
|
|
3480
|
-
},
|
|
3481
|
-
},
|
|
3482
|
-
ComAtprotoSyncGetBlob: {
|
|
3483
|
-
lexicon: 1,
|
|
3484
|
-
id: 'com.atproto.sync.getBlob',
|
|
3485
|
-
defs: {
|
|
3486
|
-
main: {
|
|
3487
|
-
type: 'query',
|
|
3488
|
-
description: 'Get a blob associated with a given account. Returns the full blob as originally uploaded. Does not require auth; implemented by PDS.',
|
|
3489
|
-
parameters: {
|
|
3490
|
-
type: 'params',
|
|
3491
|
-
required: ['did', 'cid'],
|
|
3492
|
-
properties: {
|
|
3493
|
-
did: {
|
|
3494
|
-
type: 'string',
|
|
3495
|
-
format: 'did',
|
|
3496
|
-
description: 'The DID of the account.',
|
|
3497
|
-
},
|
|
3498
|
-
cid: {
|
|
3499
|
-
type: 'string',
|
|
3500
|
-
format: 'cid',
|
|
3501
|
-
description: 'The CID of the blob to fetch',
|
|
3502
|
-
},
|
|
3503
|
-
},
|
|
3504
|
-
},
|
|
3505
|
-
output: {
|
|
3506
|
-
encoding: '*/*',
|
|
3507
|
-
},
|
|
3508
|
-
errors: [
|
|
3509
|
-
{
|
|
3510
|
-
name: 'BlobNotFound',
|
|
3511
|
-
},
|
|
3512
|
-
{
|
|
3513
|
-
name: 'RepoNotFound',
|
|
3514
|
-
},
|
|
3515
|
-
{
|
|
3516
|
-
name: 'RepoTakendown',
|
|
3517
|
-
},
|
|
3518
|
-
{
|
|
3519
|
-
name: 'RepoSuspended',
|
|
3520
|
-
},
|
|
3521
|
-
{
|
|
3522
|
-
name: 'RepoDeactivated',
|
|
3523
|
-
},
|
|
3524
|
-
],
|
|
3525
|
-
},
|
|
3526
|
-
},
|
|
3527
|
-
},
|
|
3528
|
-
ComAtprotoSyncGetBlocks: {
|
|
3529
|
-
lexicon: 1,
|
|
3530
|
-
id: 'com.atproto.sync.getBlocks',
|
|
3531
|
-
defs: {
|
|
3532
|
-
main: {
|
|
3533
|
-
type: 'query',
|
|
3534
|
-
description: 'Get data blocks from a given repo, by CID. For example, intermediate MST nodes, or records. Does not require auth; implemented by PDS.',
|
|
3535
|
-
parameters: {
|
|
3536
|
-
type: 'params',
|
|
3537
|
-
required: ['did', 'cids'],
|
|
3538
|
-
properties: {
|
|
3539
|
-
did: {
|
|
3540
|
-
type: 'string',
|
|
3541
|
-
format: 'did',
|
|
3542
|
-
description: 'The DID of the repo.',
|
|
3543
|
-
},
|
|
3544
|
-
cids: {
|
|
3545
|
-
type: 'array',
|
|
3546
|
-
items: {
|
|
3547
|
-
type: 'string',
|
|
3548
|
-
format: 'cid',
|
|
3549
|
-
},
|
|
3550
|
-
},
|
|
3551
|
-
},
|
|
3552
|
-
},
|
|
3553
|
-
output: {
|
|
3554
|
-
encoding: 'application/vnd.ipld.car',
|
|
3555
|
-
},
|
|
3556
|
-
errors: [
|
|
3557
|
-
{
|
|
3558
|
-
name: 'BlockNotFound',
|
|
3559
|
-
},
|
|
3560
|
-
{
|
|
3561
|
-
name: 'RepoNotFound',
|
|
3562
|
-
},
|
|
3563
|
-
{
|
|
3564
|
-
name: 'RepoTakendown',
|
|
3565
|
-
},
|
|
3566
|
-
{
|
|
3567
|
-
name: 'RepoSuspended',
|
|
3568
|
-
},
|
|
3569
|
-
{
|
|
3570
|
-
name: 'RepoDeactivated',
|
|
3571
|
-
},
|
|
3572
|
-
],
|
|
3573
|
-
},
|
|
3574
|
-
},
|
|
3575
|
-
},
|
|
3576
|
-
ComAtprotoSyncGetCheckout: {
|
|
3577
|
-
lexicon: 1,
|
|
3578
|
-
id: 'com.atproto.sync.getCheckout',
|
|
3579
|
-
defs: {
|
|
3580
|
-
main: {
|
|
3581
|
-
type: 'query',
|
|
3582
|
-
description: 'DEPRECATED - please use com.atproto.sync.getRepo instead',
|
|
3583
|
-
parameters: {
|
|
3584
|
-
type: 'params',
|
|
3585
|
-
required: ['did'],
|
|
3586
|
-
properties: {
|
|
3587
|
-
did: {
|
|
3588
|
-
type: 'string',
|
|
3589
|
-
format: 'did',
|
|
3590
|
-
description: 'The DID of the repo.',
|
|
3591
|
-
},
|
|
3592
|
-
},
|
|
3593
|
-
},
|
|
3594
|
-
output: {
|
|
3595
|
-
encoding: 'application/vnd.ipld.car',
|
|
3596
|
-
},
|
|
3597
|
-
},
|
|
3598
|
-
},
|
|
3599
|
-
},
|
|
3600
|
-
ComAtprotoSyncGetHead: {
|
|
3601
|
-
lexicon: 1,
|
|
3602
|
-
id: 'com.atproto.sync.getHead',
|
|
3603
|
-
defs: {
|
|
3604
|
-
main: {
|
|
3605
|
-
type: 'query',
|
|
3606
|
-
description: 'DEPRECATED - please use com.atproto.sync.getLatestCommit instead',
|
|
3607
|
-
parameters: {
|
|
3608
|
-
type: 'params',
|
|
3609
|
-
required: ['did'],
|
|
3610
|
-
properties: {
|
|
3611
|
-
did: {
|
|
3612
|
-
type: 'string',
|
|
3613
|
-
format: 'did',
|
|
3614
|
-
description: 'The DID of the repo.',
|
|
3615
|
-
},
|
|
3616
|
-
},
|
|
3617
|
-
},
|
|
3618
|
-
output: {
|
|
3619
|
-
encoding: 'application/json',
|
|
3620
|
-
schema: {
|
|
3621
|
-
type: 'object',
|
|
3622
|
-
required: ['root'],
|
|
3623
|
-
properties: {
|
|
3624
|
-
root: {
|
|
3625
|
-
type: 'string',
|
|
3626
|
-
format: 'cid',
|
|
3627
|
-
},
|
|
3628
|
-
},
|
|
3629
|
-
},
|
|
3630
|
-
},
|
|
3631
|
-
errors: [
|
|
3632
|
-
{
|
|
3633
|
-
name: 'HeadNotFound',
|
|
3634
|
-
},
|
|
3635
|
-
],
|
|
3636
|
-
},
|
|
3637
|
-
},
|
|
3638
|
-
},
|
|
3639
|
-
ComAtprotoSyncGetLatestCommit: {
|
|
3640
|
-
lexicon: 1,
|
|
3641
|
-
id: 'com.atproto.sync.getLatestCommit',
|
|
3642
|
-
defs: {
|
|
3643
|
-
main: {
|
|
3644
|
-
type: 'query',
|
|
3645
|
-
description: 'Get the current commit CID & revision of the specified repo. Does not require auth.',
|
|
3646
|
-
parameters: {
|
|
3647
|
-
type: 'params',
|
|
3648
|
-
required: ['did'],
|
|
3649
|
-
properties: {
|
|
3650
|
-
did: {
|
|
3651
|
-
type: 'string',
|
|
3652
|
-
format: 'did',
|
|
3653
|
-
description: 'The DID of the repo.',
|
|
3654
|
-
},
|
|
3655
|
-
},
|
|
3656
|
-
},
|
|
3657
|
-
output: {
|
|
3658
|
-
encoding: 'application/json',
|
|
3659
|
-
schema: {
|
|
3660
|
-
type: 'object',
|
|
3661
|
-
required: ['cid', 'rev'],
|
|
3662
|
-
properties: {
|
|
3663
|
-
cid: {
|
|
3664
|
-
type: 'string',
|
|
3665
|
-
format: 'cid',
|
|
3666
|
-
},
|
|
3667
|
-
rev: {
|
|
3668
|
-
type: 'string',
|
|
3669
|
-
format: 'tid',
|
|
3670
|
-
},
|
|
3671
|
-
},
|
|
3672
|
-
},
|
|
3673
|
-
},
|
|
3674
|
-
errors: [
|
|
3675
|
-
{
|
|
3676
|
-
name: 'RepoNotFound',
|
|
3677
|
-
},
|
|
3678
|
-
{
|
|
3679
|
-
name: 'RepoTakendown',
|
|
3680
|
-
},
|
|
3681
|
-
{
|
|
3682
|
-
name: 'RepoSuspended',
|
|
3683
|
-
},
|
|
3684
|
-
{
|
|
3685
|
-
name: 'RepoDeactivated',
|
|
3686
|
-
},
|
|
3687
|
-
],
|
|
3688
|
-
},
|
|
3689
|
-
},
|
|
3690
|
-
},
|
|
3691
|
-
ComAtprotoSyncGetRecord: {
|
|
3692
|
-
lexicon: 1,
|
|
3693
|
-
id: 'com.atproto.sync.getRecord',
|
|
3694
|
-
defs: {
|
|
3695
|
-
main: {
|
|
3696
|
-
type: 'query',
|
|
3697
|
-
description: 'Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth.',
|
|
3698
|
-
parameters: {
|
|
3699
|
-
type: 'params',
|
|
3700
|
-
required: ['did', 'collection', 'rkey'],
|
|
3701
|
-
properties: {
|
|
3702
|
-
did: {
|
|
3703
|
-
type: 'string',
|
|
3704
|
-
format: 'did',
|
|
3705
|
-
description: 'The DID of the repo.',
|
|
3706
|
-
},
|
|
3707
|
-
collection: {
|
|
3708
|
-
type: 'string',
|
|
3709
|
-
format: 'nsid',
|
|
3710
|
-
},
|
|
3711
|
-
rkey: {
|
|
3712
|
-
type: 'string',
|
|
3713
|
-
description: 'Record Key',
|
|
3714
|
-
format: 'record-key',
|
|
3715
|
-
},
|
|
3716
|
-
},
|
|
3717
|
-
},
|
|
3718
|
-
output: {
|
|
3719
|
-
encoding: 'application/vnd.ipld.car',
|
|
3720
|
-
},
|
|
3721
|
-
errors: [
|
|
3722
|
-
{
|
|
3723
|
-
name: 'RecordNotFound',
|
|
3724
|
-
},
|
|
3725
|
-
{
|
|
3726
|
-
name: 'RepoNotFound',
|
|
3727
|
-
},
|
|
3728
|
-
{
|
|
3729
|
-
name: 'RepoTakendown',
|
|
3730
|
-
},
|
|
3731
|
-
{
|
|
3732
|
-
name: 'RepoSuspended',
|
|
3733
|
-
},
|
|
3734
|
-
{
|
|
3735
|
-
name: 'RepoDeactivated',
|
|
3736
|
-
},
|
|
3737
|
-
],
|
|
3738
|
-
},
|
|
3739
|
-
},
|
|
3740
|
-
},
|
|
3741
|
-
ComAtprotoSyncGetRepo: {
|
|
3742
|
-
lexicon: 1,
|
|
3743
|
-
id: 'com.atproto.sync.getRepo',
|
|
3744
|
-
defs: {
|
|
3745
|
-
main: {
|
|
3746
|
-
type: 'query',
|
|
3747
|
-
description: "Download a repository export as CAR file. Optionally only a 'diff' since a previous revision. Does not require auth; implemented by PDS.",
|
|
3748
|
-
parameters: {
|
|
3749
|
-
type: 'params',
|
|
3750
|
-
required: ['did'],
|
|
3751
|
-
properties: {
|
|
3752
|
-
did: {
|
|
3753
|
-
type: 'string',
|
|
3754
|
-
format: 'did',
|
|
3755
|
-
description: 'The DID of the repo.',
|
|
3756
|
-
},
|
|
3757
|
-
since: {
|
|
3758
|
-
type: 'string',
|
|
3759
|
-
format: 'tid',
|
|
3760
|
-
description: "The revision ('rev') of the repo to create a diff from.",
|
|
3761
|
-
},
|
|
3762
|
-
},
|
|
3763
|
-
},
|
|
3764
|
-
output: {
|
|
3765
|
-
encoding: 'application/vnd.ipld.car',
|
|
3766
|
-
},
|
|
3767
|
-
errors: [
|
|
3768
|
-
{
|
|
3769
|
-
name: 'RepoNotFound',
|
|
3770
|
-
},
|
|
3771
|
-
{
|
|
3772
|
-
name: 'RepoTakendown',
|
|
3773
|
-
},
|
|
3774
|
-
{
|
|
3775
|
-
name: 'RepoSuspended',
|
|
3776
|
-
},
|
|
3777
|
-
{
|
|
3778
|
-
name: 'RepoDeactivated',
|
|
3779
|
-
},
|
|
3780
|
-
],
|
|
3781
|
-
},
|
|
3782
|
-
},
|
|
3783
|
-
},
|
|
3784
|
-
ComAtprotoSyncGetRepoStatus: {
|
|
3785
|
-
lexicon: 1,
|
|
3786
|
-
id: 'com.atproto.sync.getRepoStatus',
|
|
3787
|
-
defs: {
|
|
3788
|
-
main: {
|
|
3789
|
-
type: 'query',
|
|
3790
|
-
description: 'Get the hosting status for a repository, on this server. Expected to be implemented by PDS and Relay.',
|
|
3791
|
-
parameters: {
|
|
3792
|
-
type: 'params',
|
|
3793
|
-
required: ['did'],
|
|
3794
|
-
properties: {
|
|
3795
|
-
did: {
|
|
3796
|
-
type: 'string',
|
|
3797
|
-
format: 'did',
|
|
3798
|
-
description: 'The DID of the repo.',
|
|
3799
|
-
},
|
|
3800
|
-
},
|
|
3801
|
-
},
|
|
3802
|
-
output: {
|
|
3803
|
-
encoding: 'application/json',
|
|
3804
|
-
schema: {
|
|
3805
|
-
type: 'object',
|
|
3806
|
-
required: ['did', 'active'],
|
|
3807
|
-
properties: {
|
|
3808
|
-
did: {
|
|
3809
|
-
type: 'string',
|
|
3810
|
-
format: 'did',
|
|
3811
|
-
},
|
|
3812
|
-
active: {
|
|
3813
|
-
type: 'boolean',
|
|
3814
|
-
},
|
|
3815
|
-
status: {
|
|
3816
|
-
type: 'string',
|
|
3817
|
-
description: 'If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.',
|
|
3818
|
-
knownValues: [
|
|
3819
|
-
'takendown',
|
|
3820
|
-
'suspended',
|
|
3821
|
-
'deleted',
|
|
3822
|
-
'deactivated',
|
|
3823
|
-
'desynchronized',
|
|
3824
|
-
'throttled',
|
|
3825
|
-
],
|
|
3826
|
-
},
|
|
3827
|
-
rev: {
|
|
3828
|
-
type: 'string',
|
|
3829
|
-
format: 'tid',
|
|
3830
|
-
description: 'Optional field, the current rev of the repo, if active=true',
|
|
3831
|
-
},
|
|
3832
|
-
},
|
|
3833
|
-
},
|
|
3834
|
-
},
|
|
3835
|
-
errors: [
|
|
3836
|
-
{
|
|
3837
|
-
name: 'RepoNotFound',
|
|
3838
|
-
},
|
|
3839
|
-
],
|
|
3840
|
-
},
|
|
3841
|
-
},
|
|
3842
|
-
},
|
|
3843
|
-
ComAtprotoSyncListBlobs: {
|
|
3844
|
-
lexicon: 1,
|
|
3845
|
-
id: 'com.atproto.sync.listBlobs',
|
|
3846
|
-
defs: {
|
|
3847
|
-
main: {
|
|
3848
|
-
type: 'query',
|
|
3849
|
-
description: 'List blob CIDs for an account, since some repo revision. Does not require auth; implemented by PDS.',
|
|
3850
|
-
parameters: {
|
|
3851
|
-
type: 'params',
|
|
3852
|
-
required: ['did'],
|
|
3853
|
-
properties: {
|
|
3854
|
-
did: {
|
|
3855
|
-
type: 'string',
|
|
3856
|
-
format: 'did',
|
|
3857
|
-
description: 'The DID of the repo.',
|
|
3858
|
-
},
|
|
3859
|
-
since: {
|
|
3860
|
-
type: 'string',
|
|
3861
|
-
format: 'tid',
|
|
3862
|
-
description: 'Optional revision of the repo to list blobs since.',
|
|
3863
|
-
},
|
|
3864
|
-
limit: {
|
|
3865
|
-
type: 'integer',
|
|
3866
|
-
minimum: 1,
|
|
3867
|
-
maximum: 1000,
|
|
3868
|
-
default: 500,
|
|
3869
|
-
},
|
|
3870
|
-
cursor: {
|
|
3871
|
-
type: 'string',
|
|
3872
|
-
},
|
|
3873
|
-
},
|
|
3874
|
-
},
|
|
3875
|
-
output: {
|
|
3876
|
-
encoding: 'application/json',
|
|
3877
|
-
schema: {
|
|
3878
|
-
type: 'object',
|
|
3879
|
-
required: ['cids'],
|
|
3880
|
-
properties: {
|
|
3881
|
-
cursor: {
|
|
3882
|
-
type: 'string',
|
|
3883
|
-
},
|
|
3884
|
-
cids: {
|
|
3885
|
-
type: 'array',
|
|
3886
|
-
items: {
|
|
3887
|
-
type: 'string',
|
|
3888
|
-
format: 'cid',
|
|
3889
|
-
},
|
|
3890
|
-
},
|
|
3891
|
-
},
|
|
3892
|
-
},
|
|
3893
|
-
},
|
|
3894
|
-
errors: [
|
|
3895
|
-
{
|
|
3896
|
-
name: 'RepoNotFound',
|
|
3897
|
-
},
|
|
3898
|
-
{
|
|
3899
|
-
name: 'RepoTakendown',
|
|
3900
|
-
},
|
|
3901
|
-
{
|
|
3902
|
-
name: 'RepoSuspended',
|
|
3903
|
-
},
|
|
3904
|
-
{
|
|
3905
|
-
name: 'RepoDeactivated',
|
|
3906
|
-
},
|
|
3907
|
-
],
|
|
3908
|
-
},
|
|
3909
|
-
},
|
|
3910
|
-
},
|
|
3911
|
-
ComAtprotoSyncListRepos: {
|
|
3912
|
-
lexicon: 1,
|
|
3913
|
-
id: 'com.atproto.sync.listRepos',
|
|
3914
|
-
defs: {
|
|
3915
|
-
main: {
|
|
3916
|
-
type: 'query',
|
|
3917
|
-
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.',
|
|
3918
|
-
parameters: {
|
|
3919
|
-
type: 'params',
|
|
3920
|
-
properties: {
|
|
3921
|
-
limit: {
|
|
3922
|
-
type: 'integer',
|
|
3923
|
-
minimum: 1,
|
|
3924
|
-
maximum: 1000,
|
|
3925
|
-
default: 500,
|
|
3926
|
-
},
|
|
3927
|
-
cursor: {
|
|
3928
|
-
type: 'string',
|
|
3929
|
-
},
|
|
3930
|
-
},
|
|
3931
|
-
},
|
|
3932
|
-
output: {
|
|
3933
|
-
encoding: 'application/json',
|
|
3934
|
-
schema: {
|
|
3935
|
-
type: 'object',
|
|
3936
|
-
required: ['repos'],
|
|
3937
|
-
properties: {
|
|
3938
|
-
cursor: {
|
|
3939
|
-
type: 'string',
|
|
3940
|
-
},
|
|
3941
|
-
repos: {
|
|
3942
|
-
type: 'array',
|
|
3943
|
-
items: {
|
|
3944
|
-
type: 'ref',
|
|
3945
|
-
ref: 'lex:com.atproto.sync.listRepos#repo',
|
|
3946
|
-
},
|
|
3947
|
-
},
|
|
3948
|
-
},
|
|
3949
|
-
},
|
|
3950
|
-
},
|
|
3951
|
-
},
|
|
3952
|
-
repo: {
|
|
3953
|
-
type: 'object',
|
|
3954
|
-
required: ['did', 'head', 'rev'],
|
|
3955
|
-
properties: {
|
|
3956
|
-
did: {
|
|
3957
|
-
type: 'string',
|
|
3958
|
-
format: 'did',
|
|
3959
|
-
},
|
|
3960
|
-
head: {
|
|
3961
|
-
type: 'string',
|
|
3962
|
-
format: 'cid',
|
|
3963
|
-
description: 'Current repo commit CID',
|
|
3964
|
-
},
|
|
3965
|
-
rev: {
|
|
3966
|
-
type: 'string',
|
|
3967
|
-
format: 'tid',
|
|
3968
|
-
},
|
|
3969
|
-
active: {
|
|
3970
|
-
type: 'boolean',
|
|
3971
|
-
},
|
|
3972
|
-
status: {
|
|
3973
|
-
type: 'string',
|
|
3974
|
-
description: 'If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.',
|
|
3975
|
-
knownValues: [
|
|
3976
|
-
'takendown',
|
|
3977
|
-
'suspended',
|
|
3978
|
-
'deleted',
|
|
3979
|
-
'deactivated',
|
|
3980
|
-
'desynchronized',
|
|
3981
|
-
'throttled',
|
|
3982
|
-
],
|
|
3983
|
-
},
|
|
3984
|
-
},
|
|
3985
|
-
},
|
|
3986
|
-
},
|
|
3987
|
-
},
|
|
3988
|
-
ComAtprotoSyncListReposByCollection: {
|
|
3989
|
-
lexicon: 1,
|
|
3990
|
-
id: 'com.atproto.sync.listReposByCollection',
|
|
3991
|
-
defs: {
|
|
3992
|
-
main: {
|
|
3993
|
-
type: 'query',
|
|
3994
|
-
description: 'Enumerates all the DIDs which have records with the given collection NSID.',
|
|
3995
|
-
parameters: {
|
|
3996
|
-
type: 'params',
|
|
3997
|
-
required: ['collection'],
|
|
3998
|
-
properties: {
|
|
3999
|
-
collection: {
|
|
4000
|
-
type: 'string',
|
|
4001
|
-
format: 'nsid',
|
|
4002
|
-
},
|
|
4003
|
-
limit: {
|
|
4004
|
-
type: 'integer',
|
|
4005
|
-
description: 'Maximum size of response set. Recommend setting a large maximum (1000+) when enumerating large DID lists.',
|
|
4006
|
-
minimum: 1,
|
|
4007
|
-
maximum: 2000,
|
|
4008
|
-
default: 500,
|
|
4009
|
-
},
|
|
4010
|
-
cursor: {
|
|
4011
|
-
type: 'string',
|
|
4012
|
-
},
|
|
4013
|
-
},
|
|
4014
|
-
},
|
|
4015
|
-
output: {
|
|
4016
|
-
encoding: 'application/json',
|
|
4017
|
-
schema: {
|
|
4018
|
-
type: 'object',
|
|
4019
|
-
required: ['repos'],
|
|
4020
|
-
properties: {
|
|
4021
|
-
cursor: {
|
|
4022
|
-
type: 'string',
|
|
4023
|
-
},
|
|
4024
|
-
repos: {
|
|
4025
|
-
type: 'array',
|
|
4026
|
-
items: {
|
|
4027
|
-
type: 'ref',
|
|
4028
|
-
ref: 'lex:com.atproto.sync.listReposByCollection#repo',
|
|
4029
|
-
},
|
|
4030
|
-
},
|
|
4031
|
-
},
|
|
4032
|
-
},
|
|
4033
|
-
},
|
|
4034
|
-
},
|
|
4035
|
-
repo: {
|
|
4036
|
-
type: 'object',
|
|
4037
|
-
required: ['did'],
|
|
4038
|
-
properties: {
|
|
4039
|
-
did: {
|
|
4040
|
-
type: 'string',
|
|
4041
|
-
format: 'did',
|
|
4042
|
-
},
|
|
4043
|
-
},
|
|
4044
|
-
},
|
|
4045
|
-
},
|
|
4046
|
-
},
|
|
4047
|
-
ComAtprotoSyncNotifyOfUpdate: {
|
|
4048
|
-
lexicon: 1,
|
|
4049
|
-
id: 'com.atproto.sync.notifyOfUpdate',
|
|
4050
|
-
defs: {
|
|
4051
|
-
main: {
|
|
4052
|
-
type: 'procedure',
|
|
4053
|
-
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. DEPRECATED: just use com.atproto.sync.requestCrawl',
|
|
4054
|
-
input: {
|
|
4055
|
-
encoding: 'application/json',
|
|
4056
|
-
schema: {
|
|
4057
|
-
type: 'object',
|
|
4058
|
-
required: ['hostname'],
|
|
4059
|
-
properties: {
|
|
4060
|
-
hostname: {
|
|
4061
|
-
type: 'string',
|
|
4062
|
-
description: 'Hostname of the current service (usually a PDS) that is notifying of update.',
|
|
4063
|
-
},
|
|
4064
|
-
},
|
|
4065
|
-
},
|
|
4066
|
-
},
|
|
4067
|
-
},
|
|
4068
|
-
},
|
|
4069
|
-
},
|
|
4070
|
-
ComAtprotoSyncRequestCrawl: {
|
|
4071
|
-
lexicon: 1,
|
|
4072
|
-
id: 'com.atproto.sync.requestCrawl',
|
|
4073
|
-
defs: {
|
|
4074
|
-
main: {
|
|
4075
|
-
type: 'procedure',
|
|
4076
|
-
description: 'Request a service to persistently crawl hosted repos. Expected use is new PDS instances declaring their existence to Relays. Does not require auth.',
|
|
4077
|
-
input: {
|
|
4078
|
-
encoding: 'application/json',
|
|
4079
|
-
schema: {
|
|
4080
|
-
type: 'object',
|
|
4081
|
-
required: ['hostname'],
|
|
4082
|
-
properties: {
|
|
4083
|
-
hostname: {
|
|
4084
|
-
type: 'string',
|
|
4085
|
-
description: 'Hostname of the current service (eg, PDS) that is requesting to be crawled.',
|
|
4086
|
-
},
|
|
4087
|
-
},
|
|
4088
|
-
},
|
|
4089
|
-
},
|
|
4090
|
-
},
|
|
4091
|
-
},
|
|
4092
|
-
},
|
|
4093
|
-
ComAtprotoSyncSubscribeRepos: {
|
|
4094
|
-
lexicon: 1,
|
|
4095
|
-
id: 'com.atproto.sync.subscribeRepos',
|
|
4096
|
-
defs: {
|
|
4097
|
-
main: {
|
|
4098
|
-
type: 'subscription',
|
|
4099
|
-
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.',
|
|
4100
|
-
parameters: {
|
|
4101
|
-
type: 'params',
|
|
4102
|
-
properties: {
|
|
4103
|
-
cursor: {
|
|
4104
|
-
type: 'integer',
|
|
4105
|
-
description: 'The last known event seq number to backfill from.',
|
|
4106
|
-
},
|
|
4107
|
-
},
|
|
4108
|
-
},
|
|
4109
|
-
message: {
|
|
4110
|
-
schema: {
|
|
4111
|
-
type: 'union',
|
|
4112
|
-
refs: [
|
|
4113
|
-
'lex:com.atproto.sync.subscribeRepos#commit',
|
|
4114
|
-
'lex:com.atproto.sync.subscribeRepos#sync',
|
|
4115
|
-
'lex:com.atproto.sync.subscribeRepos#identity',
|
|
4116
|
-
'lex:com.atproto.sync.subscribeRepos#account',
|
|
4117
|
-
'lex:com.atproto.sync.subscribeRepos#info',
|
|
4118
|
-
],
|
|
4119
|
-
},
|
|
4120
|
-
},
|
|
4121
|
-
errors: [
|
|
4122
|
-
{
|
|
4123
|
-
name: 'FutureCursor',
|
|
4124
|
-
},
|
|
4125
|
-
{
|
|
4126
|
-
name: 'ConsumerTooSlow',
|
|
4127
|
-
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.',
|
|
4128
|
-
},
|
|
4129
|
-
],
|
|
4130
|
-
},
|
|
4131
|
-
commit: {
|
|
4132
|
-
type: 'object',
|
|
4133
|
-
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.',
|
|
4134
|
-
required: [
|
|
4135
|
-
'seq',
|
|
4136
|
-
'rebase',
|
|
4137
|
-
'tooBig',
|
|
4138
|
-
'repo',
|
|
4139
|
-
'commit',
|
|
4140
|
-
'rev',
|
|
4141
|
-
'since',
|
|
4142
|
-
'blocks',
|
|
4143
|
-
'ops',
|
|
4144
|
-
'blobs',
|
|
4145
|
-
'time',
|
|
4146
|
-
],
|
|
4147
|
-
nullable: ['since'],
|
|
4148
|
-
properties: {
|
|
4149
|
-
seq: {
|
|
4150
|
-
type: 'integer',
|
|
4151
|
-
description: 'The stream sequence number of this message.',
|
|
4152
|
-
},
|
|
4153
|
-
rebase: {
|
|
4154
|
-
type: 'boolean',
|
|
4155
|
-
description: 'DEPRECATED -- unused',
|
|
4156
|
-
},
|
|
4157
|
-
tooBig: {
|
|
4158
|
-
type: 'boolean',
|
|
4159
|
-
description: 'DEPRECATED -- replaced by #sync event and data limits. 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.',
|
|
4160
|
-
},
|
|
4161
|
-
repo: {
|
|
4162
|
-
type: 'string',
|
|
4163
|
-
format: 'did',
|
|
4164
|
-
description: "The repo this event comes from. Note that all other message types name this field 'did'.",
|
|
4165
|
-
},
|
|
4166
|
-
commit: {
|
|
4167
|
-
type: 'cid-link',
|
|
4168
|
-
description: 'Repo commit object CID.',
|
|
4169
|
-
},
|
|
4170
|
-
rev: {
|
|
4171
|
-
type: 'string',
|
|
4172
|
-
format: 'tid',
|
|
4173
|
-
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.',
|
|
4174
|
-
},
|
|
4175
|
-
since: {
|
|
4176
|
-
type: 'string',
|
|
4177
|
-
format: 'tid',
|
|
4178
|
-
description: 'The rev of the last emitted commit from this repo (if any).',
|
|
4179
|
-
},
|
|
4180
|
-
blocks: {
|
|
4181
|
-
type: 'bytes',
|
|
4182
|
-
description: "CAR file containing relevant blocks, as a diff since the previous repo state. The commit must be included as a block, and the commit block CID must be the first entry in the CAR header 'roots' list.",
|
|
4183
|
-
maxLength: 2000000,
|
|
4184
|
-
},
|
|
4185
|
-
ops: {
|
|
4186
|
-
type: 'array',
|
|
4187
|
-
items: {
|
|
4188
|
-
type: 'ref',
|
|
4189
|
-
ref: 'lex:com.atproto.sync.subscribeRepos#repoOp',
|
|
4190
|
-
description: 'List of repo mutation operations in this commit (eg, records created, updated, or deleted).',
|
|
4191
|
-
},
|
|
4192
|
-
maxLength: 200,
|
|
4193
|
-
},
|
|
4194
|
-
blobs: {
|
|
4195
|
-
type: 'array',
|
|
4196
|
-
items: {
|
|
4197
|
-
type: 'cid-link',
|
|
4198
|
-
description: 'DEPRECATED -- will soon always be empty. List of new blobs (by CID) referenced by records in this commit.',
|
|
4199
|
-
},
|
|
4200
|
-
},
|
|
4201
|
-
prevData: {
|
|
4202
|
-
type: 'cid-link',
|
|
4203
|
-
description: "The root CID of the MST tree for the previous commit from this repo (indicated by the 'since' revision field in this message). Corresponds to the 'data' field in the repo commit object. NOTE: this field is effectively required for the 'inductive' version of firehose.",
|
|
4204
|
-
},
|
|
4205
|
-
time: {
|
|
4206
|
-
type: 'string',
|
|
4207
|
-
format: 'datetime',
|
|
4208
|
-
description: 'Timestamp of when this message was originally broadcast.',
|
|
4209
|
-
},
|
|
4210
|
-
},
|
|
4211
|
-
},
|
|
4212
|
-
sync: {
|
|
4213
|
-
type: 'object',
|
|
4214
|
-
description: 'Updates the repo to a new state, without necessarily including that state on the firehose. Used to recover from broken commit streams, data loss incidents, or in situations where upstream host does not know recent state of the repository.',
|
|
4215
|
-
required: ['seq', 'did', 'blocks', 'rev', 'time'],
|
|
4216
|
-
properties: {
|
|
4217
|
-
seq: {
|
|
4218
|
-
type: 'integer',
|
|
4219
|
-
description: 'The stream sequence number of this message.',
|
|
4220
|
-
},
|
|
4221
|
-
did: {
|
|
4222
|
-
type: 'string',
|
|
4223
|
-
format: 'did',
|
|
4224
|
-
description: 'The account this repo event corresponds to. Must match that in the commit object.',
|
|
4225
|
-
},
|
|
4226
|
-
blocks: {
|
|
4227
|
-
type: 'bytes',
|
|
4228
|
-
description: "CAR file containing the commit, as a block. The CAR header must include the commit block CID as the first 'root'.",
|
|
4229
|
-
maxLength: 10000,
|
|
4230
|
-
},
|
|
4231
|
-
rev: {
|
|
4232
|
-
type: 'string',
|
|
4233
|
-
description: 'The rev of the commit. This value must match that in the commit object.',
|
|
4234
|
-
},
|
|
4235
|
-
time: {
|
|
4236
|
-
type: 'string',
|
|
4237
|
-
format: 'datetime',
|
|
4238
|
-
description: 'Timestamp of when this message was originally broadcast.',
|
|
4239
|
-
},
|
|
4240
|
-
},
|
|
4241
|
-
},
|
|
4242
|
-
identity: {
|
|
4243
|
-
type: 'object',
|
|
4244
|
-
description: "Represents a change to an account's identity. Could be an updated handle, signing key, or pds hosting endpoint. Serves as a prod to all downstream services to refresh their identity cache.",
|
|
4245
|
-
required: ['seq', 'did', 'time'],
|
|
4246
|
-
properties: {
|
|
4247
|
-
seq: {
|
|
4248
|
-
type: 'integer',
|
|
4249
|
-
},
|
|
4250
|
-
did: {
|
|
4251
|
-
type: 'string',
|
|
4252
|
-
format: 'did',
|
|
4253
|
-
},
|
|
4254
|
-
time: {
|
|
4255
|
-
type: 'string',
|
|
4256
|
-
format: 'datetime',
|
|
4257
|
-
},
|
|
4258
|
-
handle: {
|
|
4259
|
-
type: 'string',
|
|
4260
|
-
format: 'handle',
|
|
4261
|
-
description: "The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details.",
|
|
4262
|
-
},
|
|
4263
|
-
},
|
|
4264
|
-
},
|
|
4265
|
-
account: {
|
|
4266
|
-
type: 'object',
|
|
4267
|
-
description: "Represents a change to an account's status on a host (eg, PDS or Relay). The semantics of this event are that the status is at the host which emitted the event, not necessarily that at the currently active PDS. Eg, a Relay takedown would emit a takedown with active=false, even if the PDS is still active.",
|
|
4268
|
-
required: ['seq', 'did', 'time', 'active'],
|
|
4269
|
-
properties: {
|
|
4270
|
-
seq: {
|
|
4271
|
-
type: 'integer',
|
|
4272
|
-
},
|
|
4273
|
-
did: {
|
|
4274
|
-
type: 'string',
|
|
4275
|
-
format: 'did',
|
|
4276
|
-
},
|
|
4277
|
-
time: {
|
|
4278
|
-
type: 'string',
|
|
4279
|
-
format: 'datetime',
|
|
4280
|
-
},
|
|
4281
|
-
active: {
|
|
4282
|
-
type: 'boolean',
|
|
4283
|
-
description: 'Indicates that the account has a repository which can be fetched from the host that emitted this event.',
|
|
4284
|
-
},
|
|
4285
|
-
status: {
|
|
4286
|
-
type: 'string',
|
|
4287
|
-
description: 'If active=false, this optional field indicates a reason for why the account is not active.',
|
|
4288
|
-
knownValues: [
|
|
4289
|
-
'takendown',
|
|
4290
|
-
'suspended',
|
|
4291
|
-
'deleted',
|
|
4292
|
-
'deactivated',
|
|
4293
|
-
'desynchronized',
|
|
4294
|
-
'throttled',
|
|
4295
|
-
],
|
|
4296
|
-
},
|
|
4297
|
-
},
|
|
4298
|
-
},
|
|
4299
|
-
info: {
|
|
4300
|
-
type: 'object',
|
|
4301
|
-
required: ['name'],
|
|
4302
|
-
properties: {
|
|
4303
|
-
name: {
|
|
4304
|
-
type: 'string',
|
|
4305
|
-
knownValues: ['OutdatedCursor'],
|
|
4306
|
-
},
|
|
4307
|
-
message: {
|
|
4308
|
-
type: 'string',
|
|
4309
|
-
},
|
|
4310
|
-
},
|
|
4311
|
-
},
|
|
4312
|
-
repoOp: {
|
|
4313
|
-
type: 'object',
|
|
4314
|
-
description: 'A repo operation, ie a mutation of a single record.',
|
|
4315
|
-
required: ['action', 'path', 'cid'],
|
|
4316
|
-
nullable: ['cid'],
|
|
4317
|
-
properties: {
|
|
4318
|
-
action: {
|
|
4319
|
-
type: 'string',
|
|
4320
|
-
knownValues: ['create', 'update', 'delete'],
|
|
4321
|
-
},
|
|
4322
|
-
path: {
|
|
4323
|
-
type: 'string',
|
|
4324
|
-
},
|
|
4325
|
-
cid: {
|
|
4326
|
-
type: 'cid-link',
|
|
4327
|
-
description: 'For creates and updates, the new record CID. For deletions, null.',
|
|
4328
|
-
},
|
|
4329
|
-
prev: {
|
|
4330
|
-
type: 'cid-link',
|
|
4331
|
-
description: 'For updates and deletes, the previous record CID (required for inductive firehose). For creations, field should not be defined.',
|
|
4332
|
-
},
|
|
4333
|
-
},
|
|
4334
|
-
},
|
|
4335
|
-
},
|
|
4336
|
-
},
|
|
4337
|
-
ComAtprotoTempAddReservedHandle: {
|
|
4338
|
-
lexicon: 1,
|
|
4339
|
-
id: 'com.atproto.temp.addReservedHandle',
|
|
4340
|
-
defs: {
|
|
4341
|
-
main: {
|
|
4342
|
-
type: 'procedure',
|
|
4343
|
-
description: 'Add a handle to the set of reserved handles.',
|
|
4344
|
-
input: {
|
|
4345
|
-
encoding: 'application/json',
|
|
4346
|
-
schema: {
|
|
4347
|
-
type: 'object',
|
|
4348
|
-
required: ['handle'],
|
|
4349
|
-
properties: {
|
|
4350
|
-
handle: {
|
|
4351
|
-
type: 'string',
|
|
4352
|
-
},
|
|
4353
|
-
},
|
|
4354
|
-
},
|
|
4355
|
-
},
|
|
4356
|
-
output: {
|
|
4357
|
-
encoding: 'application/json',
|
|
4358
|
-
schema: {
|
|
4359
|
-
type: 'object',
|
|
4360
|
-
properties: {},
|
|
4361
|
-
},
|
|
4362
|
-
},
|
|
4363
|
-
},
|
|
4364
|
-
},
|
|
4365
|
-
},
|
|
4366
|
-
ComAtprotoTempCheckSignupQueue: {
|
|
4367
|
-
lexicon: 1,
|
|
4368
|
-
id: 'com.atproto.temp.checkSignupQueue',
|
|
4369
|
-
defs: {
|
|
4370
|
-
main: {
|
|
4371
|
-
type: 'query',
|
|
4372
|
-
description: 'Check accounts location in signup queue.',
|
|
4373
|
-
output: {
|
|
4374
|
-
encoding: 'application/json',
|
|
4375
|
-
schema: {
|
|
4376
|
-
type: 'object',
|
|
4377
|
-
required: ['activated'],
|
|
4378
|
-
properties: {
|
|
4379
|
-
activated: {
|
|
4380
|
-
type: 'boolean',
|
|
4381
|
-
},
|
|
4382
|
-
placeInQueue: {
|
|
4383
|
-
type: 'integer',
|
|
4384
|
-
},
|
|
4385
|
-
estimatedTimeMs: {
|
|
4386
|
-
type: 'integer',
|
|
4387
|
-
},
|
|
4388
|
-
},
|
|
4389
|
-
},
|
|
4390
|
-
},
|
|
4391
|
-
},
|
|
4392
|
-
},
|
|
4393
|
-
},
|
|
4394
|
-
ComAtprotoTempFetchLabels: {
|
|
4395
|
-
lexicon: 1,
|
|
4396
|
-
id: 'com.atproto.temp.fetchLabels',
|
|
4397
|
-
defs: {
|
|
4398
|
-
main: {
|
|
4399
|
-
type: 'query',
|
|
4400
|
-
description: 'DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.',
|
|
4401
|
-
parameters: {
|
|
4402
|
-
type: 'params',
|
|
4403
|
-
properties: {
|
|
4404
|
-
since: {
|
|
4405
|
-
type: 'integer',
|
|
4406
|
-
},
|
|
4407
|
-
limit: {
|
|
4408
|
-
type: 'integer',
|
|
4409
|
-
minimum: 1,
|
|
4410
|
-
maximum: 250,
|
|
4411
|
-
default: 50,
|
|
4412
|
-
},
|
|
4413
|
-
},
|
|
4414
|
-
},
|
|
4415
|
-
output: {
|
|
4416
|
-
encoding: 'application/json',
|
|
4417
|
-
schema: {
|
|
4418
|
-
type: 'object',
|
|
4419
|
-
required: ['labels'],
|
|
4420
|
-
properties: {
|
|
4421
|
-
labels: {
|
|
4422
|
-
type: 'array',
|
|
4423
|
-
items: {
|
|
4424
|
-
type: 'ref',
|
|
4425
|
-
ref: 'lex:com.atproto.label.defs#label',
|
|
4426
|
-
},
|
|
4427
|
-
},
|
|
4428
|
-
},
|
|
4429
|
-
},
|
|
4430
|
-
},
|
|
4431
|
-
},
|
|
4432
|
-
},
|
|
4433
|
-
},
|
|
4434
|
-
ComAtprotoTempRequestPhoneVerification: {
|
|
4435
|
-
lexicon: 1,
|
|
4436
|
-
id: 'com.atproto.temp.requestPhoneVerification',
|
|
4437
|
-
defs: {
|
|
4438
|
-
main: {
|
|
4439
|
-
type: 'procedure',
|
|
4440
|
-
description: 'Request a verification code to be sent to the supplied phone number',
|
|
4441
|
-
input: {
|
|
4442
|
-
encoding: 'application/json',
|
|
4443
|
-
schema: {
|
|
4444
|
-
type: 'object',
|
|
4445
|
-
required: ['phoneNumber'],
|
|
4446
|
-
properties: {
|
|
4447
|
-
phoneNumber: {
|
|
4448
|
-
type: 'string',
|
|
4449
|
-
},
|
|
4450
|
-
},
|
|
4451
|
-
},
|
|
4452
|
-
},
|
|
4453
|
-
},
|
|
4454
|
-
},
|
|
4455
|
-
},
|
|
4456
|
-
};
|
|
4457
|
-
exports.schemas = Object.values(exports.schemaDict);
|
|
4458
|
-
exports.lexicons = new lexicon_1.Lexicons(exports.schemas);
|
|
4459
|
-
exports.ids = {
|
|
4460
|
-
ComClioplaylistsAlphaActorProfile: 'com.clioplaylists.alpha.actor.profile',
|
|
4461
|
-
ComClioplaylistsAlphaFeedDefs: 'com.clioplaylists.alpha.feed.defs',
|
|
4462
|
-
ComClioplaylistsAlphaFeedGetSongs: 'com.clioplaylists.alpha.feed.getSongs',
|
|
4463
|
-
ComClioplaylistsAlphaFeedPlaylistIdea: 'com.clioplaylists.alpha.feed.playlistIdea',
|
|
4464
|
-
ComAtprotoAdminDefs: 'com.atproto.admin.defs',
|
|
4465
|
-
ComAtprotoAdminDeleteAccount: 'com.atproto.admin.deleteAccount',
|
|
4466
|
-
ComAtprotoAdminDisableAccountInvites: 'com.atproto.admin.disableAccountInvites',
|
|
4467
|
-
ComAtprotoAdminDisableInviteCodes: 'com.atproto.admin.disableInviteCodes',
|
|
4468
|
-
ComAtprotoAdminEnableAccountInvites: 'com.atproto.admin.enableAccountInvites',
|
|
4469
|
-
ComAtprotoAdminGetAccountInfo: 'com.atproto.admin.getAccountInfo',
|
|
4470
|
-
ComAtprotoAdminGetAccountInfos: 'com.atproto.admin.getAccountInfos',
|
|
4471
|
-
ComAtprotoAdminGetInviteCodes: 'com.atproto.admin.getInviteCodes',
|
|
4472
|
-
ComAtprotoAdminGetSubjectStatus: 'com.atproto.admin.getSubjectStatus',
|
|
4473
|
-
ComAtprotoAdminSearchAccounts: 'com.atproto.admin.searchAccounts',
|
|
4474
|
-
ComAtprotoAdminSendEmail: 'com.atproto.admin.sendEmail',
|
|
4475
|
-
ComAtprotoAdminUpdateAccountEmail: 'com.atproto.admin.updateAccountEmail',
|
|
4476
|
-
ComAtprotoAdminUpdateAccountHandle: 'com.atproto.admin.updateAccountHandle',
|
|
4477
|
-
ComAtprotoAdminUpdateAccountPassword: 'com.atproto.admin.updateAccountPassword',
|
|
4478
|
-
ComAtprotoAdminUpdateSubjectStatus: 'com.atproto.admin.updateSubjectStatus',
|
|
4479
|
-
ComAtprotoIdentityDefs: 'com.atproto.identity.defs',
|
|
4480
|
-
ComAtprotoIdentityGetRecommendedDidCredentials: 'com.atproto.identity.getRecommendedDidCredentials',
|
|
4481
|
-
ComAtprotoIdentityRefreshIdentity: 'com.atproto.identity.refreshIdentity',
|
|
4482
|
-
ComAtprotoIdentityRequestPlcOperationSignature: 'com.atproto.identity.requestPlcOperationSignature',
|
|
4483
|
-
ComAtprotoIdentityResolveDid: 'com.atproto.identity.resolveDid',
|
|
4484
|
-
ComAtprotoIdentityResolveHandle: 'com.atproto.identity.resolveHandle',
|
|
4485
|
-
ComAtprotoIdentityResolveIdentity: 'com.atproto.identity.resolveIdentity',
|
|
4486
|
-
ComAtprotoIdentitySignPlcOperation: 'com.atproto.identity.signPlcOperation',
|
|
4487
|
-
ComAtprotoIdentitySubmitPlcOperation: 'com.atproto.identity.submitPlcOperation',
|
|
4488
|
-
ComAtprotoIdentityUpdateHandle: 'com.atproto.identity.updateHandle',
|
|
4489
|
-
ComAtprotoLabelDefs: 'com.atproto.label.defs',
|
|
4490
|
-
ComAtprotoLabelQueryLabels: 'com.atproto.label.queryLabels',
|
|
4491
|
-
ComAtprotoLabelSubscribeLabels: 'com.atproto.label.subscribeLabels',
|
|
4492
|
-
ComAtprotoLexiconSchema: 'com.atproto.lexicon.schema',
|
|
4493
|
-
ComAtprotoModerationCreateReport: 'com.atproto.moderation.createReport',
|
|
4494
|
-
ComAtprotoModerationDefs: 'com.atproto.moderation.defs',
|
|
4495
|
-
ComAtprotoRepoApplyWrites: 'com.atproto.repo.applyWrites',
|
|
4496
|
-
ComAtprotoRepoCreateRecord: 'com.atproto.repo.createRecord',
|
|
4497
|
-
ComAtprotoRepoDefs: 'com.atproto.repo.defs',
|
|
4498
|
-
ComAtprotoRepoDeleteRecord: 'com.atproto.repo.deleteRecord',
|
|
4499
|
-
ComAtprotoRepoDescribeRepo: 'com.atproto.repo.describeRepo',
|
|
4500
|
-
ComAtprotoRepoGetRecord: 'com.atproto.repo.getRecord',
|
|
4501
|
-
ComAtprotoRepoImportRepo: 'com.atproto.repo.importRepo',
|
|
4502
|
-
ComAtprotoRepoListMissingBlobs: 'com.atproto.repo.listMissingBlobs',
|
|
4503
|
-
ComAtprotoRepoListRecords: 'com.atproto.repo.listRecords',
|
|
4504
|
-
ComAtprotoRepoPutRecord: 'com.atproto.repo.putRecord',
|
|
4505
|
-
ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
|
|
4506
|
-
ComAtprotoRepoUploadBlob: 'com.atproto.repo.uploadBlob',
|
|
4507
|
-
ComAtprotoServerActivateAccount: 'com.atproto.server.activateAccount',
|
|
4508
|
-
ComAtprotoServerCheckAccountStatus: 'com.atproto.server.checkAccountStatus',
|
|
4509
|
-
ComAtprotoServerConfirmEmail: 'com.atproto.server.confirmEmail',
|
|
4510
|
-
ComAtprotoServerCreateAccount: 'com.atproto.server.createAccount',
|
|
4511
|
-
ComAtprotoServerCreateAppPassword: 'com.atproto.server.createAppPassword',
|
|
4512
|
-
ComAtprotoServerCreateInviteCode: 'com.atproto.server.createInviteCode',
|
|
4513
|
-
ComAtprotoServerCreateInviteCodes: 'com.atproto.server.createInviteCodes',
|
|
4514
|
-
ComAtprotoServerCreateSession: 'com.atproto.server.createSession',
|
|
4515
|
-
ComAtprotoServerDeactivateAccount: 'com.atproto.server.deactivateAccount',
|
|
4516
|
-
ComAtprotoServerDefs: 'com.atproto.server.defs',
|
|
4517
|
-
ComAtprotoServerDeleteAccount: 'com.atproto.server.deleteAccount',
|
|
4518
|
-
ComAtprotoServerDeleteSession: 'com.atproto.server.deleteSession',
|
|
4519
|
-
ComAtprotoServerDescribeServer: 'com.atproto.server.describeServer',
|
|
4520
|
-
ComAtprotoServerGetAccountInviteCodes: 'com.atproto.server.getAccountInviteCodes',
|
|
4521
|
-
ComAtprotoServerGetServiceAuth: 'com.atproto.server.getServiceAuth',
|
|
4522
|
-
ComAtprotoServerGetSession: 'com.atproto.server.getSession',
|
|
4523
|
-
ComAtprotoServerListAppPasswords: 'com.atproto.server.listAppPasswords',
|
|
4524
|
-
ComAtprotoServerRefreshSession: 'com.atproto.server.refreshSession',
|
|
4525
|
-
ComAtprotoServerRequestAccountDelete: 'com.atproto.server.requestAccountDelete',
|
|
4526
|
-
ComAtprotoServerRequestEmailConfirmation: 'com.atproto.server.requestEmailConfirmation',
|
|
4527
|
-
ComAtprotoServerRequestEmailUpdate: 'com.atproto.server.requestEmailUpdate',
|
|
4528
|
-
ComAtprotoServerRequestPasswordReset: 'com.atproto.server.requestPasswordReset',
|
|
4529
|
-
ComAtprotoServerReserveSigningKey: 'com.atproto.server.reserveSigningKey',
|
|
4530
|
-
ComAtprotoServerResetPassword: 'com.atproto.server.resetPassword',
|
|
4531
|
-
ComAtprotoServerRevokeAppPassword: 'com.atproto.server.revokeAppPassword',
|
|
4532
|
-
ComAtprotoServerUpdateEmail: 'com.atproto.server.updateEmail',
|
|
4533
|
-
ComAtprotoSyncGetBlob: 'com.atproto.sync.getBlob',
|
|
4534
|
-
ComAtprotoSyncGetBlocks: 'com.atproto.sync.getBlocks',
|
|
4535
|
-
ComAtprotoSyncGetCheckout: 'com.atproto.sync.getCheckout',
|
|
4536
|
-
ComAtprotoSyncGetHead: 'com.atproto.sync.getHead',
|
|
4537
|
-
ComAtprotoSyncGetLatestCommit: 'com.atproto.sync.getLatestCommit',
|
|
4538
|
-
ComAtprotoSyncGetRecord: 'com.atproto.sync.getRecord',
|
|
4539
|
-
ComAtprotoSyncGetRepo: 'com.atproto.sync.getRepo',
|
|
4540
|
-
ComAtprotoSyncGetRepoStatus: 'com.atproto.sync.getRepoStatus',
|
|
4541
|
-
ComAtprotoSyncListBlobs: 'com.atproto.sync.listBlobs',
|
|
4542
|
-
ComAtprotoSyncListRepos: 'com.atproto.sync.listRepos',
|
|
4543
|
-
ComAtprotoSyncListReposByCollection: 'com.atproto.sync.listReposByCollection',
|
|
4544
|
-
ComAtprotoSyncNotifyOfUpdate: 'com.atproto.sync.notifyOfUpdate',
|
|
4545
|
-
ComAtprotoSyncRequestCrawl: 'com.atproto.sync.requestCrawl',
|
|
4546
|
-
ComAtprotoSyncSubscribeRepos: 'com.atproto.sync.subscribeRepos',
|
|
4547
|
-
ComAtprotoTempAddReservedHandle: 'com.atproto.temp.addReservedHandle',
|
|
4548
|
-
ComAtprotoTempCheckSignupQueue: 'com.atproto.temp.checkSignupQueue',
|
|
4549
|
-
ComAtprotoTempFetchLabels: 'com.atproto.temp.fetchLabels',
|
|
4550
|
-
ComAtprotoTempRequestPhoneVerification: 'com.atproto.temp.requestPhoneVerification',
|
|
4551
|
-
};
|