Skip to content

Search is only available in production builds. Try building and previewing the site to test it out locally.

AppView

The Colibri AppView serves an assembled view of Spaces that live in ATproto spaces. It holds each Space’s credentials and writes the records a Space authors. The Space’s PDS asks it whether an account may read or write before issuing a credential.

This page describes the interface. AppView Architecture describes the implementation.

Every method lives under /xrpc/. The method reference under each namespace heading is generated from the published lexicons, and each type name in it links to its definition on that page.

Proxy requests through the user’s own PDS and address the AppView by its service reference. The hosted AppView is:

did:web:spaces-api.colibri.social#colibri_appview

Push registration targets the notification service:

did:web:spaces-api.colibri.social#colibri_notifs

Both references resolve to the same endpoint. A self-hosted AppView uses its own did:web with the same two fragments.

A method marked service auth needs an atproto service auth token. The token is a JWT signed by the caller’s repo signing key. Its aud is the AppView’s DID or one of its service references, and its lxm is the NSID of the method being called. A method carries that mark when its lexicon declares the AuthRequired error.

Let the PDS mint the token. Send the request to the user’s PDS with an atproto-proxy: did:web:spaces-api.colibri.social#colibri_appview header, and the PDS attaches Authorization: Bearer <jwt> to the proxied request.

A method marked no service auth answers without a token. social.colibri.beta.community.getInvitation reads a token when the request carries one.

Both WebSockets accept the same token in one of three places:

  • an Authorization: Bearer <jwt> header
  • the colibri.auth.bearer WebSocket subprotocol, followed by the token as the next subprotocol value
  • an auth query parameter

A request without a valid token is answered with HTTP 401 before the WebSocket opens.

Three kinds of URL carry their own signature and need no token: media links for blobs, the image and video URLs inside an embed view, and the readToken a push notification hands to social.colibri.beta.notification.markReadFromNotification.

Every method declares its errors in its lexicon. The AppView returns them in the standard XRPC error shape:

{ "error": "Forbidden", "message": "this action requires member.ban" }

Read the error field to tell errors apart. Most named errors share HTTP status 400.

These errors appear on most methods:

Error Meaning
AuthRequired The request has no token, or a token this AppView does not accept
Forbidden The caller is banned, is not a member, or lacks the permission or the rank
CommunityNotFound No Space matches the given DID
CredentialsUnavailable The AppView’s stored credentials for the Space are missing or unusable
UpstreamFailure A PDS or third-party call the AppView depends on failed

A node that cannot take writes answers a procedure with HTTP 503 and the error ReadOnly. The events socket reports the same state in its writeState frame.

A user’s own records live in the user’s own repo inside a space. That covers messages, reactions, read cursors and preferences. Where the repo lives decides which method writes to it, and social.colibri.beta.polyfill.getStatus reports it as a mode:

  • native: the user’s PDS hosts the repo. Write with com.atproto.space.createRecord, putRecord and deleteRecord on the PDS, naming the channel’s space.
  • polyfill and migrating: the AppView hosts the repo. Write with social.colibri.beta.polyfill.applyWrites.

A bridge sends a message with social.colibri.beta.bridge.postMessage. The Space writes that message and attributes it to the person on the other service.

Records a Space authors go through the procedures on this page. That covers its profile, settings, roles, categories, channels, members and moderation log. The AppView checks the caller’s permission, authenticates as the Space and makes the write.

social.colibri.beta.server.describeServer identifies a host as a Colibri AppView and lists the optional features it has turned on. features holds embeds and emoji on every deployment. voice, push, gifs and nodes appear when the deployment has them configured.

social.colibri.beta.server.describeServer

QUERYGET/xrpc/social.colibri.beta.server.describeServerno service auth

Gets information about this AppView.

encodingapplication/json
didstringrequiredformatdid

The AppView's own identity.

softwarestringrequired

Stable software identifier, always 'colibri-appview'. Clients key on this to confirm a host is a Colibri AppView before pointing themselves at it.

flavorstringrequired

Which build of the software this is. 'vanilla' for the stock AppView, and any string a fork or a customised deployment chooses for itself.

versionstringrequired

The running software version.

handleDomainstringrequired

The domain community handles are minted under.

pdsstringrequiredformaturi

The PDS communities are created on.

contactstring

How to reach the operator.

featuresarray<string>

Optional features this AppView supports.

defaultCommunitystringformatdid

A community every user joins after creating their profile for the first time.

spaceTypesarray<string>

The space types this AppView understands.

social.colibri.beta.server.listNodes

QUERYGET/xrpc/social.colibri.beta.server.listNodesno service auth

Lists the nodes of this AppView network that currently accept clients. Clients measure the round trip to each probe URL and connect their event socket, voice signaling and media requests to the fastest node.

encodingapplication/json
nodesarray<server.listNodes#nodeView>required

Nodes that accept clients, in no particular order.

The social.colibri.beta.community namespace covers a Space’s lifecycle, membership, invitations, moderation, hosting and reads. See Communities for how a Space’s spaces fit together, Moderation for the permission model, and Hosting for adopt, authorizeHost and handOverHost.

An action against another member requires the caller to outrank the target. The AppView compares each side’s highest role position, and equal positions do not outrank. The owner outranks everyone. A failed check answers RoleHierarchy.

social.colibri.beta.community.adopt

PROCEDUREPOST/xrpc/social.colibri.beta.community.adoptservice auth

Adopts an existing account as a community: this AppView takes custody of its credentials, creates the four community spaces on whichever PDS already hosts it, and seeds the same starter layout social.colibri.beta.community.create does. The account keeps its own DID, handle and PDS, and the caller becomes its owner. Use this instead of community.create to bring your own DID.

encodingapplication/json
didstringrequiredformatdid

The account to adopt. The credentials must authenticate as this exact DID, which is what proves the caller controls it.

identifierstringrequired

The identifier used to authenticate with the account's PDS, such as its handle or DID.

passwordstringrequired

The account's password. An app password is not enough: minting a delegation token requires full access.

namestringrequiredminLength1maxLength32

The community's name.

descriptionstringmaxLength256

The community's description.

requiresApprovalToJoinboolean

Whether joining produces an application a moderator must approve. Defaults to false.

encodingapplication/json

The adopted community.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

AlreadyExists

This account is already a community on this AppView.

CredentialsRejected

The PDS refused the given identifier and password.

IdentityMismatch

The credentials authenticate a different account than the DID given.

SpacesUnsupported

The account's PDS does not implement the com.atproto.space policy methods, so it cannot host community spaces.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

social.colibri.beta.community.applyLabel

PROCEDUREPOST/xrpc/social.colibri.beta.community.applyLabelservice auth

Applies a label to a record in one of the community's spaces. This is how content is hidden, marked as a spoiler, or has its link previews suppressed. The record itself is untouched, since it lives in its author's own repo, but a `hidden` label stops this AppView serving the record: it is withheld from reads and from the events socket, and replies to it see a deletedMessageView in its place. Moderators holding `label.apply` and the record's own author still see it.

encodingapplication/json
spacestringrequiredformatspace-ref

The space the labelled record lives in.

subjectbeta.label#subjectrequired

The record to label.

valstringrequiredknownhidden | spoiler | embeds-suppressedmaxLength128

The label value. `hidden` withholds the record from reads. `spoiler` and `embeds-suppressed` are display hints.

scopearray<string>

Narrows the label to specific URIs inside the subject record. Absent means the whole record.

reasonstringmaxLength512

Human-readable reason for the label.

encodingapplication/json

The applied label.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the label.apply permission.

CommunityNotFound

No community exists at the given DID.

SpaceNotFound

No space exists at the given reference.

InvalidRequest

The scope or val is not valid for the subject record.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.community.approveApplication

PROCEDUREPOST/xrpc/social.colibri.beta.community.approveApplicationservice auth

Approves a pending application, admitting the subject as a member.

encodingapplication/json
communitystringrequiredformatdid

The community to admit the subject to.

subjectstringrequiredformatdid

The applicant to admit.

encodingapplication/json

The newly admitted member.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the approval.manage permission.

CommunityNotFound

No community exists at the given DID.

ApplicationNotFound

No pending application exists for the subject in this community.

AlreadyMember

The subject already holds a member record in this community.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.community.authorizeHost

PROCEDUREPOST/xrpc/social.colibri.beta.community.authorizeHostservice auth

Starts a sign-in as a community host account. The requesting user opens the returned URL, signs in as that account on its own server and allows the AppView to act for it. The AppView then adopts the account as a new community, or reconnects an existing community after its sign-in lapsed or its account moved. Poll getHostAuthorization with the returned request to learn the outcome.

encodingapplication/json
identifierstringrequired

The handle or DID of the account to sign in as.

intentstringrequiredknownadopt | reconnect

adopt turns the account into a new community. reconnect restores the AppView's access to an existing community.

communitystringformatdid

The community to reconnect. Required when intent is reconnect.

namestringminLength1maxLength32

The new community's name. Required when intent is adopt.

descriptionstringmaxLength256

The new community's description.

requiresApprovalToJoinboolean

Whether joining the new community produces an application a moderator must approve. Defaults to false.

encodingapplication/json
authorizeUrlstringrequiredformaturi

The sign-in page to open in a browser.

requeststringrequired

An opaque identifier for this sign-in, used with getHostAuthorization.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks permission for this community.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

CommunityNotFound

No community exists at that identifier.

AlreadyExists

That account already hosts a community on this AppView.

HostSignInUnavailable

This AppView has no host sign-in configured.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

social.colibri.beta.community.ban

PROCEDUREPOST/xrpc/social.colibri.beta.community.banservice auth

Bans a member from a community. This removes their member record and stops the community issuing them space credentials. Their existing content is not deleted: it stays in their own repo, where it can still be labelled or filtered.

encodingapplication/json
communitystringrequiredformatdid

The community to ban the member from.

subjectstringrequiredformatdid

The member to ban.

reasonstringmaxLength512

Human-readable reason for the ban.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the member.ban permission.

CommunityNotFound

No community exists at the given DID.

AlreadyBanned

The subject is already banned from this community.

RoleHierarchy

The subject holds a role at or above the caller's highest role position.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.community.create

PROCEDUREPOST/xrpc/social.colibri.beta.community.createservice auth

Provisions a new community: an account on the AppView's PDS, its four spaces, an owner role, and a starter layout of two categories holding one text channel and one voice channel between them. This call runs long enough that progress is also emitted over social.colibri.beta.sync.subscribeEvents.

encodingapplication/json
namestringrequiredminLength1maxLength32

The community's name.

descriptionstringmaxLength256

The community's description.

handlePrefixstring

A slug used for the community handle instead of a generated one.

requiresApprovalToJoinboolean

Whether joining produces an application a moderator must approve. Defaults to false.

overrideUserNameColorsboolean

Whether only role colours are shown in chat. Members' own name colours are hidden, and a member without a coloured role shows the default name colour. Defaults to false.

encodingapplication/json

The newly created community.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

AlreadyExists

A community already exists with the requested handle.

PdsUnavailable

The AppView's PDS could not be reached to provision the account.

SpacesUnsupported

The AppView's PDS does not implement the com.atproto.space policy methods, so it cannot host community spaces.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

social.colibri.beta.community.createInvitation

PROCEDUREPOST/xrpc/social.colibri.beta.community.createInvitationservice auth

Creates an invitation code for a community.

encodingapplication/json
communitystringrequiredformatdid

The community to create an invitation for.

maxUsesintegermin1

How many times the invitation may be redeemed, if limited.

expiresAtstringformatdatetime

When the invitation stops being redeemable, if ever.

encodingapplication/json

The newly created invitation.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks the invitation.create permission.

CommunityNotFound

No community exists with that DID.

social.colibri.beta.community.delete

PROCEDUREPOST/xrpc/social.colibri.beta.community.deleteservice auth

Deletes the community's spaces and its account. Members' own records stay in their own repos and simply become unreadable.

encodingapplication/json
communitystringrequiredformatdid

The community to delete.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks the community.delete permission.

CommunityNotFound

No community exists with that DID.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

social.colibri.beta.community.deleteImage

PROCEDUREPOST/xrpc/social.colibri.beta.community.deleteImageservice auth

Clears a community's picture or banner. Idempotent: clearing an image that was never set succeeds. The blob itself is left in the community's repo rather than deleted, so an older record revision still resolves.

communitystringrequiredformatdid

The community to clear the image on.

kindstringrequiredknownpicture | banner

Which image to clear.

encodingapplication/json

The community with the image cleared.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks the community.manage permission.

CommunityNotFound

No community exists with that DID.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

social.colibri.beta.community.deleteInvitation

PROCEDUREPOST/xrpc/social.colibri.beta.community.deleteInvitationservice auth

Deletes an invitation code.

encodingapplication/json
communitystringrequiredformatdid

The community the invitation belongs to.

codestringrequired

The invitation code to delete.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks the invitation.delete permission.

CommunityNotFound

No community exists with that DID.

InvitationNotFound

No invitation exists with that code.

social.colibri.beta.community.dismissApplication

PROCEDUREPOST/xrpc/social.colibri.beta.community.dismissApplicationservice auth

Hides a pending application from the active queue without refusing it. This is an AppView-local change and is never written to the community's repo.

encodingapplication/json
communitystringrequiredformatdid

The community the application belongs to.

subjectstringrequiredformatdid

The applicant whose application to dismiss.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the approval.manage permission.

CommunityNotFound

No community exists at the given DID.

ApplicationNotFound

No pending application exists for the subject in this community.

social.colibri.beta.community.getCommunity

QUERYGET/xrpc/social.colibri.beta.community.getCommunityservice auth

Gets a community by DID or handle.

communitystringrequiredformatat-identifier

A DID or handle identifying the community.

encodingapplication/json

The requested community.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at that identifier.

social.colibri.beta.community.getHostAuthorization

QUERYGET/xrpc/social.colibri.beta.community.getHostAuthorizationservice auth

Reports the outcome of a sign-in started with authorizeHost. Only the user who started it can read it.

requeststringrequired

The request returned by authorizeHost.

encodingapplication/json
statusstringrequiredknownpending | done | failed

pending until the user finishes signing in, then done or failed.

communitystringformatdid

The adopted or reconnected community, once done.

failurestringknowncancelled | wrongAccount | spacesUnsupported | alreadyHosts | failed

Why the sign-in failed.

signedInAsstring

The account the user signed in as, when it was not the expected one.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

RequestNotFound

No sign-in with that request exists for the requesting user.

social.colibri.beta.community.getHosting

QUERYGET/xrpc/social.colibri.beta.community.getHostingservice auth

Describes where a community's account lives and whether the AppView can still act for it. Only administrators of the community can read it.

communitystringrequiredformatdid

The community.

encodingapplication/json

Where the community's account lives.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks permission for this community.

CommunityNotFound

No community exists at that identifier.

social.colibri.beta.community.getInvitation

QUERYGET/xrpc/social.colibri.beta.community.getInvitationno service auth

Resolves an invitation code, so a client can show what it leads to before the user accepts. This is readable without membership.

codestringrequired

The invitation code to resolve.

encodingapplication/json

The resolved invitation.

The community the invitation leads to.

InvitationNotFound

No invitation exists with that code.

social.colibri.beta.community.handOverHost

PROCEDUREPOST/xrpc/social.colibri.beta.community.handOverHostservice auth

Gives an administrator access to a community account that lives on this AppView's server, so they can move it to another server. The AppView sets the given email on the account, so codes the server sends reach the administrator, and returns a new password once. The password works for 60 minutes. If the account has not moved by then, the AppView replaces it and signs out every session.

encodingapplication/json
communitystringrequiredformatdid

The community.

emailstringrequiredmaxLength254

The address that receives the server's codes for the move.

encodingapplication/json
identifierstringrequired

The account's handle, to sign in with.

passwordstringrequired

The account's new password. It is not shown again.

expiresAtstringrequiredformatdatetime

When the password stops working.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks permission for this community.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

CommunityNotFound

No community exists at that identifier.

HandOverUnavailable

The account does not live on this AppView's server, already moved, or the AppView cannot manage accounts there.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

social.colibri.beta.community.join

PROCEDUREPOST/xrpc/social.colibri.beta.community.joinservice auth

Admits the requesting user to a community. Joining is an AppView procedure rather than a record the user writes, because admission is what makes the community's spaces readable to them.

encodingapplication/json
communitystringrequiredformatdid

The community to join.

invitationstring

An invitation code.

encodingapplication/json
statusstringrequiredknownjoined | pending

The result of the join attempt.

The new member view. Present only when status is joined.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists with that DID.

InvitationNotFound

No invitation exists with that code.

AlreadyMember

The requesting user already holds a member record in this community.

Banned

The requesting user is banned from this community.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

social.colibri.beta.community.kick

PROCEDUREPOST/xrpc/social.colibri.beta.community.kickservice auth

Removes a member from a community. The member may rejoin unless the community requires approval to join.

encodingapplication/json
communitystringrequiredformatdid

The community to remove the member from.

subjectstringrequiredformatdid

The member to remove.

reasonstringmaxLength512

Human-readable reason for the kick.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the member.kick permission.

CommunityNotFound

No community exists at the given DID.

MemberNotFound

The subject does not hold a member record in this community.

RoleHierarchy

The subject holds a role at or above the caller's highest role position.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.community.leave

PROCEDUREPOST/xrpc/social.colibri.beta.community.leaveservice auth

Removes the requesting user's membership in a community.

encodingapplication/json
communitystringrequiredformatdid

The community to leave.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists with that DID.

MemberNotFound

The requesting user does not hold a member record in this community.

SoleOwner

The requesting user is the last holder of a protected role and cannot leave.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

social.colibri.beta.community.listApplications

QUERYGET/xrpc/social.colibri.beta.community.listApplicationsservice auth

Lists pending requests to join a community that requires approval.

communitystringrequiredformatdid

The community to list applications for.

includeDismissedbooleandefaultfalse

Whether to include applications a moderator has hidden from the active queue.

limitintegerdefault50min1max100

Maximum number of applications to return.

cursorstring

Pagination cursor from a previous response.

encodingapplication/json
cursorstring

Pagination cursor for the next page, if more applications exist.

applicationsarray<community.defs#applicationView>required

Applications matching the request.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the approval.manage permission.

CommunityNotFound

No community exists at the given DID.

social.colibri.beta.community.listBans

QUERYGET/xrpc/social.colibri.beta.community.listBansservice auth

Lists the members currently banned from a community. Being banned means the community declines to issue them space credentials, so they cannot read it. Their existing messages stay in their own repos.

communitystringrequiredformatdid

The community to list bans for.

limitintegerdefault50min1max100

Maximum number of bans to return.

cursorstring

Pagination cursor from a previous response.

encodingapplication/json
cursorstring

Pagination cursor for the next page, if more bans exist.

Members currently banned, most recently banned first.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the member.ban permission.

CommunityNotFound

No community exists at the given DID.

social.colibri.beta.community.listCategories

QUERYGET/xrpc/social.colibri.beta.community.listCategoriesservice auth

Gets the community's category layout, each category with its channels already nested. This is what a client needs to draw the sidebar in one call.

communitystringrequiredformatdid

The community to list categories of.

encodingapplication/json
categoriesarray<community.defs#categoryView>required

The community's categories, in display order.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks permission to view this community's categories.

CommunityNotFound

No community exists with that DID.

social.colibri.beta.community.listChannels

QUERYGET/xrpc/social.colibri.beta.community.listChannelsservice auth

Lists a community's channels as a flat list, for clients that do not need the category grouping.

communitystringrequiredformatdid

The community to list channels of.

encodingapplication/json
channelsarray<community.defs#channelView>required

The community's channels.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks permission to view this community's channels.

CommunityNotFound

No community exists with that DID.

social.colibri.beta.community.listInvitations

QUERYGET/xrpc/social.colibri.beta.community.listInvitationsservice auth

Lists a community's invitation codes.

communitystringrequiredformatdid

The community to list invitations for.

limitintegerdefault50min1max100

The maximum number of results to return.

cursorstring

The cursor from a previous call, for fetching the next page.

encodingapplication/json
cursorstring

A cursor for fetching the next page.

invitationsarray<community.defs#invitationView>required

The community's invitations.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks the invitation.create permission.

CommunityNotFound

No community exists with that DID.

social.colibri.beta.community.listMembers

QUERYGET/xrpc/social.colibri.beta.community.listMembersservice auth

Lists a community's admitted members.

communitystringrequiredformatdid

The community to list members of.

rolestringformatrecord-key

Filters to members holding this role.

limitintegerdefault50min1max100

The maximum number of results to return.

cursorstring

The cursor from a previous call, for fetching the next page.

encodingapplication/json
cursorstring

A cursor for fetching the next page.

membersarray<community.defs#memberView>required

The community's members.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks permission to list this community's members.

CommunityNotFound

No community exists with that DID.

social.colibri.beta.community.listMigratable

QUERYGET/xrpc/social.colibri.beta.community.listMigratableservice auth

Lists the repo-backed communities the requesting user belongs to that have not finished moving onto spaces. The AppView reads this live from the user's own public repo and each candidate's public repo. A community that cannot move, such as one inside its owner's repo or one whose repo did not respond, is listed in state blocked with a reason.

includeUnadministeredbooleandefaultfalse

Whether to include communities the user belongs to but does not administer. They come back with viewerIsAdmin false.

encodingapplication/json
communitiesarray<community.defs#legacyCommunityView>required

Unmigrated legacy communities, in the user's preferred sidebar order where the legacy repo recorded one. This is not paginated: a user's community list is small and every entry costs a live read.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

UpstreamFailure

The requesting user's own PDS could not be read, so no candidate list could be built at all.

social.colibri.beta.community.listModerationLog

QUERYGET/xrpc/social.colibri.beta.community.listModerationLogservice auth

Lists a community's moderation audit log.

communitystringrequiredformatdid

The community to list the moderation log for.

limitintegerdefault50min1max100

Maximum number of log entries to return.

cursorstring

Pagination cursor from a previous response.

encodingapplication/json
cursorstring

Pagination cursor for the next page, if more entries exist.

entriesarray<community.defs#moderationView>required

Log entries, most recent first.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the moderation.viewLog permission.

CommunityNotFound

No community exists at the given DID.

social.colibri.beta.community.listRoles

QUERYGET/xrpc/social.colibri.beta.community.listRolesservice auth

Lists a community's roles.

communitystringrequiredformatdid

The community to list roles of.

encodingapplication/json
rolesarray<community.defs#roleView>required

The community's roles.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks permission to view this community's roles.

CommunityNotFound

No community exists with that DID.

social.colibri.beta.community.migrate

PROCEDUREPOST/xrpc/social.colibri.beta.community.migrateservice auth

Starts moving a repo-backed community onto spaces and returns once the move is queued. Structure, roles, members and bans are recreated in spaces stamped with migratedFrom. Message history of current members is copied from their public repos and served alongside as read-only legacy messages. The move runs in the background and reports progress through social.colibri.beta.sync.defs#communityProgressEvent. Calling it again while it runs returns the current state, and calling it after a failed attempt resumes from the last finished step.

encodingapplication/json
communitystringrequiredformatat-identifier

The legacy community to migrate, by handle or DID. Only a community that holds its own DID can be migrated, so the DID is the whole address: the record to read is always social.colibri.community at self in that repo.

encodingapplication/json

The legacy community, in state migrating with its progress.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks permission to migrate this community.

CommunityNotFound

No community exists at the legacy record's DID.

AlreadyExists

This legacy community has already been migrated.

NotMigratable

The community cannot move onto spaces, for example because it lives inside its owner's repo.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

social.colibri.beta.community.negateLabel

PROCEDUREPOST/xrpc/social.colibri.beta.community.negateLabelservice auth

Retracts a label by writing a negating one. The original label record is left in place.

encodingapplication/json
spacestringrequiredformatspace-ref

The space the labelled record lives in.

subjectbeta.label#subjectrequired

The labelled record.

valstringrequired

The label value to retract.

reasonstringmaxLength512

Human-readable reason for the retraction.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the label.apply permission.

CommunityNotFound

No community exists at the given DID.

SpaceNotFound

No space exists at the given reference.

LabelNotFound

No active label matching the subject and value exists to negate.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.community.putImage

PROCEDUREPOST/xrpc/social.colibri.beta.community.putImageservice auth

Sets a community's picture or banner. The bytes are uploaded to the community's own repo, which is why this goes through the AppView: a community's blobs can only be written with the community credentials the AppView holds, and a space record must reference a blob living in the repo that holds the record. Replaces whatever was there before.

communitystringrequiredformatdid

The community to set the image on.

kindstringrequiredknownpicture | banner

Which image to set.

encodingimage/*The raw image bytes. The content type must be one of image/jpeg, image/png, image/gif or image/webp, and is sniffed rather than trusted.
encodingapplication/json

The community with the new image resolved, so one call is enough to re-render.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks the community.manage permission.

CommunityNotFound

No community exists with that DID.

UnsupportedImage

The bytes are not one of the accepted image types.

ImageTooLarge

The image exceeds the size limit for this kind.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

social.colibri.beta.community.registerCredentials

PROCEDUREPOST/xrpc/social.colibri.beta.community.registerCredentialsservice auth

Hands the AppView credentials for a community hosted elsewhere, so it can administer a community it did not create. The password is stored encrypted at rest.

encodingapplication/json
communitystringrequiredformatdid

The community the credentials belong to.

identifierstringrequired

The identifier used to authenticate with the community's PDS, such as its handle or DID.

passwordstringrequired

The password or app password used to authenticate with the community's PDS.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks permission to register credentials for this community.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

CredentialsRejected

The PDS refused the identifier and password.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

social.colibri.beta.community.reorderCategories

PROCEDUREPOST/xrpc/social.colibri.beta.community.reorderCategoriesservice auth

Sets the complete display order of a community's categories.

encodingapplication/json
communitystringrequiredformatdid

The community whose categories are being reordered.

categoriesarray<string>required

The complete new display order of the community's categories.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks the category.update permission.

CommunityNotFound

No community exists with that DID.

InvalidRequest

The supplied categories do not match the community's existing set.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

social.colibri.beta.community.setMemberRoles

PROCEDUREPOST/xrpc/social.colibri.beta.community.setMemberRolesservice auth

Sets the complete set of roles a member holds.

encodingapplication/json
communitystringrequiredformatdid

The community the member belongs to.

subjectstringrequiredformatdid

The member whose roles are being set.

rolesarray<string>required

The complete new set of roles the member should hold.

encodingapplication/json

The updated member.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks the role.manage permission.

CommunityNotFound

No community exists with that DID.

MemberNotFound

The subject does not hold a member record in this community.

RoleNotFound

One of the requested roles does not exist.

RoleHierarchy

The requesting user cannot grant or revoke a role at or above their own highest position.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

social.colibri.beta.community.transferOwnership

PROCEDUREPOST/xrpc/social.colibri.beta.community.transferOwnershipservice auth

Hands the community's protected owner role from the caller to another member. The subject gains every protected role the caller holds, then the caller loses them. The caller keeps their other roles.

encodingapplication/json
communitystringrequiredformatdid

The community whose ownership is transferred.

subjectstringrequiredformatdid

The member who becomes the owner.

encodingapplication/json

The new owner, with their updated roles.

previousOwnercommunity.defs#memberViewrequired

The caller, with their updated roles.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller does not hold a protected owner role in this community.

CommunityNotFound

No community exists with that DID.

MemberNotFound

The subject does not hold a member record in this community.

Banned

The subject is banned from this community.

AlreadyOwner

The subject already holds a protected owner role.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

social.colibri.beta.community.unban

PROCEDUREPOST/xrpc/social.colibri.beta.community.unbanservice auth

Lifts a ban, letting the community issue the subject space credentials again.

encodingapplication/json
communitystringrequiredformatdid

The community to lift the ban in.

subjectstringrequiredformatdid

The member to unban.

reasonstringmaxLength512

Human-readable reason for lifting the ban.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the member.unban permission.

CommunityNotFound

No community exists at the given DID.

NotBanned

The subject is not currently banned from this community.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.community.undismissApplication

PROCEDUREPOST/xrpc/social.colibri.beta.community.undismissApplicationservice auth

Restores a dismissed application to the active queue. This is an AppView-local change and is never written to the community's repo.

encodingapplication/json
communitystringrequiredformatdid

The community the application belongs to.

subjectstringrequiredformatdid

The applicant whose application to restore.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the approval.manage permission.

CommunityNotFound

No community exists at the given DID.

ApplicationNotFound

No pending application exists for the subject in this community.

social.colibri.beta.community.update

PROCEDUREPOST/xrpc/social.colibri.beta.community.updateservice auth

Updates a community's settings. A field left absent stays unchanged.

encodingapplication/json
communitystringrequiredformatdid

The community to update.

namestringminLength1maxLength32

The community's name.

descriptionstringmaxLength256

The community's description.

requiresApprovalToJoinboolean

Whether joining produces an application to approve.

linkEmbedsboolean

Whether link previews are shown by default.

labelersarray<string>

DIDs whose labels this community honours.

overrideUserNameColorsboolean

Whether only role colours are shown in chat. Members' own name colours are hidden, and a member without a coloured role shows the default name colour.

hideOwnerBadgeboolean

Whether the owner badge next to the community owner's name is hidden.

customEmojistringknownall | local | none

Which custom emoji render in this community. all allows custom emoji from any source, local only the community's own emoji, none disables custom emoji. Disallowed emoji show their fallback text.

encodingapplication/json

The updated community.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The requesting user lacks the community.manage permission.

CommunityNotFound

No community exists with that DID.

CredentialsUnavailable

The AppView's stored credentials for this community are missing or unusable.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

Categories group a Space’s channels for display. The Space’s social.colibri.beta.community.settings record holds categoryOrder, and each category record holds channelOrder for the channels inside it.

social.colibri.beta.category.create

PROCEDUREPOST/xrpc/social.colibri.beta.category.createservice auth

Creates a category in a community.

encodingapplication/json
communitystringrequiredformatdid

The community to create the category in.

namestringrequiredminLength1maxLength32

The category's name.

permissionOverridesarray<beta.defs#permissionOverride>maxLength200

Per-role and per-member permission overrides.

encodingapplication/json

The newly created category.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the category.create permission, or grants visibility to a role at or above their own highest position.

CommunityNotFound

No community exists at the given DID.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.category.delete

PROCEDUREPOST/xrpc/social.colibri.beta.category.deleteservice auth

Deletes a category. Its channels are not deleted: they become uncategorised until moved to another category.

encodingapplication/json
communitystringrequiredformatdid

The community the category belongs to.

categorystringrequiredformatrecord-key

The category's record key.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the category.delete permission.

CommunityNotFound

No community exists at the given DID.

CategoryNotFound

No category exists at the given record key.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.category.update

PROCEDUREPOST/xrpc/social.colibri.beta.category.updateservice auth

Updates a category's name and the permissions its channels inherit.

encodingapplication/json
communitystringrequiredformatdid

The community the category belongs to.

categorystringrequiredformatrecord-key

The category's record key.

namestringminLength1maxLength32

The category's new name.

permissionOverridesarray<beta.defs#permissionOverride>maxLength200

Per-role and per-member permission overrides. Replaces the whole list. Absent leaves the current value unchanged.

encodingapplication/json

The updated category.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the category.update permission, or grants visibility to a role at or above their own highest position.

CommunityNotFound

No community exists at the given DID.

CategoryNotFound

No category exists at the given record key.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

A channel is an ATproto space of its own. The space key is the channel’s identity, and its configuration is the social.colibri.beta.channel record at key self inside that space.

A channel the caller may not read is absent from every listing. social.colibri.beta.channel.getChannel and social.colibri.beta.channel.listMessages answer Forbidden for it.

social.colibri.beta.channel.create

PROCEDUREPOST/xrpc/social.colibri.beta.channel.createservice auth

Creates a channel. This creates a space for the channel, then writes the channel's configuration record at key 'self' inside that space.

encodingapplication/json
communitystringrequiredformatdid

The community the channel belongs to.

typestringrequiredformatnsidknownsocial.colibri.beta.channel.text | social.colibri.beta.channel.voice

The channel's space type.

namestringrequiredminLength1maxLength32

The channel's name.

categorystringrequiredformatrecord-key

The category to list the channel under.

descriptionstringmaxLength256

The channel's topic.

permissionOverridesarray<beta.defs#permissionOverride>maxLength200

Per-role and per-member permission overrides.

encodingapplication/json

The newly created channel.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the channel.create permission.

CommunityNotFound

No community matches the given DID.

CategoryNotFound

No category matches the given record key.

RoleHierarchy

The requesting user cannot grant a role that outranks their own.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

PdsUnavailable

The community's PDS is unreachable or the AppView has no administrative access to it.

UpstreamFailure

The community's PDS failed while creating the channel's space.

social.colibri.beta.channel.delete

PROCEDUREPOST/xrpc/social.colibri.beta.channel.deleteservice auth

Deletes a channel's space. Messages members wrote in it stay in their own repos and become unreadable to everyone but their authors.

encodingapplication/json
channelstringrequiredformatspace-ref

The channel to delete.

encodingapplication/json
AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the channel.delete permission.

ChannelNotFound

No channel matches the given space reference.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

PdsUnavailable

The community's PDS is unreachable or the AppView has no administrative access to it.

UpstreamFailure

The community's PDS failed while deleting the channel's space.

social.colibri.beta.channel.getChannel

QUERYGET/xrpc/social.colibri.beta.channel.getChannelservice auth

Gets one channel.

channelstringrequiredformatspace-ref

The channel to get.

encodingapplication/json

The requested channel.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user may not read this channel.

ChannelNotFound

No channel matches the given space reference.

social.colibri.beta.channel.listMessages

QUERYGET/xrpc/social.colibri.beta.channel.listMessagesservice auth

Lists messages in a channel or in a thread, newest first by default. Messages from the repo-backed channel this one was migrated from are included and marked legacy. Messages moved in from another space are included in their move order, and messages moved out are absent.

channelstringrequiredformatspace-ref

The channel or thread to list messages from.

limitintegerdefault50min1max100

Maximum number of messages to return.

cursorstring

Pagination cursor from a previous call.

reversebooleandefaultfalse

Whether to return the oldest messages first instead of the newest.

aroundstringformatrecord-key

Centres the page on this message record key. The page holds up to limit messages, newest first: the newer half, then the message itself and the older half. cursor and reverse are ignored when this is set.

encodingapplication/json
cursorstring

Pagination cursor for the next page. With around, it continues towards older messages.

forwardCursorstring

Only set with around, when newer messages remain. Pass it as cursor with reverse set to continue towards newer messages.

messagesarray<channel.defs#messageView>required

The channel's messages.

Threads whose anchor message is in this page, so a client can draw a thread's marker under the message it was opened from without a second call. Threads the requesting user may not read are absent.

unavailableAuthorsarray<string>

Authors whose older messages could not be loaded for this page because their PDS did not answer. The page may be missing some of their messages. Absent when the page is complete.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user may not read this channel or thread.

ChannelNotFound

No channel or thread matches the given space reference.

A message that carries a hidden label from a labeler the Space honours is withheld, so a page can hold fewer than limit messages. Keep following cursor until it is absent. Members who hold label.apply and the message’s own author receive hidden messages in full, with the label attached.

social.colibri.beta.channel.listReactions

QUERYGET/xrpc/social.colibri.beta.channel.listReactionsservice auth

Lists everyone who reacted to one message, for the hover card.

channelstringrequiredformatspace-ref

The channel the message was posted in.

messageAuthorstringrequiredformatdid

DID of the repo holding the message.

messageRkeystringrequiredformatrecord-key

The message's record key.

emojistring

Restricts the results to reactions with this emoji.

limitintegerdefault50min1max100

Maximum number of reactions to return.

cursorstring

Pagination cursor from a previous call.

encodingapplication/json
cursorstring

Pagination cursor for the next page.

reactionsarray<channel.defs#reactionView>required

Reactions to the message, aggregated by emoji.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user may not read this channel.

ChannelNotFound

No channel matches the given space reference.

MessageNotFound

No message matches the given author and record key in that channel.

social.colibri.beta.channel.listSummaries

QUERYGET/xrpc/social.colibri.beta.channel.listSummariesservice auth

Gets the latest message of every text channel in a community that the requesting user may read, for channel list previews. Channels with no message the user may see are absent.

communitystringrequiredformatdid

The community to summarize channels of.

encodingapplication/json
summariesarray<channel.defs#channelSummary>required

One summary per readable text channel that has a visible message.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user is not a member of this community, or is banned from it.

CommunityNotFound

No community exists with that DID.

social.colibri.beta.channel.listUnreadStatus

QUERYGET/xrpc/social.colibri.beta.channel.listUnreadStatusservice auth

Lists per-channel unread state for the requesting user.

communitystringformatdid

Restricts the results to one community. Absent returns unread state across all of the requesting user's communities.

limitintegerdefault50min1max100

Maximum number of statuses to return.

encodingapplication/json
statusesarray<channel.defs#unreadStatus>required

Unread state per channel.

AuthRequired

The request has no valid service auth.

social.colibri.beta.channel.putReadCursors

PROCEDUREPOST/xrpc/social.colibri.beta.channel.putReadCursorsservice auth

Pushes the requesting user's read cursors for one community to the AppView, so unread counts update immediately instead of waiting for a sync notification. The client writes its social.colibri.beta.channel.read record for the community to its own personal space first, then calls this. Clients should debounce this rather than calling it on every message. The user's other sessions receive the cursors that moved as a social.colibri.beta.sync.defs#readCursorEvent.

encodingapplication/json
communitystringrequiredformatdid

The community the cursors belong to.

cursorsarray<channel.read#cursor>required

Read cursors for the community's channels and threads. Each one replaces the stored cursor only when it is newer, and channels left out keep their stored cursor.

encodingapplication/json
statusesarray<channel.defs#unreadStatus>required

Unread state per channel, after the update.

AuthRequired

The request has no valid service auth.

CommunityNotFound

No community matches the given DID.

social.colibri.beta.channel.reorder

PROCEDUREPOST/xrpc/social.colibri.beta.channel.reorderservice auth

Sets the channel order within one category.

encodingapplication/json
communitystringrequiredformatdid

The community the category belongs to.

categorystringrequiredformatrecord-key

The category to reorder.

channelsarray<string>required

The complete new order for the category's channels, by channel space key.

encodingapplication/json
AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the channel.update permission.

CommunityNotFound

No community matches the given DID.

CategoryNotFound

No category matches the given record key.

InvalidRequest

The given channels do not match the category's current set of channels.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.channel.update

PROCEDUREPOST/xrpc/social.colibri.beta.channel.updateservice auth

Updates a channel's configuration. An absent field leaves the current value unchanged.

encodingapplication/json
channelstringrequiredformatspace-ref

The channel to update.

namestringminLength1maxLength32

The channel's name. Absent leaves the current value unchanged.

descriptionstringmaxLength256

The channel's topic. Absent leaves the current value unchanged.

categorystringformatrecord-key

The category to move the channel to. Absent leaves the current value unchanged.

linkEmbedsboolean

Whether link previews are shown here. Absent leaves the current value unchanged.

removeLinkEmbedsboolean

Clears the channel's link preview setting so the community default applies. Ignored when linkEmbeds is also given.

permissionOverridesarray<beta.defs#permissionOverride>maxLength200

Per-role and per-member permission overrides. Replaces the whole list. Absent leaves the current value unchanged.

encodingapplication/json

The channel, after the update.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the channel.update permission.

ChannelNotFound

No channel matches the given space reference.

CategoryNotFound

No category matches the given record key.

RoleHierarchy

The requesting user cannot grant a role that outranks their own.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

A thread is an ATproto space opened beside a text channel. Its messages are read with social.colibri.beta.channel.listMessages, which takes a thread’s space reference in channel.

social.colibri.beta.thread.create

PROCEDUREPOST/xrpc/social.colibri.beta.thread.createservice auth

Opens a thread beside a text channel. This creates a space for the thread, then writes the thread's configuration record at key 'self' inside it. The anchor message is referenced rather than copied, so it stays in its author's repo in the channel where it was written.

encodingapplication/json
communitystringrequiredformatdid

The community the thread's channel belongs to.

channelstringrequiredformatspace-ref

The text channel to open the thread beside.

namestringrequiredminLength1maxLength128

The thread's title.

The message to open the thread from. Absent opens a thread from scratch, which has no marker in the channel river and is reachable from the channel's thread list and the sidebar.

visibleToRolesarray<string>

Roles that may read this thread. Empty means everyone who may read the channel may read the thread.

visibleToMembersarray<string>

Members that may read this thread beyond visibleToRoles.

encodingapplication/json

The thread.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the thread.create permission or may not post in the channel.

CommunityNotFound

No community matches the given DID.

ChannelNotFound

No channel matches the given space reference.

MessageNotFound

The anchor message does not exist in the given channel.

RoleHierarchy

The requesting user cannot grant a role that outranks their own.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

PdsUnavailable

The community's PDS is unreachable or the AppView has no administrative access to it.

UpstreamFailure

The community's PDS failed while creating the thread's space.

social.colibri.beta.thread.delete

PROCEDUREPOST/xrpc/social.colibri.beta.thread.deleteservice auth

Deletes a thread's space. Messages members wrote in it stay in their own repos and become unreadable to everyone but their authors, the same way deleting a channel works. Messages that were moved into the thread go with it.

encodingapplication/json
threadstringrequiredformatspace-ref

The thread to delete.

encodingapplication/json
AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the thread.manage permission and is not the user who opened the thread.

ThreadNotFound

No thread matches the given space reference.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

PdsUnavailable

The community's PDS is unreachable or the AppView has no administrative access to it.

UpstreamFailure

The community's PDS failed while deleting the thread's space.

social.colibri.beta.thread.getThread

QUERYGET/xrpc/social.colibri.beta.thread.getThreadservice auth

Gets one thread, with its anchor message resolved so a client can open it without having read the channel it belongs to.

threadstringrequiredformatspace-ref

The thread to get.

encodingapplication/json

The requested thread.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user may not read this thread.

ThreadNotFound

No thread matches the given space reference.

social.colibri.beta.thread.listMembers

QUERYGET/xrpc/social.colibri.beta.thread.listMembersservice auth

Lists who belongs to a thread: the author of the message it was opened from, everyone who has posted in it, everyone mentioned in it directly or through a role, and everyone who follows it. Only current members who may read the thread are listed.

threadstringrequiredformatspace-ref

The thread to list members of.

encodingapplication/json
membersarray<string>required

The thread's members: the anchor author first, then posters by most recent activity, then everyone else.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user may not read this thread.

ThreadNotFound

No thread matches the given space reference.

social.colibri.beta.thread.listThreads

QUERYGET/xrpc/social.colibri.beta.thread.listThreadsservice auth

Lists a community's threads, most recently active first. Threads the requesting user may not read are absent rather than refused.

communitystringrequiredformatdid

The community to list threads in.

channelstringformatspace-ref

Restrict the list to threads in one channel. Absent lists every channel's threads, which is what the community sidebar needs.

filterstringdefaultallknownall | unread | following

Which threads to list.

limitintegerdefault50min1max100

Maximum number of threads to return.

cursorstring

Pagination cursor from a previous call.

encodingapplication/json
cursorstring

Pagination cursor for the next page.

threadsarray<thread.defs#threadView>required

The threads.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user is not a member of this community.

CommunityNotFound

No community matches the given DID.

ChannelNotFound

No channel matches the given space reference.

social.colibri.beta.thread.moveMessages

PROCEDUREPOST/xrpc/social.colibri.beta.thread.moveMessagesservice auth

Moves messages into another thread or channel. A message lives in its author's own repo and cannot be rewritten by a moderator, so the move is a `moved` label written into the source space for each message. The destination serves each moved message at its own record key, so a selection keeps the order it was written in and reads among the destination's own messages by send time. The AppView withholds a moved message from the space it came from.

encodingapplication/json
sourcestringrequiredformatspace-ref

The space the messages are in now, either a channel or a thread.

destinationstringrequiredformatspace-ref

The space to move them to, either a channel or a thread in the same community.

subjectsarray<beta.label#subject>requiredminLength1maxLength50

The messages to move, at most fifty in one call.

reasonstringmaxLength512

Human-readable reason, recorded on every label in the batch.

encodingapplication/json
batchstringrequiredformattid

The batch key shared by every label this call wrote, which groups the move for auditing.

countintegerrequired

How many messages were moved.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the thread.move permission, or may not read the source or post in the destination.

SpaceNotFound

No space exists at the source or destination reference.

MessageNotFound

One of the subjects is not a message in the source space.

InvalidRequest

The destination is the source, belongs to another community, or a subject is not a message.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.thread.repoint

PROCEDUREPOST/xrpc/social.colibri.beta.thread.repointservice auth

Moves a thread to another channel by rewriting the channel its record links to, and optionally repoints it at another message. Who may read the thread follows the new channel. Left without an anchor the thread keeps the one it has, so its marker sits wherever that message now lives.

encodingapplication/json
threadstringrequiredformatspace-ref

The thread to move.

channelstringrequiredformatspace-ref

The text channel to move it to.

The message the thread should hang under, for a thread whose anchor was moved. It has to sit in the destination channel, and may be a message the AppView has not indexed yet. Absent keeps the anchor as it is.

encodingapplication/json

The thread, after the move.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the thread.manage permission and did not write both the thread's current anchor and the message it is being repointed at.

ThreadNotFound

No thread matches the given space reference.

ChannelNotFound

No channel matches the given space reference.

InvalidRequest

The destination channel belongs to another community, is not a text channel, or is the channel the thread is already in while no new anchor was given.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.thread.update

PROCEDUREPOST/xrpc/social.colibri.beta.thread.updateservice auth

Renames, closes, reopens or locks a thread, or changes who may read it. An absent field leaves the current value unchanged.

encodingapplication/json
threadstringrequiredformatspace-ref

The thread to update.

namestringminLength1maxLength128

The thread's title. Absent leaves the current value unchanged.

visibleToRolesarray<string>

Roles that may read this thread. Empty means everyone who may read the channel may read the thread.

visibleToMembersarray<string>

Members that may read this thread beyond visibleToRoles.

closedboolean

Closes the thread when true and reopens it when false. Absent leaves the current value unchanged.

lockedboolean

Locks the thread when true and unlocks it when false. Absent leaves the current value unchanged.

encodingapplication/json

The thread, after the update.

AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the thread.manage permission and is not the user who opened the thread renaming, closing or reopening it. Changing visibility or locking always needs thread.manage, and the user who opened a locked thread can't close or reopen it.

ThreadNotFound

No thread matches the given space reference.

RoleHierarchy

The requesting user cannot grant a role that outranks their own.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

Role procedures follow the same hierarchy rule as member actions. A caller creates, edits and deletes only roles below their own highest role position.

social.colibri.beta.role.create

PROCEDUREPOST/xrpc/social.colibri.beta.role.createservice auth

Creates a role in a community.

encodingapplication/json
communitystringrequiredformatdid

The community to create the role in.

namestringrequiredminLength1maxLength32

Display name.

permissionsarray<string>required

Permissions granted by this role.

colorstringmaxLength7

Hex colour as #rrggbb.

An icon badge. Image badges are set with social.colibri.beta.role.putBadgeImage.

An emoji badge. Cannot be combined with badge.

positioninteger

Hierarchy position. Higher outranks lower.

hoistedboolean

Whether holders are listed separately in the member list.

mentionableboolean

Whether @role mentions resolve to this role.

encodingapplication/json

The newly created role.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the role.manage permission.

CommunityNotFound

No community exists at the given DID.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

RoleHierarchy

The requested position is at or above the caller's highest role position, or the permissions include one the caller does not hold.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.role.delete

PROCEDUREPOST/xrpc/social.colibri.beta.role.deleteservice auth

Deletes a role.

encodingapplication/json
communitystringrequiredformatdid

The community the role belongs to.

rolestringrequiredformatrecord-key

The role's record key.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the role.manage permission.

CommunityNotFound

No community exists at the given DID.

RoleNotFound

No role exists at the given record key.

RoleProtected

The role is marked protected and cannot be deleted.

RoleDefault

Every member holds the role from the moment they join, so it cannot be deleted.

RoleHierarchy

The role is at or above the caller's highest role position.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.role.putBadgeImage

PROCEDUREPOST/xrpc/social.colibri.beta.role.putBadgeImageservice auth

Sets a role's badge to an uploaded image. The bytes are uploaded to the community's own repo, which is why this goes through the AppView: a space record must reference a blob living in the repo that holds the record. Replaces whatever badge was there before. Use social.colibri.beta.role.update with removeBadge to clear it.

communitystringrequiredformatdid

The community the role belongs to.

rolestringrequiredformatrecord-key

The role's record key.

encodingimage/*The raw image bytes, at most 256 KB. The content type must be one of image/jpeg, image/png, image/gif or image/webp, and is sniffed rather than trusted.
encodingapplication/json

The role with the new badge resolved.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the role.manage permission.

CommunityNotFound

No community exists at the given DID.

RoleNotFound

No role exists at the given record key.

RoleProtected

The role is marked protected and cannot be modified.

RoleHierarchy

The role is at or above the caller's highest role position.

UnsupportedImage

The bytes are not one of the accepted image types.

ImageTooLarge

The image exceeds 256 KB.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

UpstreamFailure

A PDS or third-party call the AppView depends on failed.

social.colibri.beta.role.update

PROCEDUREPOST/xrpc/social.colibri.beta.role.updateservice auth

Updates a role's settings.

encodingapplication/json
communitystringrequiredformatdid

The community the role belongs to.

rolestringrequiredformatrecord-key

The role's record key.

namestringminLength1maxLength32

Display name.

colorstringmaxLength7

Hex colour as #rrggbb.

An icon badge. Image badges are set with social.colibri.beta.role.putBadgeImage. Takes precedence over removeBadge.

An emoji badge. Cannot be combined with badge. Takes precedence over removeBadge.

removeBadgeboolean

Removes the role's badge, whichever kind it is. Ignored when badge or emojiBadge is also given.

permissionsarray<string>

Permissions granted by this role.

positioninteger

Hierarchy position. Higher outranks lower.

hoistedboolean

Whether holders are listed separately in the member list.

mentionableboolean

Whether @role mentions resolve to this role.

encodingapplication/json

The updated role.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the role.manage permission.

CommunityNotFound

No community exists at the given DID.

RoleNotFound

No role exists at the given record key.

RoleProtected

The role is marked protected and cannot be modified.

RoleHierarchy

The change would place the role at or above the caller's highest role position, or grants a permission the caller does not hold.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

Every user has one ATproto space of type social.colibri.beta.actor.preferences, which holds their settings, mutes, blocks and read state. The client writes a record to that space first and then pushes the same data with the matching put procedure, so the change applies before the next sync. social.colibri.beta.actor.getPreferences returns the AppView’s synced copy.

social.colibri.beta.actor.grantSpaceAccess hands the AppView a delegation token for that space. Call it again before the returned expiresAt.

social.colibri.beta.actor.deleteAccount

PROCEDUREPOST/xrpc/social.colibri.beta.actor.deleteAccountservice auth

Erases the requesting user's Colibri data held by this AppView. This does not touch the user's repos, which only they control.

encodingapplication/json
encodingapplication/json
deletedintegerrequired

How many indexed records were removed.

AuthRequired

The request has no valid service auth.

SoleOwnerOfCommunity

The user solely owns at least one community and must transfer or delete it before deleting their account.

social.colibri.beta.actor.getDeletionStatus

QUERYGET/xrpc/social.colibri.beta.actor.getDeletionStatusservice auth

Gets what would happen if the requesting user deleted their account.

encodingapplication/json
recordsintegerrequired

How many indexed records would be removed.

notificationsintegerrequired

How many notifications would be removed.

soleOwnedCommunitiesarray<community.defs#communityView>required

Communities the user solely owns, which block deletion until transferred or deleted.

AuthRequired

The request has no valid service auth.

social.colibri.beta.actor.getPreferences

QUERYGET/xrpc/social.colibri.beta.actor.getPreferencesservice auth

Gets the requesting user's own settings, as the AppView currently holds them.

encodingapplication/json
preferencesactor.defs#preferencesrequired

The requesting user's settings.

AuthRequired

The request has no valid service auth.

social.colibri.beta.actor.getProfile

QUERYGET/xrpc/social.colibri.beta.actor.getProfileservice auth

Gets a user's profile.

actorstringrequiredformatat-identifier

The user's DID or handle.

encodingapplication/json
profileactor.defs#profileViewrequired

The user's profile.

AuthRequired

The request has no valid service auth.

ActorNotFound

No user matches the given DID or handle.

social.colibri.beta.actor.grantSpaceAccess

PROCEDUREPOST/xrpc/social.colibri.beta.actor.grantSpaceAccessservice auth

Hands the AppView access to one of the requesting user's personal spaces. The client mints a delegation token on its own PDS for the space and passes it here, because a delegation token is single-use and short-lived and the AppView has no OAuth session of its own. The AppView exchanges the token for a space credential and syncs the space.

encodingapplication/json
spacestringrequiredformatspace-ref

The space to grant access to.

delegationTokenstringrequired

A delegation token minted by the user's PDS for the space.

encodingapplication/json
expiresAtstringrequiredformatdatetime

When the resulting space credential expires. The client should call this again before then to keep access current.

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

InvalidDelegationToken

The delegation token is malformed, expired, or already used.

SpaceNotFound

No space matches the given space reference.

NotAuthorized

The delegation token does not grant access to the given space.

UpstreamFailure

The user's PDS failed while the AppView exchanged the delegation token or synced the space.

social.colibri.beta.actor.listCommunities

QUERYGET/xrpc/social.colibri.beta.actor.listCommunitiesservice auth

Gets the requesting user's communities, in their preferred order.

encodingapplication/json
communitiesarray<community.defs#communityView>required

The requesting user's communities, in preferred sidebar order.

AuthRequired

The request has no valid service auth.

social.colibri.beta.actor.putBlocks

PROCEDUREPOST/xrpc/social.colibri.beta.actor.putBlocksservice auth

Pushes the requesting user's block list to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes the underlying block records to its own personal space first, then calls this. The list replaces the AppView's whole copy.

encodingapplication/json
blocksarray<actor.defs#block>required

The complete, replacement block list.

encodingapplication/json
preferencesactor.defs#preferencesrequired

The requesting user's settings, after the update.

AuthRequired

The request has no valid service auth.

social.colibri.beta.actor.putMutes

PROCEDUREPOST/xrpc/social.colibri.beta.actor.putMutesservice auth

Pushes the requesting user's mute list and list of left threads to the AppView, so they take effect immediately instead of waiting for a sync notification. The client writes the underlying mute records to its own personal space first, then calls this. Each list the request carries replaces the AppView's whole copy of that list.

encodingapplication/json
mutesarray<actor.defs#mute>

The complete, replacement mute list. Leave it out to keep the mute list as it is.

leftThreadsarray<actor.defs#leftThread>

The complete, replacement list of left threads. Leave it out to keep the list as it is. An entry for a thread where someone pinged the user after its leftAt is dropped, since that ping brought the user back.

encodingapplication/json
preferencesactor.defs#preferencesrequired

The requesting user's settings, after the update.

AuthRequired

The request has no valid service auth.

social.colibri.beta.actor.putSettings

PROCEDUREPOST/xrpc/social.colibri.beta.actor.putSettingsservice auth

Pushes the requesting user's social.colibri.beta.actor.settings record to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes the record to its own personal space first, then calls this. An absent field leaves the current value unchanged.

encodingapplication/json
notificationLevelstringknownall | mentionsAndReplies | nothing

Which messages produce a notification. Absent leaves the current value unchanged.

communityOrderarray<string>

Communities in preferred sidebar order. Absent leaves the current value unchanged.

gifFavoritesarray<embed.defs#gifView>

GIFs saved from the picker, stored whole. Absent leaves the current value unchanged.

shareActivityboolean

Whether the AppView may show what the user is listening to. Absent leaves the current value unchanged.

The contents of the user's social.colibri.beta.actor.clientPreferences record. Replaces the stored copy whole. Absent leaves the current value unchanged.

The contents of the user's social.colibri.beta.actor.composerState record. Replaces the stored copy whole. Absent leaves the current value unchanged.

encodingapplication/json
preferencesactor.defs#preferencesrequired

The requesting user's settings, after the update.

AuthRequired

The request has no valid service auth.

InvalidRequest

A field is present but does not hold an allowed value.

social.colibri.beta.actor.putSpaceModeration

PROCEDUREPOST/xrpc/social.colibri.beta.actor.putSpaceModerationservice auth

Pushes one of the requesting user's social.colibri.beta.actor.spaceModeration records to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes or deletes the record in its own personal space first, then calls this.

encodingapplication/json
communitystringrequiredformatdid

The community.

hideModeratedMessagesboolean

The new option for this community. Absent together with remove returns the community to the global option.

removeboolean

Removes the community's options so it follows the global ones. Ignored when hideModeratedMessages is present.

encodingapplication/json
preferencesactor.defs#preferencesrequired

The requesting user's settings, after the update.

AuthRequired

The request has no valid service auth.

InvalidRequest

Neither hideModeratedMessages nor remove is present.

social.colibri.beta.actor.putSpaceNotification

PROCEDUREPOST/xrpc/social.colibri.beta.actor.putSpaceNotificationservice auth

Pushes one of the requesting user's social.colibri.beta.actor.spaceNotification records to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes or deletes the record in its own personal space first, then calls this.

encodingapplication/json
communitystringrequiredformatdid

The community.

levelstringknownall | mentionsAndReplies | nothing

The new level. Absent together with removeLevel returns the community to the global level.

removeLevelboolean

Removes the community's level so it follows the global one. Ignored when level is present.

encodingapplication/json
preferencesactor.defs#preferencesrequired

The requesting user's settings, after the update.

AuthRequired

The request has no valid service auth.

InvalidRequest

Neither level nor removeLevel is present, or level does not hold an allowed value.

social.colibri.beta.actor.setStatus

PROCEDUREPOST/xrpc/social.colibri.beta.actor.setStatusservice auth

Sets the requesting user's off-protocol presence. An absent field leaves the current value unchanged.

encodingapplication/json
textstringmaxLength64

The status text. An empty string clears it. Absent leaves the current value unchanged.

emojistring

A Unicode emoji shown beside the status. An empty string clears it. Absent leaves the current value unchanged.

A custom emoji shown beside the status. The uri must name an emoji item record. Absent leaves the current value unchanged. Takes precedence over removeCustomEmoji.

removeCustomEmojiboolean

Removes the custom emoji. Ignored when customEmoji is also given.

expiresAtstringformatdatetime

When the status clears. Absent leaves the current value unchanged. Takes precedence over removeExpiresAt.

removeExpiresAtboolean

Removes the status expiry, so the status stays until it is changed. Ignored when expiresAt is also given.

showWhileOfflineboolean

Whether a client shows the status while the user is offline. Absent leaves the current value unchanged.

onlineStatestringknownonline | away | dnd | offline

Derived online state. Absent leaves the current value unchanged.

encodingapplication/json
presenceactor.defs#presencerequired

The requesting user's presence, after the update.

AuthRequired

The request has no valid service auth.

InvalidRequest

A field is present but does not hold an allowed value.

A notification’s kind is mention, reply or message. Push delivery is registered per device with registerPush and unregisterPush, which target the #colibri_notifs service reference.

social.colibri.beta.notification.clear

PROCEDUREPOST/xrpc/social.colibri.beta.notification.clearservice auth

Clears the requesting user's inbox up to a point in time. Every notification raised at or before it is marked seen and left out of listNotifications, getUnreadCount and getUnseen from then on.

encodingapplication/json
clearedAtstringrequiredformatdatetime

Notifications raised at or before this time are cleared. A time in the future is treated as now, and a time before an earlier clear leaves that clear in place.

encodingapplication/json
clearedAtstringrequiredformatdatetime

The point the inbox is now cleared up to.

unreadintegerrequired

Number of unread notifications remaining.

AuthRequired

The request has no valid service auth.

social.colibri.beta.notification.getUnreadCount

QUERYGET/xrpc/social.colibri.beta.notification.getUnreadCountservice auth

Gets how many of the requesting user's notifications are unread.

encodingapplication/json
countintegerrequired

Number of unread notifications.

AuthRequired

The request has no valid service auth.

social.colibri.beta.notification.getUnseen

QUERYGET/xrpc/social.colibri.beta.notification.getUnseenservice auth

Gets the requesting user's unseen notifications for one channel, used to render that channel's unread badge detail.

channelstringrequiredformatspace-ref

The channel to get unseen notifications for.

limitintegerdefault50min1max100

Maximum number of notifications to return.

encodingapplication/json
notificationsarray<notification.defs#notificationView>required

Unseen notifications raised in the given channel.

AuthRequired

The request has no valid service auth.

ChannelNotFound

No channel matches the given space reference.

social.colibri.beta.notification.listNotifications

QUERYGET/xrpc/social.colibri.beta.notification.listNotificationsservice auth

Gets the requesting user's notifications, newest first.

limitintegerdefault50min1max100

Maximum number of notifications to return.

cursorstring

Pagination cursor from a previous call.

encodingapplication/json
cursorstring

Pagination cursor for the next page, when more notifications remain.

notificationsarray<notification.defs#notificationView>required

The requesting user's notifications, newest first.

AuthRequired

The request has no valid service auth.

social.colibri.beta.notification.markReadFromNotification

PROCEDUREPOST/xrpc/social.colibri.beta.notification.markReadFromNotificationno service auth

Marks a channel or thread read through the message a push notification announced, from the notification's Mark as read action. Takes no auth: the signed token from the push payload's readToken names the user, the channel and the message, and expires after seven days. Moves the user's read cursor forward, marks that channel's notifications through the message seen, and tells the user's sessions and push devices.

encodingapplication/json
tokenstringrequiredmaxLength4096

The readToken from the push payload.

encodingapplication/json
InvalidToken

The token is malformed, its signature does not verify, or the channel it names no longer exists.

ExpiredToken

The token is older than seven days.

social.colibri.beta.notification.registerPush

PROCEDUREPOST/xrpc/social.colibri.beta.notification.registerPushservice auth

Registers a push endpoint for the requesting user's device. Web Push requires endpoint, p256dh, and auth. FCM requires token. APNs requires token and environment.

encodingapplication/json
providerstringrequiredknownwebpush | fcm | apns

The push provider to register with.

platformstringrequiredknownweb | ios | android | macos

The platform the device runs.

endpointstringformaturi

The Web Push subscription endpoint. Required when provider is webpush.

p256dhstring

The Web Push subscription's p256dh key. Required when provider is webpush.

authstring

The Web Push subscription's auth secret. Required when provider is webpush.

tokenstring

The FCM registration token or the hex-encoded APNs device token. Required when provider is fcm or apns.

environmentstringknownsandbox | production

The APNs environment the device token belongs to. Required when provider is apns.

encodingapplication/json
AuthRequired

The request has no valid service auth.

InvalidRequest

The fields required for the given provider are missing or malformed.

PushNotConfigured

This AppView has no keypair for the requested provider.

social.colibri.beta.notification.unregisterPush

PROCEDUREPOST/xrpc/social.colibri.beta.notification.unregisterPushservice auth

Removes a previously registered push endpoint.

encodingapplication/json
providerstringrequiredknownwebpush | fcm | apns

The push provider to unregister from.

endpointstringformaturi

The Web Push subscription endpoint to remove.

tokenstring

The FCM registration token or APNs device token to remove.

encodingapplication/json
AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

social.colibri.beta.notification.updateSeen

PROCEDUREPOST/xrpc/social.colibri.beta.notification.updateSeenservice auth

Marks every notification raised at or before a point in time seen.

encodingapplication/json
seenAtstringrequiredformatdatetime

Notifications raised at or before this time are marked seen.

encodingapplication/json
unreadintegerrequired

Number of unread notifications remaining.

AuthRequired

The request has no valid service auth.

social.colibri.beta.notification.updateSeenForMessage

PROCEDUREPOST/xrpc/social.colibri.beta.notification.updateSeenForMessageservice auth

Marks the notifications raised by one message seen.

encodingapplication/json
channelstringrequiredformatspace-ref

The channel the message was posted in.

messagebeta.defs#recordRefrequired

The message whose notifications are marked seen.

encodingapplication/json
unreadintegerrequired

Number of unread notifications remaining.

AuthRequired

The request has no valid service auth.

ChannelNotFound

No channel matches the given space reference.

MessageNotFound

No message matches the given record reference in that channel.

The emoji methods manage a user’s emoji library and a Space’s custom emoji and packs. putFollow pushes a follow of another owner’s emoji to the AppView.

social.colibri.beta.emoji.createPack

PROCEDUREPOST/xrpc/social.colibri.beta.emoji.createPackservice auth

Creates a pack of a community's custom emoji.

encodingapplication/json
communitystringrequiredformatdid

The community that owns the emoji.

namestringrequiredminLength1maxLength64

The pack's name.

descriptionstringmaxLength3000maxGraphemes300

The pack's description.

emojisarray<string>requiredmaxLength500

URIs of the community's emoji to put in the pack.

providerstringknownblue.moji

The emoji provider that writes the records. Defaults to the AppView's default provider.

encodingapplication/json

The pack as stored.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

EmojiNotFound

No emoji of this community exists at the given URI.

UnsupportedProvider

The emoji provider is unknown, or it does not support the requested operation.

InvalidName

The pack name is empty or longer than 64 characters.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

UpstreamFailure

A PDS call the AppView depends on failed.

social.colibri.beta.emoji.delete

PROCEDUREPOST/xrpc/social.colibri.beta.emoji.deleteservice auth

Deletes a community's custom emoji and removes it from every pack of the community. Copies other people made stay in their repos.

encodingapplication/json
communitystringrequiredformatdid

The community that owns the emoji.

emojistringrequiredformatat-uri

The emoji's record URI in the community's repo.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

EmojiNotFound

No emoji of this community exists at the given URI.

UnsupportedProvider

The emoji provider is unknown, or it does not support the requested operation.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

UpstreamFailure

A PDS call the AppView depends on failed.

social.colibri.beta.emoji.deletePack

PROCEDUREPOST/xrpc/social.colibri.beta.emoji.deletePackservice auth

Deletes a community's pack. The emoji in it stay.

encodingapplication/json
communitystringrequiredformatdid

The community that owns the emoji.

packstringrequiredformatat-uri

The pack's record URI in the community's repo.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

PackNotFound

No pack of this community exists at the given URI.

UnsupportedProvider

The emoji provider is unknown, or it does not support the requested operation.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

UpstreamFailure

A PDS call the AppView depends on failed.

social.colibri.beta.emoji.getCatalog

QUERYGET/xrpc/social.colibri.beta.emoji.getCatalogno service auth

Lists the custom emoji and packs in one repo, from every supported emoji provider. Works for communities and users alike, since the records are public.

ownerstringrequiredformatdid

The community or user whose emoji to list.

encodingapplication/json
catalogemoji.defs#catalogViewrequired

The repo's emoji and packs.

UpstreamFailure

A PDS call the AppView depends on failed.

social.colibri.beta.emoji.getEmojis

QUERYGET/xrpc/social.colibri.beta.emoji.getEmojisno service auth

Gets custom emoji by record URI, across any number of repos and every supported emoji provider. URIs that name no emoji are left out.

urisarray<string>requiredmaxLength100

The emoji record URIs to get.

encodingapplication/json
emojisarray<emoji.defs#emojiView>required

The emoji found, in the order their URIs were requested.

unreachablearray<string>

Owners whose repo could not be read. Their emoji are left out of emojis, and asking again later can return them.

social.colibri.beta.emoji.getLibrary

QUERYGET/xrpc/social.colibri.beta.emoji.getLibraryservice auth

Gets the requesting user's emoji library: the emoji and packs they uploaded, plus everything they follow, hydrated with images.

encodingapplication/json
libraryemoji.defs#libraryViewrequired

The user's library.

AuthRequired

The request has no valid service auth.

social.colibri.beta.emoji.putFollow

PROCEDUREPOST/xrpc/social.colibri.beta.emoji.putFollowservice auth

Pushes one social.colibri.beta.emoji.follow record to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes or deletes the record in its own preferences space first, then calls this. The AppView starts tracking the subject's owner and answers with the followed item as the picker shows it.

encodingapplication/json
rkeystringrequiredformatrecord-key

The follow record's key.

subjectstringformatat-uri

The followed pack or emoji. Absent means the record was deleted.

createdAtstringformatdatetime

The record's createdAt. Defaults to the time of the call when subject is present.

encodingapplication/json

The followed item. Absent after an unfollow.

AuthRequired

The request has no valid service auth.

EmojiNotFound

The subject is an emoji that does not exist.

PackNotFound

The subject is a pack that does not exist.

UnsupportedProvider

The subject's collection belongs to no supported emoji provider.

OwnEmoji

The subject is in the requesting user's own repo.

UpstreamFailure

The subject owner's repo could not be read.

social.colibri.beta.emoji.rename

PROCEDUREPOST/xrpc/social.colibri.beta.emoji.renameservice auth

Renames a community's custom emoji. Providers that key records by name move the record to a new key and repoint pack memberships, so the emoji's URI changes.

encodingapplication/json
communitystringrequiredformatdid

The community that owns the emoji.

emojistringrequiredformatat-uri

The emoji's record URI in the community's repo.

namestringrequiredminLength2maxLength32

The emoji's name without colons. Lowercase letters, digits and underscores.

encodingapplication/json

The emoji as stored.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

EmojiNotFound

No emoji of this community exists at the given URI.

InvalidName

The name is not 2 to 32 characters of lowercase letters, digits and underscores.

NameTaken

The community already has an emoji with this name.

UnsupportedProvider

The emoji provider is unknown, or it does not support the requested operation.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

UpstreamFailure

A PDS call the AppView depends on failed.

social.colibri.beta.emoji.updatePack

PROCEDUREPOST/xrpc/social.colibri.beta.emoji.updatePackservice auth

Renames a community's pack or replaces its emoji. Omitted fields stay as they are.

encodingapplication/json
communitystringrequiredformatdid

The community that owns the emoji.

packstringrequiredformatat-uri

The pack's record URI in the community's repo.

namestringminLength1maxLength64

The new name.

descriptionstringmaxLength3000maxGraphemes300

The new description. An empty string clears it.

emojisarray<string>maxLength500

The full new list of emoji URIs, in order.

encodingapplication/json

The pack as stored.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

PackNotFound

No pack of this community exists at the given URI.

EmojiNotFound

No emoji of this community exists at the given URI.

UnsupportedProvider

The emoji provider is unknown, or it does not support the requested operation.

InvalidName

The pack name is empty or longer than 64 characters.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

UpstreamFailure

A PDS call the AppView depends on failed.

social.colibri.beta.emoji.upload

PROCEDUREPOST/xrpc/social.colibri.beta.emoji.uploadservice auth

Adds a custom emoji to a community. The bytes are uploaded to the community's own repo and the AppView writes the provider's record there with the community's credentials.

communitystringrequiredformatdid

The community that owns the emoji.

namestringrequiredminLength2maxLength32

The emoji's name without colons. Lowercase letters, digits and underscores.

packstringformatat-uri

A pack of the community to add the emoji to.

providerstringknownblue.moji

The emoji provider that writes the records. Defaults to the AppView's default provider.

encodingimage/*The raw image bytes. The provider sets the size limit and the accepted types, which is 128000 bytes of image/png, image/webp or image/gif for blue.moji. The content type is sniffed rather than trusted.
encodingapplication/json

The emoji as stored.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

InvalidName

The name is not 2 to 32 characters of lowercase letters, digits and underscores.

NameTaken

The community already has an emoji with this name.

PackNotFound

No pack of this community exists at the given URI.

UnsupportedProvider

The emoji provider is unknown, or it does not support the requested operation.

UnsupportedImage

The bytes are not an image type the provider accepts.

ImageTooLarge

The image exceeds the provider's size limit.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

UpstreamFailure

A PDS call the AppView depends on failed.

getMetadata builds a link preview, and searchGifs, trendingGifs and gifCategories back the GIF picker. The AppView fetches every link itself, so the previewed site never sees the client’s address. getImage and getVideo serve the signed URLs found inside an embed view.

social.colibri.beta.embed.getImage

QUERYGET/xrpc/social.colibri.beta.embed.getImageno service auth

Proxies an image from a link embed through the AppView, so the viewer's address never reaches the origin. The URL comes signed in an embed view, which lets an img element load it without a bearer header. The origin's content type must be an allowed image type. Supports HTTP range requests.

urlstringrequiredformaturi

The image on the origin.

expintegerrequired

Unix time in seconds after which the link stops working.

sigstringrequired

Signature over the kind, url and exp, issued by this AppView.

encodingimage/*
InvalidRequest

url, exp or sig is missing or malformed.

Forbidden

The signature is invalid or expired.

NotFetchable

The origin could not be reached or answered with an error.

UnsupportedImage

The origin served something other than an allowed image type.

social.colibri.beta.embed.getMetadata

QUERYGET/xrpc/social.colibri.beta.embed.getMetadataservice auth

Fetches and parses a link preview. The AppView fetches the URL on the client's behalf, so the client's address is never exposed to the target site.

uristringrequiredformaturi

The URL to preview.

encodingapplication/json

The parsed preview.

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

NotFetchable

The target refused the request, timed out, or resolves to an address the AppView will not fetch.

UpstreamFailure

The target site failed while the AppView fetched or parsed it.

social.colibri.beta.embed.getVideo

QUERYGET/xrpc/social.colibri.beta.embed.getVideono service auth

Proxies a video from a link embed through the AppView, so the viewer's address never reaches the origin. The URL comes signed in an embed view, which lets a video element load it without a bearer header. The origin's content type must be an allowed video type. Supports HTTP range requests.

urlstringrequiredformaturi

The video on the origin.

expintegerrequired

Unix time in seconds after which the link stops working.

sigstringrequired

Signature over the kind, url and exp, issued by this AppView.

encodingvideo/*
InvalidRequest

url, exp or sig is missing or malformed.

Forbidden

The signature is invalid or expired.

NotFetchable

The origin could not be reached or answered with an error.

UnsupportedImage

The origin served something other than an allowed video type.

social.colibri.beta.embed.gifCategories

QUERYGET/xrpc/social.colibri.beta.embed.gifCategoriesservice auth

Lists the categories shown in the GIF picker.

encodingapplication/json
categoriesarray<embed.defs#gifCategory>required

The GIF picker's categories.

AuthRequired

The request has no valid service auth.

GifsNotConfigured

This AppView has no GIF provider key configured.

UpstreamFailure

The GIF provider failed.

social.colibri.beta.embed.searchGifs

QUERYGET/xrpc/social.colibri.beta.embed.searchGifsservice auth

Searches the GIF picker's provider.

qstringrequired

The search query.

limitintegerdefault50min1max100

Maximum number of GIFs to return.

cursorstring

Pagination cursor from a previous call.

encodingapplication/json
cursorstring

Pagination cursor for the next page.

gifsarray<embed.defs#gifView>required

GIFs matching the query.

AuthRequired

The request has no valid service auth.

GifsNotConfigured

This AppView has no GIF provider key configured.

UpstreamFailure

The GIF provider failed.

social.colibri.beta.embed.trendingGifs

QUERYGET/xrpc/social.colibri.beta.embed.trendingGifsservice auth

Gets trending GIFs from the GIF picker's provider.

limitintegerdefault50min1max100

Maximum number of GIFs to return.

cursorstring

Pagination cursor from a previous call.

encodingapplication/json
cursorstring

Pagination cursor for the next page.

gifsarray<embed.defs#gifView>required

Currently trending GIFs.

AuthRequired

The request has no valid service auth.

GifsNotConfigured

This AppView has no GIF provider key configured.

UpstreamFailure

The GIF provider failed.

social.colibri.beta.blob.get serves a blob from an ATproto space. The response is the raw bytes.

social.colibri.beta.blob.get

QUERYGET/xrpc/social.colibri.beta.blob.getservice auth

Serves a blob from a permissioned space through the AppView, which holds the space credential the client does not. Every byte is verified against the CID before it is served, and the content type is sniffed rather than trusted. Supports HTTP range requests.

didstringrequiredformatdid

DID of the repo holding the blob.

cidstringrequiredformatcid

The blob's CID.

spacestringformatspace-ref

The space holding the blob. Required for a blob in a permissioned space, and omitted for one on a public repo.

variantstringknownthumbnail | avatar | banner | spaceBanner | full

A rendition of a resizable image.

filenamestring

Sets the download filename.

viewerstringformatdid

Who the media link was signed for. Set by the AppView on a signed link, alongside exp and sig.

expinteger

Unix time in seconds after which the media link stops working.

sigstring

Signature over did, cid, space, viewer and exp, which lets an img or video element load the blob without a bearer header.

encoding*/*
AuthRequired

The request has no valid service auth.

Forbidden

The requesting user may not read the space holding the blob.

BlobNotFound

No blob matches the given DID and CID.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

UpstreamFailure

The repo's PDS failed while the AppView fetched the blob.

An <img> or <video> element cannot send an Authorization header, so a blob in an ATproto space is also reachable through a media link. A media link is the same URL with viewer, exp and sig added. The AppView mints one for every attachment it puts in a view. Use the URL as it arrives.

sig is an HMAC over did, cid, space, viewer and exp. The AppView resolves the named viewer’s access to the space on every request, so a viewer who loses read access loses the link before exp passes.

A link’s expiry falls on a 15-minute boundary, which gives the same blob one cacheable URL for that window. A fresh link lasts between 60 and 75 minutes. Past exp the AppView answers AuthRequired. Read the view again to get a new link.

A caller that sends a service auth token for social.colibri.beta.blob.get leaves viewer, exp and sig off.

social.colibri.beta.voice.moderate mutes, deafens, moves or disconnects someone in a voice channel. Everything else about a call runs over the voice socket.

social.colibri.beta.voice.moderate

PROCEDUREPOST/xrpc/social.colibri.beta.voice.moderateservice auth

Acts on someone in a voice channel. An absent field leaves the current value unchanged.

encodingapplication/json
channelstringrequiredformatspace-ref

The voice channel the subject is in.

subjectstringrequiredformatdid

Who to act on.

mutedboolean

Whether the subject's microphone is muted. Absent leaves the current value unchanged.

deafenedboolean

Whether the subject cannot hear others. Absent leaves the current value unchanged.

disconnectboolean

Whether to disconnect the subject from the channel.

moveTostringformatspace-ref

The voice channel to move the subject to. It must be in the same space as the channel. The subject may join it for this call even when they can't see it, without access to its text chat.

encodingapplication/json
AuthRequired

The request has no valid service auth.

Forbidden

The requesting user lacks the voice.moderate permission.

ChannelNotFound

No channel matches the given space reference.

NotInVoice

The subject is not currently connected to the channel.

NotVoiceChannel

The moveTo channel is not a voice channel in the same space.

VoiceUnavailable

This AppView has no voice SFU running.

social.colibri.beta.voice.subscribeSignals

SUBSCRIPTIONWS/xrpc/social.colibri.beta.voice.subscribeSignalsservice auth

Signaling for voice channels over a WebSocket. Frames are JSON text, each an object tagged with $type. The client sends the social.colibri.beta.voice.defs frames join, leave, getRtpCapabilities, createTransport, connectTransport, produce, closeProducer, consume, resumeConsumer, setConsumerPreference, setSelfState, setSpeaking, heartbeat, rttReport and moveNow. Media flows over WebRTC transports negotiated here.

authstring

Service auth token with lxm social.colibri.beta.voice.subscribeSignals, for clients that can't set an Authorization header on a WebSocket.

Answers a heartbeat.

Something the client sent could not be acted on.

Confirms this connection has joined a voice channel.

Another peer joined the voice channel this connection is in.

A peer left the voice channel this connection is in.

A media producer available to consume.

A peer's producer closed.

A viewer in the voice channel can't decode the video codec of this client's screen share. The client can produce the screen share again with a more widely supported codec. Sent at most once per producer, only to the client that owns it.

A change in whether someone is currently speaking.

A peer's mute or deafen state changed, whether they did it themselves or a moderator did it to them.

The voice permissions this client holds in its current call changed. Sent only to the client it applies to.

The RTP capabilities a WebRTC endpoint supports.

Parameters for creating one side of a WebRTC transport.

Parameters for consuming one producer.

The server removed this client from the voice channel. Sent only to the client it applies to.

A moderator moved this client to another voice channel. The server has already removed it from the previous one. Sent only to the client it applies to.

This node is going offline and the call has to move. Clients measure the round trip to every candidate and answer with rttReport.

The call moves to another node. Clients join the same channel there, switch their media over, and then leave this node.

The call in the requested channel runs on another node. Clients join it there.

AuthRequired

The upgrade request has no valid service auth. Answered with HTTP 401 before the WebSocket opens.

social.colibri.beta.voice.subscribeSignals is a WebSocket that carries mediasoup client signalling. Frames are JSON objects tagged with a $type from social.colibri.beta.voice.defs.

The client sends these frames:

Joins a voice channel. A connection must join before sending any other frame, and joining a second channel leaves the first.

Leaves the voice channel this connection is joined to.

Keeps the connection alive. The server answers with an ack.

Requests the router's RTP capabilities for the joined channel.

Requests a new WebRTC transport for the joined channel.

Completes DTLS negotiation for a transport this connection created.

Starts producing media on a send transport this connection created.

Closes a producer this connection owns.

Starts consuming another peer's producer on a receive transport this connection created.

Resumes a consumer this connection created, which is created paused by default.

Sets the highest simulcast or SVC layers a consumer this connection created should receive, and whether it should receive media at all. The server picks layers within the transport's bandwidth estimate and keeps a consumer paused while deafen silences it.

Updates this connection's own mute or deafen state. An absent field leaves the current value unchanged.

Reports whether this connection's user is speaking, as detected on their device. Once a connection sends this, the server stops detecting speech from its audio level. The server reports false while the user is muted.

Round trips this client measured to the candidates of a migrationProposal.

Asks the node to move the call to the chosen node right away, without waiting for the deadline.

The frames the server sends are listed under subscribeSignals.

A moderationChanged frame with serverMuted or serverDeafened set reports a state that setSelfState cannot lift.

social.colibri.beta.sync.subscribeEvents is a WebSocket that carries everything that happens while a client is connected: messages, reactions, structure changes, presence, typing, notifications and voice participation.

Frames are JSON objects in both directions. Each one is tagged with a $type that names a definition in social.colibri.beta.sync.defs:

{ "$type": "social.colibri.beta.sync.defs#heartbeat" }

social.colibri.beta.sync.subscribeEvents

SUBSCRIPTIONWS/xrpc/social.colibri.beta.sync.subscribeEventsservice auth

Live updates for one account over a WebSocket. Frames are JSON text, each an object tagged with $type. The client sends the social.colibri.beta.sync.defs frames subscribe, unsubscribe, heartbeat, typing, viewChannel, activity, wroteTo and setPresence. The connection is sent nothing for a community or channel it did not subscribe to.

authstring

Service auth token with lxm social.colibri.beta.sync.subscribeEvents, for clients that can't set an Authorization header on a WebSocket.

Answers a heartbeat.

Something the client sent could not be acted on.

Confirms what this connection is now receiving, after a subscribe or unsubscribe. Anything the user is not entitled to read is silently absent.

A message was written, edited, or deleted in a subscribed channel.

A reaction was added or removed in a subscribed channel.

A channel was created, changed, or deleted.

A thread was opened, changed, deleted, or written to. This rides the community's topic rather than a topic per thread, so a client keeps every thread's activity age and unread dot live without subscribing to each one.

A category was created, changed, or deleted.

A role was created, changed, or deleted.

Someone joined, left, or had their roles changed.

A community's profile or settings changed.

The pending-application queue changed. Only sent to members who can manage approvals.

A community's invitation list changed. Only sent to members who can create invitations.

A community's custom emoji or packs changed. Sent to the community's subscribers. Carries the whole catalog so clients replace it in one step.

The user's emoji library changed. Sent to a user's own connections when their own emoji change, a follow is added or removed, or the owner of something they follow changes their emoji. Carries the whole library so clients replace it in one step.

A label was applied or retracted on a record in a subscribed space.

A moderation action was logged. Only sent to members who can read the log.

A notification was raised for the connected user.

The connected user marked notifications seen somewhere else, so this client should clear the same badges.

The connected user's read cursors for one community moved, possibly from another of their sessions. Each cursor is the newest the AppView holds for that channel or thread, so applying the event never moves a cursor backwards.

Someone's presence changed.

The connected user changed their own preferences somewhere else.

Someone is typing in a subscribed channel.

A voice channel's participants changed.

Progress while a community is being created or migrated, which takes several PDS round-trips.

A registration held by the connected bridge was changed or removed. Sent only to the bridge, which should fetch its configuration again.

A bridge reported new remote rooms or history import progress for a registration. Only sent to members who can manage the community, who should fetch the registration again.

This node is going offline. Clients move their event socket to another node from listNodes. When no other node exists, clients warn the user that the connection may drop at the deadline.

Whether this node can take writes right now. Sent on connect and whenever it changes.

AuthRequired

The upgrade request has no valid service auth. Answered with HTTP 401 before the WebSocket opens.

A connection receives events only for the Spaces and channels it subscribed to. Events addressed to the connected user, such as notifications, arrive without a subscription. A new connection first receives a writeState frame.

Send a subscribe frame that names Spaces in communities and channels or threads in channels. The server answers with subscribed, which lists what the connection now receives. Entries the user may not read are absent from that list, so compare it against what was requested.

Subscribing to a Space also subscribes the connection to every channel in it that the user may read. When the user’s access changes, the server revises the channel topics and sends a new subscribed frame.

unsubscribe removes topics, and removing a Space removes its channels.

Adds communities, channels and threads to what this connection receives. Subscription is explicit: a connection is sent nothing it did not ask for.

Removes communities, channels and threads from what this connection receives.

Keeps the connection alive and tells the AppView the user is still present. The server answers with an ack.

Reports that the user is typing in a channel.

Reports which channel the user is looking at, which drives read state and away detection. An absent channel means they are looking at none.

Reports that the user is actively using this client, which holds back push notifications to their other devices for a few minutes. Clients send it while visible and focused.

Reports that the user just wrote a record to a space, so the AppView can pull it without waiting for the space host to forward a notification. Honoured only for a space this connection already receives.

Updates the user's own presence over the socket.

A frame that is not valid JSON, has an unknown $type or fails its lexicon is answered with an error frame named InvalidFrame. More than 20 wroteTo frames in 10 seconds are answered with RateLimited.

The server pings every 30 seconds and closes a connection that did not answer the previous ping.

A bridge is an account that links channels in a Space to rooms on another service. Bridge methods take a service auth token signed by the bridge’s own account. See Building a bridge and the Bridge reference.

social.colibri.beta.bridge.addReaction

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.addReactionservice auth

Adds a reaction from someone on another service to a message in a linked or open channel. The community writes the reaction, attributed to that person.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

channelstringrequiredformatspace-ref

The linked or open channel or thread the record lives in.

Who reacted.

targetbeta.defs#recordRefrequired

The message being reacted to.

uristringformatat-uri

The message being reacted to, as a record URI in the channel. Preferred over `target` when it is valid.

emojistringrequiredmaxLength64

The reaction, as an emoji or a custom shortcode.

encodingapplication/json
rkeystringrequiredformatrecord-key

Record key of the record the community wrote.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is neither linked nor open to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

AlreadyReacted

This person already reacted to the message with the same emoji.

social.colibri.beta.bridge.createPairing

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.createPairingservice auth

Starts pairing a bridge with a community. Called by the bridge, which shows the returned code to an admin on the other service. A Colibri admin then redeems the code, which proves both sides agreed.

encodingapplication/json
platformstringrequiredmaxLength64

The service the bridge connects to.

remoteSpacestringrequiredmaxLength256

The id of the server, workspace or network on the other service.

remoteSpaceNamestringrequiredmaxLength128

Its name on the other service.

encodingapplication/json
codestringrequiredmaxLength32

The single-use pairing code.

expiresAtstringrequiredformatdatetime

When the code stops working.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

social.colibri.beta.bridge.createThread

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.createThreadservice auth

Opens a thread beside a linked or open channel for someone on another service. The community writes the thread, attributed to that person.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

channelstringrequiredformatspace-ref

The linked or open channel to open the thread beside.

namestringrequiredminLength1maxLength128

The thread's title.

Who opened the thread.

The message in the channel the thread was opened from. Absent opens a thread from scratch.

remoteThreadstringmaxLength256

The thread's id on the other service.

createdAtstringformatdatetime

When the thread was opened on the other service. Defaults to now.

encodingapplication/json
threadstringrequiredformatspace-ref

The thread's space.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is neither linked nor open to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

MessageNotFound

The anchor message does not exist in the given channel.

social.colibri.beta.bridge.deleteMessage

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.deleteMessageservice auth

Deletes a message the calling bridge posted.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

channelstringrequiredformatspace-ref

The linked or open channel or thread the record lives in.

rkeystringrequiredformatrecord-key

Record key of the message.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is neither linked nor open to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

RecordNotFound

No record exists at the given key in that channel.

NotBridged

The target record was not written for this registration.

social.colibri.beta.bridge.deleteThread

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.deleteThreadservice auth

Deletes a thread the calling bridge opened, along with its space.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

threadstringrequiredformatspace-ref

The thread's space.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is not linked to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

ThreadNotFound

No thread exists in that space.

NotBridged

The thread was not opened for this registration.

social.colibri.beta.bridge.editMessage

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.editMessageservice auth

Replaces the text of a message the calling bridge posted.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

channelstringrequiredformatspace-ref

The linked or open channel or thread the record lives in.

rkeystringrequiredformatrecord-key

Record key of the message.

textstringrequiredmaxLength2048

The new message body.

facetsarray<richtext.facet>

Annotations over ranges of the new text.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is neither linked nor open to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

RecordNotFound

No record exists at the given key in that channel.

NotBridged

The target record was not written for this registration.

social.colibri.beta.bridge.getConfiguration

QUERYGET/xrpc/social.colibri.beta.bridge.getConfigurationservice auth

Lists every registration held by the calling bridge, with its linked channels. A bridge calls this at startup and whenever a registration change reaches it.

encodingapplication/json
registrationsarray<bridge.defs#registrationView>required

The caller's registrations across all communities.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

social.colibri.beta.bridge.getMember

QUERYGET/xrpc/social.colibri.beta.bridge.getMemberservice auth

Gets an account's standing in a community for the bridge that holds the registration: whether it is a member, whether it owns the community, its roles and its effective permissions. Bridges use it to decide who may run their commands.

communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

didstringrequiredformatdid

The account to look up.

channelstring

A linked or open channel of the registration. When given, permissions include that channel's overrides.

encodingapplication/json
didstringrequiredformatdid

The account.

memberbooleanrequired

Whether the account is an admitted member that is not banned.

ownerbooleanrequired

Whether the account owns the community.

rolesarray<bridge.getMember#memberRole>required

Roles held, highest first. Empty when the account is not a member.

permissionsarray<string>required

Effective permissions, in the community or in the given channel. Empty when the account is not a member.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller is not the bridge this registration belongs to.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

ChannelNotLinked

The channel is neither linked nor open to the registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

social.colibri.beta.bridge.getPairing

QUERYGET/xrpc/social.colibri.beta.bridge.getPairingservice auth

Describes a pending pairing code so an admin can see which bridge they are about to connect.

codestringrequiredmaxLength32

The pairing code.

encodingapplication/json

The pending pairing.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

PairingNotFound

The code does not exist, has expired, or was already used.

social.colibri.beta.bridge.hideMessage

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.hideMessageservice auth

Hides a Colibri member's message after a moderator removed its copy on the other service. The community applies a hidden label to the message. Works only when an admin has turned on moderation mirroring for the registration.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

channelstringrequiredformatspace-ref

The linked or open channel or thread the message lives in.

subjectbeta.defs#recordRefrequired

The message to hide.

reasonstringmaxLength512

Human-readable reason.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is neither linked nor open to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

ModerationMirrorOff

Moderation mirroring is turned off for this registration.

RecordNotFound

No message exists at the given key in that channel.

NotBridged

The message was written by the community itself. Delete it with deleteMessage instead.

social.colibri.beta.bridge.importMessages

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.importMessagesservice auth

Imports earlier messages from someone on another service into a linked channel or a thread beside it, after an admin asked for a history import. The community writes each message at its original time, and clients see them only when they load history.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

channelstringrequiredformatspace-ref

The linked channel, or a thread beside it, the messages go into.

messagesarray<bridge.importMessages#importedMessage>requiredminLength1maxLength25

The messages, oldest first.

encodingapplication/json

One result per message, in input order.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is not linked to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

BackfillNotRequested

No admin has asked for a history import on this channel.

OutsideBackfillRange

A message was sent before the requested range or after the request.

social.colibri.beta.bridge.install

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.installservice auth

Connects a bridge to a community by its handle or DID, for bridges that set up rooms with commands in the channels they can use. Writes a registration with no linked or open channels.

encodingapplication/json
communitystringrequiredformatdid

The community to connect the bridge to.

bridgestringrequiredformatat-identifier

The bridge's handle or DID.

encodingapplication/json
registrationbridge.defs#registrationViewrequired

The registration.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

BridgeNotFound

The handle or DID does not resolve to an identity.

AlreadyRegistered

This bridge is already installed in this community.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.bridge.leave

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.leaveservice auth

Disconnects the calling bridge from a community and deletes its registration, for when the remote space removed the bridge. Messages it already relayed stay.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.bridge.listChannels

QUERYGET/xrpc/social.colibri.beta.bridge.listChannelsservice auth

Lists a community's text channels that every member can read, for the bridge that holds the registration. Each channel's viewer state says whether the registration may read and post in it now.

communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

encodingapplication/json
channelsarray<community.defs#channelView>required

The channels, in the community's order.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller is not the bridge this registration belongs to.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

social.colibri.beta.bridge.listRegistrations

QUERYGET/xrpc/social.colibri.beta.bridge.listRegistrationsservice auth

Lists the bridges connected to a community.

communitystringrequiredformatdid

The community to list bridges for.

encodingapplication/json
registrationsarray<bridge.defs#registrationView>required

The community's bridges, newest first.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

social.colibri.beta.bridge.listRemoteRooms

QUERYGET/xrpc/social.colibri.beta.bridge.listRemoteRoomsservice auth

Lists the rooms a bridge reported on the other service, for linking them to channels.

communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

encodingapplication/json
roomsarray<bridge.defs#remoteRoom>required

The rooms, in the order the bridge reported them.

updatedAtstringformatdatetime

When the bridge last reported its rooms.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

social.colibri.beta.bridge.postMessage

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.postMessageservice auth

Posts a message from someone on another service into a linked or open channel. The community writes the message, attributed to that person.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

channelstringrequiredformatspace-ref

The linked or open channel or thread the record lives in.

Who sent the message.

textstringrequiredmaxLength2048

The message body.

facetsarray<richtext.facet>

Annotations over ranges of the text.

The message this one replies to.

parentUristringformatat-uri

The message this one replies to, as a record URI in the channel. Preferred over `parent` when it is valid.

attachmentsarray<beta.message#attachment>maxLength10

Files attached to the message.

Content forwarded from another Colibri message.

remoteMessagestringmaxLength256

The message's id on the other service.

createdAtstringformatdatetime

When the message was sent on the other service. Defaults to now.

encodingapplication/json
rkeystringrequiredformatrecord-key

Record key of the record the community wrote.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is neither linked nor open to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.bridge.putRemoteRooms

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.putRemoteRoomsservice auth

Replaces the list of rooms the calling bridge can see on the other service, offered to admins when linking channels.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

roomsarray<bridge.defs#remoteRoom>requiredmaxLength500

Every room the bridge can relay.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

social.colibri.beta.bridge.redeemPairing

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.redeemPairingservice auth

Connects a bridge to a community by redeeming its pairing code. Writes a registration with no linked channels.

encodingapplication/json
communitystringrequiredformatdid

The community to connect the bridge to.

codestringrequiredmaxLength32

The pairing code.

encodingapplication/json
registrationbridge.defs#registrationViewrequired

The registration.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

PairingNotFound

The code does not exist, has expired, or was already used.

AlreadyRegistered

This bridge is already connected to the same remote space in this community.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.bridge.removeReaction

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.removeReactionservice auth

Removes a reaction the calling bridge added.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

channelstringrequiredformatspace-ref

The linked or open channel or thread the record lives in.

rkeystringrequiredformatrecord-key

Record key of the reaction.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is neither linked nor open to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

RecordNotFound

No record exists at the given key in that channel.

NotBridged

The target record was not written for this registration.

social.colibri.beta.bridge.replaceAvatar

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.replaceAvatarservice auth

Swaps the avatar on every message and thread attributed to one remote author of this registration, so the previous avatar blob is no longer referenced.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

remoteIdstringrequiredmaxLength256

The author's id on the other service, as attributed on their records.

avatarblobmaxSize1000000acceptimage/png, image/jpeg, image/gif, image/webp

The new avatar, uploaded with uploadBlob. Leave it out to remove the avatar.

encodingapplication/json
updatedintegerrequiredmin0

How many records now carry the new avatar.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.bridge.reportBackfill

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.reportBackfillservice auth

Reports how far a history import has got, so admins can follow it.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

channelstringrequiredformatspace-ref

The linked channel being filled.

requestedAtstringrequiredformatdatetime

The request the report belongs to, as it appears on the link.

statestringrequiredknownrunning | done | failed

How far the import is.

importedintegerrequiredmin0

How many messages the bridge has imported so far.

fromstringrequiredformatdatetime

The start of the time range being imported.

untilstringrequiredformatdatetime

The end of the time range being imported.

reachedstringformatdatetime

When the newest imported message in the channel was sent.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

ChannelNotLinked

The channel is not linked to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

BackfillNotRequested

No admin has asked for a history import on this channel.

social.colibri.beta.bridge.revoke

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.revokeservice auth

Disconnects a bridge from a community and deletes its registration. Messages it already relayed stay.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.bridge.update

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.updateservice auth

Changes which channels a bridge relays, or pauses and resumes it. Omitted fields stay as they are.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

linksarray<bridge.defs#link>maxLength500

The complete set of linked channels, replacing the current one.

channelsarray<string>maxLength500

The complete set of open channels, replacing the current one. The bridge may read and post in them without a room on the other service.

enabledboolean

Whether the bridge may write.

mirrorModerationboolean

Whether moderation crosses the bridge.

encodingapplication/json
registrationbridge.defs#registrationViewrequired

The registration.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the community.manage permission.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

ChannelNotFound

A link or open channel names a channel this community does not have.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

social.colibri.beta.bridge.updateThread

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.updateThreadservice auth

Renames a thread the calling bridge opened.

encodingapplication/json
communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

threadstringrequiredformatspace-ref

The thread's space.

namestringrequiredminLength1maxLength128

The thread's new title.

encodingapplication/json
AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

ChannelNotLinked

The channel is not linked to this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

ThreadNotFound

No thread exists in that space.

NotBridged

The thread was not opened for this registration.

social.colibri.beta.bridge.uploadBlob

PROCEDUREPOST/xrpc/social.colibri.beta.bridge.uploadBlobservice auth

Uploads a file to the community's repo for use in a bridged message or as a bridged author's avatar.

communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

encoding*/*The raw file bytes.
encodingapplication/json
blobblobrequired

The uploaded blob, to reference from a message or author.

AuthRequired

The request is missing, malformed, or unverifiable service auth.

CommunityNotFound

No community exists at the given DID.

RegistrationNotFound

The community has no bridge registration with that id.

Forbidden

The caller is not the bridge this registration belongs to.

RegistrationDisabled

An admin has paused this registration.

RateLimited

The bridge sent too many requests. Retry after the interval in the response headers.

BlobTooLarge

The file is larger than this AppView accepts from bridges.

CredentialsUnavailable

The AppView cannot act as the community because its stored credentials are missing or unusable.

The AppView hosts a member’s space repos while the member’s PDS cannot host spaces. The social.colibri.beta.polyfill methods read and write those repos and move them to the PDS once it supports spaces. See Hosting.

social.colibri.beta.polyfill.applyWrites

PROCEDUREPOST/xrpc/social.colibri.beta.polyfill.applyWritesservice auth

Writes records to the requesting user's repo in a space the AppView hosts for them. The write is authorized the way the space's authority would authorize it, stored, and indexed like a synced write. Records keep the URIs they will have on the user's PDS after a migration.

encodingapplication/json
spacestringrequiredformatspace-ref

The space holding the repo.

writesarray<union<polyfill.applyWrites#create | polyfill.applyWrites#update | polyfill.applyWrites#delete>>requiredminLength1maxLength200

The writes, applied in order as one revision.

encodingapplication/json
revstringrequiredformattid

The repo revision after the writes.

One result per write, in the same order.

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

SpaceNotFound

No space matches the given space reference.

NotAuthorized

The caller may not write to or read from this repo in the space.

RepoNotHosted

The AppView does not host the caller's repo in this space, because it lives on the caller's PDS. Write to the PDS instead.

InvalidRecord

A record failed validation against its lexicon.

RecordNotFound

An update or delete names a record that does not exist.

social.colibri.beta.polyfill.beginMigration

PROCEDUREPOST/xrpc/social.colibri.beta.polyfill.beginMigrationservice auth

Starts moving the requesting user's hosted repos to their PDS. Each repo enters the migrating state, in which the AppView still accepts its writes. Calling it again resumes an interrupted migration.

encodingapplication/json
encodingapplication/json
spacesarray<string>required

The spaces whose repos still need to move.

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

SpacesUnsupported

The user's PDS does not serve spaces yet.

social.colibri.beta.polyfill.completeMigration

PROCEDUREPOST/xrpc/social.colibri.beta.polyfill.completeMigrationservice auth

Asks the AppView to verify one repo the client copied to its PDS. The AppView syncs the repo from the PDS and compares it with its own copy. On a match the PDS becomes the source of truth. On a mismatch the repo stays hosted by the AppView, and the client may try again.

encodingapplication/json
spacestringrequiredformatspace-ref

The space holding the repo.

encodingapplication/json

Where the user's repos live after this call.

missingarray<string>

Records the AppView holds that the PDS copy lacks or differs on, when verification fails.

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

SpaceNotFound

No space matches the given space reference.

NotAuthorized

The caller may not write to or read from this repo in the space.

RepoNotHosted

The AppView does not host the caller's repo in this space, because it lives on the caller's PDS. Write to the PDS instead.

MigrationNotStarted

The repo is not in the migrating state.

VerificationFailed

The PDS copy could not be read or did not match.

social.colibri.beta.polyfill.getBlob

QUERYGET/xrpc/social.colibri.beta.polyfill.getBlobservice auth

Returns the bytes of a blob the requesting user stored with the AppView, so a migration can upload it to their PDS.

cidstringrequiredformatcid

The CID of the record or blob.

encoding*/*
AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

BlobNotFound

The caller has no blob with this CID.

social.colibri.beta.polyfill.getRecord

QUERYGET/xrpc/social.colibri.beta.polyfill.getRecordservice auth

Reads one record from the requesting user's repo in a space the AppView hosts for them.

spacestringrequiredformatspace-ref

The space holding the repo.

collectionstringrequiredformatnsid

The record's collection.

rkeystringrequiredformatrecord-key

The record key.

encodingapplication/json
AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

SpaceNotFound

No space matches the given space reference.

NotAuthorized

The caller may not write to or read from this repo in the space.

RepoNotHosted

The AppView does not host the caller's repo in this space, because it lives on the caller's PDS. Write to the PDS instead.

RecordNotFound

No record matches.

social.colibri.beta.polyfill.getStatus

QUERYGET/xrpc/social.colibri.beta.polyfill.getStatusservice auth

Reports where the requesting user's space repos live and whether their PDS can host spaces now. The client routes space reads and writes by the mode, and starts a migration when the mode is polyfill and the PDS supports spaces.

encodingapplication/json

Where the user's repos live after this call.

pdsSupportsSpacesbooleanrequired

Whether the user's PDS serves the space methods a migration needs, as of the last check.

Progress of a running migration. Absent when none runs.

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

social.colibri.beta.polyfill.listForMigration

QUERYGET/xrpc/social.colibri.beta.polyfill.listForMigrationservice auth

Pages through every record in the requesting user's hosted repo in one space, in record key order per collection, so the client can replay them on its PDS.

spacestringrequiredformatspace-ref

The space holding the repo.

limitintegerdefault100min1max200

The page size.

cursorstring

Where the next page starts.

encodingapplication/json
cursorstring

Where the next page starts.

recordsarray<polyfill.defs#migrationRecord>required

The records on this page.

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

SpaceNotFound

No space matches the given space reference.

NotAuthorized

The caller may not write to or read from this repo in the space.

RepoNotHosted

The AppView does not host the caller's repo in this space, because it lives on the caller's PDS. Write to the PDS instead.

social.colibri.beta.polyfill.listRecords

QUERYGET/xrpc/social.colibri.beta.polyfill.listRecordsservice auth

Lists records of one collection in the requesting user's repo in a space the AppView hosts for them, ordered by record key.

spacestringrequiredformatspace-ref

The space holding the repo.

collectionstringrequiredformatnsid

The record's collection.

limitintegerdefault50min1max100

The page size.

cursorstring

Where the next page starts.

reverseboolean

Newest record key first.

encodingapplication/json
cursorstring

Where the next page starts.

recordsarray<polyfill.defs#recordView>required

The records on this page.

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

SpaceNotFound

No space matches the given space reference.

NotAuthorized

The caller may not write to or read from this repo in the space.

RepoNotHosted

The AppView does not host the caller's repo in this space, because it lives on the caller's PDS. Write to the PDS instead.

social.colibri.beta.polyfill.uploadBlob

PROCEDUREPOST/xrpc/social.colibri.beta.polyfill.uploadBlobservice auth

Stores a blob for the requesting user while the AppView hosts their space repos. A blob nothing references within a day is deleted.

encoding*/*The raw bytes. The content type is sniffed rather than trusted.
encodingapplication/json
blobblobrequired

A reference to the stored blob, for use in a record.

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

RepoNotHosted

The AppView does not host the caller's repos. Upload to the PDS instead.

BlobTooLarge

The blob exceeds the size limit.

BlobStorageUnavailable

The AppView has no blob storage configured, so it cannot hold attachments right now.

A Space’s PDS calls three methods on the AppView. com.atproto.managedspace.checkAccess takes service auth from the space authority. The two notification methods take the token the AppView registered for the space.

Answers whether an account may read or write a space. The Space’s PDS calls it before minting a credential, so bans, membership and channel visibility are enforced here.

repo is the account asking, and clientId is the attested OAuth client when the request carried a client attestation.

The AppView answers read: false and write: false when repo is absent, when the Space is unknown, and when the caller is not the authority of the space it asks about.

GET/xrpc/com.atproto.managedspace.checkAccess
Requires Authentication
Query Parameters
space (space-ref)
Required
repo (did)
clientId (uri)
Response
read (boolean)
Required
write (boolean)
Required

Confirms a notification registration. The AppView registers by sending notify: { endpoint, token } with com.atproto.space.authorizeSpaceSync, where endpoint is its PUBLIC_URL and token is a random secret it keeps per space. The space host calls this method on that endpoint before it accepts the registration. The AppView checks that it issued token for space and echoes challenge back.

POST/xrpc/com.atproto.space.confirmRegistration
Unauthenticated
Request Body
space (space-ref)
Required
token (string)
Required
challenge (string)
Required
Response
challenge (string)
Required

Tells the AppView that something changed in a space. The AppView answers InvalidRequest for a token it did not issue for that space. See Sync for how notifications and the periodic sweep work together.

POST/xrpc/com.atproto.space.notifySpaceUpdate
Unauthenticated
Request Body
space (space-ref)
Required
token (string)
Required
update (object)
Required

update.$type names one of four updates:

$type Fields What the AppView does
com.atproto.space.defs#repoWrite repo, repoRev, data, spaceRev, prevSpaceRev? Queues a pull of repo
com.atproto.space.defs#repoRemoved repo, spaceRev, prevSpaceRev? Stops treating repo as part of the space
com.atproto.space.notifySpaceUpdate#spaceDeleted none Checks with the space host that the space is deleted
com.atproto.space.notifySpaceUpdate#registrationExpired spaceRev Renews the notification registration