Skip to content

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

Lexicons

Colibri’s lexicons define its wire format. The AppView validates against them, handler types are generated from them, and a change to one is a protocol change.

They are authored in the AppView repository and published as @colibri-social/lexicons, which ships the raw JSON alongside generated TypeScript. Import those types in your own code. The definitions rendered on this page are generated from that package.

Two properties of ATproto spaces shape most of what you see below.

A space type is a lexicon. Eight of the documents here have a main definition of type space. Each lists the record collections its space may hold and carries a title, the name an OAuth consent screen shows.

A record is addressed by author as well as key. Record keys are unique per repository, and a space aggregates many repositories, so a bare key is ambiguous. Message parents and reaction targets carry { did, rkey }. Role and channel references stay bare keys, because those are only ever written by the Space itself.

Each declares the collections its space may hold, and the consent-screen name a user sees when an app asks for access.

social.colibri.beta.actor.preferences

lexicon v1
mainSPACEkey: literal:selfColibri preferences

A user's own Colibri settings, client preferences, composer state, mutes, blocks, per-Space notification and moderation preferences, emoji follows and read state.

social.colibri.beta.channel.text

lexicon v1
mainSPACEkey: tidColibri text channel

A text channel. The space key is the channel's identity, and the channel's own configuration is the social.colibri.beta.channel record at key 'self' inside it.

social.colibri.beta.channel.thread

lexicon v1
mainSPACEkey: tidColibri thread

A thread beside a text channel. The space key is the thread's identity, and the thread's own configuration is the social.colibri.beta.thread record at key 'self' inside it. That record carries the link to the parent channel and only the community may write it, so a thread cannot claim a channel its community did not put it in.

social.colibri.beta.channel.voice

lexicon v1
mainSPACEkey: tidColibri voice channel

A voice channel. Holds its configuration record and the messages, reactions and labels of its text chat. Call state is off-protocol.

social.colibri.beta.community.configuration

lexicon v1
mainSPACEkey: literal:selfColibri community settings

A community's operational settings and its category layout.

social.colibri.beta.community.members

lexicon v1
mainSPACEkey: literal:selfColibri community members

A community's membership and the roles that can be assigned within it.

social.colibri.beta.community.moderation

lexicon v1
mainSPACEkey: literal:selfColibri community moderation log

A community's moderation audit log. Kept in its own space so it can be read by moderators without being readable by the whole membership.

social.colibri.beta.community.profile

lexicon v1
mainSPACEkey: literal:selfColibri community profile

A community's public identity: the one part of a community that can be read before joining it.

Records persisted in a user’s or a Space’s repository, read through the ATproto space they belong to.

social.colibri.beta.actor.block

lexicon v1
mainRECORDkey: tid

A blocked user. One record per block, so unblocking is a delete. The block is private: it stops notifications from the blocked user and collapses their messages for the blocker only, and the blocked user is never told.

subjectstringrequiredformatdid

The blocked user.

createdAtstringrequiredformatdatetime

When the block was created.

social.colibri.beta.actor.clientPreferences

lexicon v1
mainRECORDkey: literal:self

Client settings that follow the user across devices. Every field is optional and a client applies its own default for an absent one.

Touch gestures in a channel.

themestringknownsystem | dark | light

The color theme. system follows the operating system.

messagePreviewsboolean

Whether the channel list shows the latest message under each channel name.

linkEmbedsByDefaultboolean

Whether a link in a new message gets a preview by default.

gifLoopLimitintegermin1max5

How many times a GIF in chat plays before it pauses. Absent means no limit.

soundVolumeintegermin0max100

The volume of in-app sound effects such as message pings and call sounds, in percent. Absent means 100.

warnOnExternalLinksboolean

Whether opening a link to another site asks for confirmation first.

blueskyClientstringknownanisota | blacksky | bluesky | deer | mu | northsky | witchsky | custommaxLength64

The client that Bluesky posts and profiles open in.

customBlueskyClientBasestringmaxLength253

The domain of the client used when blueskyClient is custom.

inboxPresentationstringknownpopover | modalmaxLength32

How the inbox opens on desktop. popover anchors it to the inbox button, modal opens it in a large dialog.

developerModeboolean

Whether the client shows identifiers and links to inspect records.

recordExplorerstringknownpdsls | atprotoAtmaxLength32

The site that developer mode links open records and identifiers in. Absent means pdsls.

hideModeratedMessagesboolean

Whether messages a moderator hid stay out of view for a user who could otherwise see them. A community can override this with social.colibri.beta.actor.spaceModeration.

Options for voice channels.

experimentsarray<string>maxLength64

The experiments the user turned on.

dismissedLegacyCommunitiesarray<string>maxLength256

Legacy communities that cannot move onto spaces and that the user removed from their sidebar.

social.colibri.beta.actor.composerState

lexicon v1
mainRECORDkey: literal:self

Emoji usage, skin tone and recent GIFs, kept apart from social.colibri.beta.actor.clientPreferences because it changes with every message.

emojiUsagearray<actor.defs#emojiUse>maxLength50

The emoji the user picks most, with counts.

skinToneintegermin0max5

The skin tone for emoji that support one. 0 is the default yellow.

recentGifsarray<embed.defs#gifView>maxLength24

The GIFs the user sent last, newest first, stored whole.

social.colibri.beta.actor.mute

lexicon v1
mainRECORDkey: tid

A muted subject. One record per mute, so unmuting is a delete rather than a rewrite of a list.

What is muted. A user or a community is named by DID, a channel or a thread by its space.

createdAtstringrequiredformatdatetime

When the mute was created.

social.colibri.beta.actor.profile

lexicon v1
mainRECORDkey: literal:self

A Colibri profile. A public record on the user's own repo, kept separate from app.bsky.actor.profile so Colibri never needs write access to the Bluesky record.

displayNamestringmaxLength640maxGraphemes64

Display name.

descriptionstringmaxLength2560maxGraphemes256

Bio.

pronounsstringmaxLength640maxGraphemes64

Free-form pronouns text. Always read from this record. When syncBluesky is set and this field is absent, the pronouns of app.bsky.actor.profile apply.

avatarblobacceptimage/jpeg, image/png, image/gif, image/webp

Avatar image.

bannerblobacceptimage/jpeg, image/png, image/gif, image/webp

Profile banner image.

syncBlueskybooleandefaultfalse

When true, displayName, description, avatar and banner are served from app.bsky.actor.profile instead of from this record.

Colibri-only profile theming.

preferredBadgestringmaxLength64

Label value of the badge to display. Absent means the highest-priority badge.

#themeOBJECT

Colibri-only profile theming. Always read from this record, even when syncBluesky is set.

accentColorstringmaxLength7

Accent colour as #rrggbb.

bannerColorstringmaxLength7

Fallback banner colour as #rrggbb, used when no banner image is set.

Two-colour gradient.

#themeGradientOBJECT

A two-colour gradient.

primarystringmaxLength7

Primary colour as #rrggbb.

secondarystringmaxLength7

Secondary colour as #rrggbb.

social.colibri.beta.actor.settings

lexicon v1
mainRECORDkey: literal:self

A user's Colibri settings.

notificationLevelstringdefaultallknownall | mentionsAndReplies | nothing

Which messages produce a notification.

communityOrderarray<string>

The user's communities in their preferred sidebar order.

gifFavoritesarray<embed.defs#gifView>

GIFs the user saved from the picker, stored whole. A saved GIF has to render without another lookup, and an identifier cannot be turned back into one: a GIF favourited from a chat message carries its own URL as the id rather than a provider key, so no provider can resolve it.

shareActivitybooleandefaultfalse

Whether the AppView may read the user's listening records from the services they publish to and show what they are playing to others.

social.colibri.beta.actor.spaceModeration

lexicon v1
mainRECORDkey: any

Moderation view options for one community, overriding the ones in social.colibri.beta.actor.clientPreferences. The record key is the community's DID. Deleting the record returns the community to the global options.

hideModeratedMessagesbooleanrequired

Whether messages a moderator hid stay out of view in this community, for a user who could otherwise see them.

createdAtstringrequiredformatdatetime

When the option was set.

social.colibri.beta.actor.spaceNotification

lexicon v1
mainRECORDkey: any

A notification level for one community, overriding the level in social.colibri.beta.actor.settings. The record key is the community's DID. Deleting the record returns the community to the global level.

levelstringrequiredknownall | mentionsAndReplies | nothing

Which messages in this community produce a notification.

createdAtstringrequiredformatdatetime

When the level was set.

social.colibri.beta.bridge.registration

lexicon v1
mainRECORDkey: tid

A bridge the community has paired with. Lives in the community's configuration space, so every member can see which bridges are connected and which channels they relay. Written only by the community.

bridgestringrequiredformatdid

The bridge's DID, which signs its service auth.

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 when the bridge was paired.

linksarray<bridge.defs#link>requiredmaxLength500

Channels the bridge may read and write.

channelsarray<string>maxLength500

Channels the bridge may read and post in without a room on the other service. Threads under them follow the same rules as threads under linked channels.

enabledbooleanrequired

Whether the bridge may currently write. An admin can pause a bridge without unlinking its channels.

mirrorModerationboolean

Whether moderation crosses the bridge. When on, hiding a bridged message removes its original on the other service, and a moderator removing a relayed message there hides it here.

createdBystringrequiredformatdid

The admin who paired the bridge.

createdAtstringrequiredformatdatetime

When the bridge was paired.

updatedAtstringformatdatetime

When the registration last changed.

social.colibri.beta.category

lexicon v1
mainRECORDkey: tid

A named group of channels within a community.

namestringrequiredminLength1maxLength32

The category's name.

channelOrderarray<string>required

The channels in this category, in display order, by space key.

ownerOnlybooleandefaultfalse

Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.

allowedRolesarray<string>

Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.

allowedMembersarray<string>

Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.

visibleToRolesarray<string>

Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.

visibleToMembersarray<string>

Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.

permissionOverridesarray<beta.defs#permissionOverride>maxLength200

Per-role and per-member permission overrides for every channel in this category. A channel's own override for the same permission and target takes precedence.

social.colibri.beta.channel

lexicon v1
mainRECORDkey: literal:self

A channel's configuration. Lives at key 'self' in the channel's own space. The space type says whether it is a text or voice channel, and the space key is the channel's identity.

namestringrequiredminLength1maxLength32

The channel's name.

descriptionstringmaxLength256

The channel's topic.

ownerOnlybooleandefaultfalse

Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.

allowedRolesarray<string>

Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.

allowedMembersarray<string>

Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.

linkEmbedsboolean

Whether link previews are shown here. Absent means the community default.

migratedFromstringformatat-uri

Set on a channel created by migrating a repo-backed community. Points at the legacy channel record whose history is served alongside this channel.

visibleToRolesarray<string>

Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.

visibleToMembersarray<string>

Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.

permissionOverridesarray<beta.defs#permissionOverride>maxLength200

Per-role and per-member permission overrides in this channel.

social.colibri.beta.channel.read

lexicon v1
mainRECORDkey: any

Read state for one community's channels. The record key is the community DID, which bounds each record to a community's channel count and makes leaving a community a single delete.

communitystringrequiredformatdid

The community these cursors belong to. Matches the record key.

cursorsarray<channel.read#cursor>required

One cursor per read channel.

#cursorOBJECT

The last message read in one channel.

channelstringrequiredformatrecord-key

The channel's space key.

cursorstringrequiredformattid

Record key of the last message read. Message keys are TIDs, so they order by time.

social.colibri.beta.community

lexicon v1
mainRECORDkey: literal:self

A community's public identity. Lives in the community's profile space, which only members can read unless the community is discoverable.

namestringrequiredminLength1maxLength32

The community's name.

managingAppstringrequiredformatdid

The AppView that manages this community's spaces, named without a service fragment. Clients read it here rather than from the space policy, because com.atproto.space.getSpace only serves a policy to the space owner.

descriptionstringmaxLength256

A short description.

pictureblobmaxSize1048576acceptimage/jpeg, image/png, image/gif, image/webp

Square image shown as the community's icon.

bannerblobmaxSize4194304acceptimage/jpeg, image/png, image/gif, image/webp

Wide image shown at the top of the community.

migratedFromstringformatat-uri

Set on a community created by migrating a repo-backed community. Points at the legacy community record it replaces, so its history can be served alongside.

social.colibri.beta.community.settings

lexicon v1
mainRECORDkey: literal:self

A community's operational settings. Separate from the profile record so the two have different read audiences.

categoryOrderarray<string>required

The order categories are displayed in.

requiresApprovalToJoinbooleanrequireddefaultfalse

Whether joining produces an application a moderator must approve.

linkEmbedsbooleandefaulttrue

Whether link previews are shown by default. Channels may override this.

overrideUserNameColorsbooleandefaultfalse

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.

hideOwnerBadgebooleandefaultfalse

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

customEmojistringdefaultallknownall | 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. Defaults to all.

labelersarray<string>

DIDs whose labels this community honours, in addition to the community's own. Empty means the community labels its content itself.

social.colibri.beta.emoji.follow

lexicon v1
mainRECORDkey: tid

Marks its author as following a custom emoji pack or a single custom emoji. Presence means following and deleting it means unfollowing. The user writes it into their own social.colibri.beta.actor.preferences space, so only they and the AppView can read it. The subject is referenced by URI without a CID, so renames, new images and pack membership changes reach the follower.

subjectstringrequiredformatat-uri

The followed pack or emoji record. Any collection a supported emoji provider uses for a pack or an item.

createdAtstringrequiredformatdatetime

When the user started following.

social.colibri.beta.label

lexicon v1
mainRECORDkey: tid

A label applied to a record in the same space. Permissioned content cannot be taken down by anyone but its author, so moderation of content is advisory: a reader honours the labels published by the labelers its community names.

subjectbeta.label#subjectrequired

The record this label applies to.

valstringrequiredknownhidden | spoiler | embeds-suppressed | movedmaxLength128

The label value. `hidden` is enforced: the AppView withholds a hidden record instead of serving it. `moved` is enforced too: the AppView withholds the record from this space and serves it in the space named by `destination` instead, at its own record key, so it reads in the order it was written. `spoiler` and `embeds-suppressed` are display hints the AppView passes through for the client to honour.

scopearray<string>

URIs within the subject record the label narrows to, for values that can apply to part of a record. Absent means the whole record.

destinationstringformatspace-ref

Where a `moved` record is served instead of here. Honoured only on a `moved` label.

batchstringformattid

Shared by every `moved` label written in one move, which is what groups a move for auditing. It does not affect the order the records read in.

negbooleandefaultfalse

Whether this record retracts an earlier label of the same value.

reasonstringmaxLength512

Human-readable reason.

createdAtstringrequiredformatdatetime

When the label was applied.

#subjectOBJECT

The labelled record, addressed within the space the label lives in.

didstringrequiredformatdid

DID of the repo holding the labelled record.

collectionstringrequiredformatnsid

The labelled record's collection.

rkeystringrequiredformatrecord-key

The labelled record's key.

social.colibri.beta.member

lexicon v1
mainRECORDkey: any

A community member. The record key is the member's DID, so membership is a direct lookup and a member cannot hold two of these.

subjectstringrequiredformatdid

The member's DID. Matches the record key.

rolesarray<string>

Roles assigned to this member.

joinedAtstringrequiredformatdatetime

When the member was admitted.

nicknamestringmaxLength32

Per-community display name override.

social.colibri.beta.message

lexicon v1
mainRECORDkey: tid

A message in a channel. Lives in the author's own permissioned repo for the channel's space.

textstringrequiredmaxLength2048

The message body.

facetsarray<richtext.facet>

Annotations over ranges of the text.

createdAtstringrequiredformatdatetime

When the message was sent.

updatedAtstringformatdatetime

When the message was last edited. Absent means never edited.

The message this one replies to.

parentUristringformatat-uri

The message this one replies to, as a record URI in the same space. Readers prefer it over `parent` when it is valid.

attachmentsarray<beta.message#attachment>

Files attached to this message.

Content copied here from another message. Present only on a forwarded message.

suppressedEmbedsarray<string>

URLs from this message's link facets whose preview the author chose not to show. Moderator suppression is a label instead.

Who sent this message on another service. Honoured only when the community itself wrote the record.

#forwardOBJECT

Another message's content, copied and frozen when the forward was made. The copy does not follow later edits, deletions or labels on the message it came from. Never itself nested: forwarding a forwarded message carries this content over and repoints `source` at the message it was forwarded from.

The message this content was copied from.

createdAtstringrequiredformatdatetime

When the message this content came from was sent.

textstringrequiredmaxLength2048

The copied message body. Empty when the message that was forwarded carried only attachments.

facetsarray<richtext.facet>

The copied annotations. A mention here does not notify anyone, because the AppView reads only a message's own facets.

attachmentsarray<beta.message#attachment>

The copied files, re-uploaded into the forwarding author's own repo so the forward stands on its own.

#attachmentOBJECT

A file attached to a message.

blobblobrequired

The attached file.

namestringmaxLength256

The original filename.

widthintegermin1

Intrinsic pixel width, when the file is an image or video.

heightintegermin1

Intrinsic pixel height, when the file is an image or video.

spoilerboolean

Whether clients hide the file behind a reveal step until the reader chooses to see it.

altstringmaxLength20000maxGraphemes2000

A text description of the file for readers who can't see it.

social.colibri.beta.moderation

lexicon v1
mainRECORDkey: tid

An audit log entry for a moderation action taken by the community. Enforcement is the space authority declining to issue credentials, and this records that it happened.

actionstringrequiredknownban | unban | kick

The action taken.

subjectstringrequiredformatdid

The member the action was taken against.

reasonstringmaxLength512

Human-readable reason.

createdBystringrequiredformatdid

DID of the moderator who took the action.

createdAtstringrequiredformatdatetime

When the action was taken.

social.colibri.beta.reaction

lexicon v1
mainRECORDkey: tid

A reaction to a message in the same channel space.

emojistringrequiredmaxLength64

The reaction, as an emoji or a custom shortcode.

targetbeta.defs#recordRefrequired

The message being reacted to.

uristringformatat-uri

The message being reacted to, as a record URI in the same space. Readers prefer it over `target` when it is valid.

The emoji record behind a custom shortcode, so viewers who don't have the emoji can still show it.

Who reacted on another service. Honoured only when the community itself wrote the record.

social.colibri.beta.role

lexicon v1
mainRECORDkey: tid

A named bundle of permissions assignable to community members.

namestringrequiredminLength1maxLength32

Display name.

colorstringmaxLength7

Hex colour as #rrggbb.

A small badge shown next to the names of members holding this role.

permissionsarray<string>required

Permissions granted by this role.

positionintegerrequired

Hierarchy position. Higher outranks lower.

hoistedbooleandefaultfalse

Whether holders are listed separately in the member list.

mentionablebooleandefaultfalse

Whether @role mentions resolve to this role.

protectedbooleandefaultfalse

Whether this role is exempt from modification and deletion. Set on the owner role created with the community.

defaultbooleandefaultfalse

Whether every member holds this role from the moment they join. Set on the members role created with the community. A default role cannot be deleted.

channelOverridesarray<beta.role#channelOverride>

Deprecated, superseded by permissionOverrides on channel records. Honoured only for channels without permissionOverrides.

#channelOverrideOBJECT

Allow and deny lists scoped to a single channel.

channelstringrequiredformatrecord-key

The space key of the channel this override applies to.

allowarray<string>

Permissions granted within this channel.

denyarray<string>

Permissions denied within this channel. Deny beats both the base permissions and allow.

#iconBadgeOBJECT

A badge drawn from the client's curated icon set.

iconstringrequiredminLength1maxLength64

The icon's identifier in the curated set, for example shield-check.

colorstringmaxLength7

Hex colour as #rrggbb. Absent means the role colour, or the client's default badge colour when the role has none.

#imageBadgeOBJECT

A badge drawn from an uploaded image.

imageblobrequiredmaxSize262144acceptimage/jpeg, image/png, image/gif, image/webp

A square image, shown at about 16 pixels.

#emojiBadgeOBJECT

A badge drawn from an emoji. Exactly one of emoji and customEmoji is set.

emojistringmaxLength64maxGraphemes1

A Unicode emoji.

The record of a custom emoji.

social.colibri.beta.thread

lexicon v1
mainRECORDkey: literal:self

A thread's configuration, including the link to the channel it belongs to. Lives at key 'self' in the thread's own space and is written only by the community.

namestringrequiredminLength1maxLength128

The thread's title.

channelstringrequiredformatspace-ref

The text channel this thread belongs to. Moving the thread to another channel rewrites this field.

The message the thread was opened from. Absent on a thread opened from scratch. Its space stays where the thread was opened even after the thread moves to another channel, which is what drops the thread's marker out of the old channel without losing the quoted message.

createdBystringrequiredformatdid

Who opened the thread.

createdAtstringrequiredformatdatetime

When the thread was opened.

visibleToRolesarray<string>

Roles that may read this thread. Empty or absent means everyone who can read the parent channel can read the thread. A non-empty list makes the thread private: the community declines space credentials for it to anyone outside the list, so it is enforced by the protocol rather than only by a read handler.

visibleToMembersarray<string>

Members that may read this thread in addition to visibleToRoles.

closedAtstringformatdatetime

When the thread was closed. Absent on an open thread. A closed thread still accepts messages, and the next one reopens it.

lockedboolean

Whether only members who may manage threads can write in this thread. Absent means unlocked.

Who opened this thread on another service. Honoured only when the community itself wrote the record.

social.colibri.beta.thread.follow

lexicon v1
mainRECORDkey: literal:self

Marks its author as following the thread it lives in. Presence means following and deleting it means leaving. The follower writes it into the thread's own space, so following is visible to everyone who can read the thread.

createdAtstringrequiredformatdatetime

When the user started following.

Reusable object definitions (*.defs) referenced by records, queries and events across the other lexicons. The event socket’s frames live here, in social.colibri.beta.sync.defs.

social.colibri.beta.actor.defs

lexicon v1
#profileViewOBJECT

A Colibri user as the AppView serves them: identity, resolved profile, and presence.

didstringrequiredformatdid

The user's DID.

handlestringrequiredformathandle

The user's handle, or 'handle.invalid' when it does not resolve.

displayNamestringrequired

Resolved display name, falling back to the handle.

descriptionstring

Resolved bio.

pronounsstring

Resolved pronouns, taken from the profile record, or from Bluesky when the user syncs with Bluesky and set none here.

avatarstringformaturi

URL of the user's avatar, served by this AppView's blob proxy.

bannerstringformaturi

URL of the user's profile banner, served by this AppView's blob proxy.

isBotbooleanrequired

Whether the account is labelled as an automated account.

syncBlueskybooleanrequired

Whether the mirrored profile fields come from app.bsky.actor.profile.

Colibri-only profile theming, read from the profile record even when the mirrored fields come from Bluesky.

preferredBadgestring

Label value of the badge the user chose to display.

Live presence, when the AppView is tracking any.

Present when this is someone on another service whose messages a bridge relays. They have no Colibri account of their own.

#presenceOBJECT

A user's live, off-protocol state.

onlineStatestringrequiredknownonline | away | dnd | offline

Derived online state.

The user's status line.

Where the user is connected for voice, if anywhere.

activitiesarray<actor.defs#activity>

What the user is doing right now, one entry per service they share from. Empty when the AppView has nothing current for them.

#statusOBJECT

A user's status line. It carries text, an emoji, or both.

textstringmaxLength64

The status text. Absent for an emoji-only status.

emojistring

A Unicode emoji shown beside the status.

A custom emoji shown beside the status. Takes the place of emoji when both are present.

expiresAtstringformatdatetime

When the status clears. The AppView stops returning the status once this time passes. Absent means it never expires.

showWhileOfflinebooleandefaultfalse

Whether a client shows the status while the user is offline.

#activityOBJECT

Something the user is doing right now, read from another service they publish to. A client renders it beside their presence.

kindstringrequiredknownlistening | playing | streaming

What sort of activity this is. A client that does not know a kind falls back to naming the source.

titlestringrequiredmaxLength256

The main line: a track, a game, or a stream title.

subtitlestringmaxLength256

The second line, such as the artist.

detailstringmaxLength256

A third line naming where the title sits, such as the album.

imageUristringformaturi

Artwork for the activity, served by this AppView. Absent when none could be resolved.

linkUristringformaturi

Where the activity points, such as the track's page on the service it was played from.

startedAtstringformatdatetime

When the activity began.

endsAtstringformatdatetime

After this the activity is no longer current. The AppView clears it and says so, and a client treats a lapsed activity as absent.

sourcestringrequiredmaxLength64

The service the activity was read from, such as 'teal.fm'.

#voiceStateOBJECT

A user's voice connection.

channelstringrequiredformatspace-ref

The voice channel the user is connected to.

mutedboolean

Whether the user's microphone is muted, for any reason.

deafenedboolean

Whether the user has incoming audio silenced, for any reason.

serverMutedboolean

Whether a moderator muted them. When this is true they cannot unmute themselves, and a client must not offer them the control.

serverDeafenedboolean

Whether a moderator deafened them. When this is true they cannot undeafen themselves.

cameraboolean

Whether the user is sharing their camera.

screenboolean

Whether the user is sharing their screen.

#preferencesOBJECT

The authenticated user's own settings, as the AppView currently holds them.

notificationLevelstringrequiredknownall | mentionsAndReplies | nothing

Which messages produce a notification.

communityOrderarray<string>required

Communities in preferred sidebar order.

mutesarray<actor.defs#mute>required

Subjects the user has muted.

gifFavoritesarray<embed.defs#gifView>required

GIFs saved from the picker, stored whole.

shareActivityboolean

Whether the AppView may read what the user is listening to and show it to others.

spaceNotificationsarray<actor.defs#spaceNotification>

Notification levels the user set for single communities. A community without an entry follows notificationLevel.

spaceModerationsarray<actor.defs#spaceModeration>

Moderation view options the user set for single communities. A community without an entry follows clientPreferences.

blocksarray<actor.defs#block>

Users the user blocked.

leftThreadsarray<actor.defs#leftThread>

Threads the user left. A ping in a thread after leftAt brings the user back and removes its entry.

Client settings that follow the user across devices.

Emoji usage, skin tone and recent GIFs.

#muteOBJECT

A muted subject.

What is muted. A user or a community is named by DID, a channel or a thread by its space.

createdAtstringrequiredformatdatetime

When the mute was created.

#blockOBJECT

A blocked user.

subjectstringrequiredformatdid

The blocked user.

createdAtstringrequiredformatdatetime

When the block was created.

#mutedActorOBJECT

A muted user or community.

didstringrequiredformatdid

The muted user or community.

#mutedChannelOBJECT

A muted channel. Muting a channel silences it without leaving the community it belongs to.

channelstringrequiredformatspace-ref

The muted channel's space.

#mutedThreadOBJECT

A muted thread. Muting a thread silences it without leaving the channel it sits beside.

threadstringrequiredformatspace-ref

The muted thread's space.

#leftThreadOBJECT

A thread the user left. The user stays out of the thread's audience until someone pings them in it, they follow it again or they post in it.

threadstringrequiredformatspace-ref

The left thread's space.

leftAtstringrequiredformatdatetime

When the user left the thread.

#spaceNotificationOBJECT

A notification level for one community.

communitystringrequiredformatdid

The community.

levelstringrequiredknownall | mentionsAndReplies | nothing

Which messages in this community produce a notification.

#spaceModerationOBJECT

Moderation view options for one community.

communitystringrequiredformatdid

The community.

hideModeratedMessagesbooleanrequired

Whether messages a moderator hid stay out of view in this community.

#clientPreferencesOBJECT

Client settings that follow the user across devices. Every field is optional and a client applies its own default for an absent one.

Touch gestures in a channel.

themestringknownsystem | dark | light

The color theme. system follows the operating system.

messagePreviewsboolean

Whether the channel list shows the latest message under each channel name.

linkEmbedsByDefaultboolean

Whether a link in a new message gets a preview by default.

gifLoopLimitintegermin1max5

How many times a GIF in chat plays before it pauses. Absent means no limit.

soundVolumeintegermin0max100

The volume of in-app sound effects such as message pings and call sounds, in percent. Absent means 100.

warnOnExternalLinksboolean

Whether opening a link to another site asks for confirmation first.

blueskyClientstringknownanisota | blacksky | bluesky | deer | mu | northsky | witchsky | custommaxLength64

The client that Bluesky posts and profiles open in.

customBlueskyClientBasestringmaxLength253

The domain of the client used when blueskyClient is custom.

inboxPresentationstringknownpopover | modalmaxLength32

How the inbox opens on desktop. popover anchors it to the inbox button, modal opens it in a large dialog.

developerModeboolean

Whether the client shows identifiers and links to inspect records.

recordExplorerstringknownpdsls | atprotoAtmaxLength32

The site that developer mode links open records and identifiers in. Absent means pdsls.

hideModeratedMessagesboolean

Whether messages a moderator hid stay out of view for a user who could otherwise see them. A community can override this with an entry in spaceModerations.

Options for voice channels.

experimentsarray<string>maxLength64

The experiments the user turned on.

dismissedLegacyCommunitiesarray<string>maxLength256

Legacy communities that cannot move onto spaces and that the user removed from their sidebar.

#controlsOBJECT

Touch gestures in a channel.

swipeLeftActionstringknownmembers | reply

What swiping left on a message does.

doubleTapEnabledboolean

Whether double tapping a message does anything.

doubleTapActionstringknownreact | editOrReply

What double tapping a message does.

doubleTapReactionEmojistringmaxLength64maxGraphemes1

The emoji a double tap reacts with.

#voiceViewOBJECT

Options for voice channels.

confirmJoinboolean

Whether opening a voice channel waits for the user to press join.

showNonVideoParticipantsboolean

Whether the call grid shows participants without video.

showOwnCameraboolean

Whether the call grid shows the user's own camera.

#composerStateOBJECT

Emoji usage, skin tone and recent GIFs.

emojiUsagearray<actor.defs#emojiUse>maxLength50

The emoji the user picks most, with counts.

skinToneintegermin0max5

The skin tone for emoji that support one. 0 is the default yellow.

recentGifsarray<embed.defs#gifView>maxLength24

The GIFs the user sent last, newest first, stored whole.

#emojiUseOBJECT

How often and how recently the user picked one emoji.

emojistringrequiredmaxLength512

A Unicode emoji, or a custom emoji's AT URI.

countintegerrequiredmin1

How many times the user picked it.

lastUsedstringrequiredformatdatetime

When the user last picked it.

social.colibri.beta.bridge.defs

lexicon v1
#attributionOBJECT

Who wrote a record on another service. The community writes every bridged record, and the AppView honours this attribution only on records the community itself wrote.

registrationstringrequiredformattid

Record key of the registration the record was written for.

platformstringrequiredmaxLength64

The service the author is on, as its bridge names it.

remoteIdstringrequiredmaxLength256

The author's id on the other service. Opaque to Colibri.

namestringrequiredmaxLength128

The author's display name on the other service when the record was written.

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

The author's avatar, uploaded to the community's repo.

remoteMessagestringmaxLength256

The id of the message on the other service, which lets a bridge find its own records again.

importedboolean

Set on messages a bridge imported from the room's earlier history. The AppView sends no notifications for them, and marks their live events as imported.

#remoteAuthorOBJECT

The person on the other service a bridge is writing for.

idstringrequiredmaxLength256

The author's id on the other service.

namestringrequiredmaxLength128

The author's display name on the other service.

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

An avatar uploaded earlier with uploadBlob.

#backfillOBJECT

A request to import a linked room's earlier messages.

sincestringformatdatetime

The oldest message to import. Absent imports the room's whole history.

requestedAtstringrequiredformatdatetime

When an admin asked for the import. Messages after this were relayed live.

#backfillStatusOBJECT

Progress of a history import, as the bridge last reported it.

channelstringrequiredformatspace-ref

The linked channel being filled.

requestedAtstringrequiredformatdatetime

The request this status belongs to.

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.

updatedAtstringrequiredformatdatetime

When the bridge last reported.

#remoteRoomOBJECT

A room a bridge can see on the other service, offered to admins when linking channels.

idstringrequiredmaxLength256

The room's id on the other service.

namestringrequiredmaxLength128

The room's name.

kindstringknowntext | voice | announcement | forum | other

What sort of room it is.

parentstringmaxLength128

Name of the group or category the room sits in, if any.

#registrationViewOBJECT

A bridge registered with a community.

idstringrequiredformattid

Record key of the registration.

communitystringrequiredformatdid

The community the registration belongs to.

communityNamestringmaxLength32

The community's name, when the AppView knows it.

bridgestringrequiredformatdid

The bridge's DID.

bridgeHandlestringformathandle

The bridge's handle, when it resolves.

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.

linksarray<bridge.defs#link>required

Channels kept in sync.

channelsarray<string>

Channels the bridge may read and post in without a room on the other service.

Progress of each linked channel's latest history import.

enabledbooleanrequired

Whether the bridge may currently write.

mirrorModerationboolean

Whether moderation crosses the bridge. When on, hiding a bridged message removes its original on the other service, and a moderator removing a relayed message there hides it here.

createdBystringrequiredformatdid

The admin who paired the bridge.

createdAtstringrequiredformatdatetime

When the bridge was paired.

updatedAtstringformatdatetime

When the registration last changed.

#pairingViewOBJECT

A pending pairing, shown to an admin before they confirm it.

bridgestringrequiredformatdid

The bridge that asked to pair.

bridgeHandlestringformathandle

The bridge's handle, when it resolves.

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.

expiresAtstringrequiredformatdatetime

When the code stops working.

#bridgedActorOBJECT

Marks a profile view as someone on another service whose messages a bridge relays.

registrationstringrequiredformattid

Record key of the registration the record was written for.

platformstringrequiredmaxLength64

The service the person is on.

remoteIdstringrequiredmaxLength256

Their id on that service.

#bridgedReactorOBJECT

Someone on another service who reacted to a message through a bridge.

registrationstringrequiredformattid

Record key of the registration the reaction was written for.

platformstringrequiredmaxLength64

The service the person is on.

remoteIdstringrequiredmaxLength256

Their id on that service.

namestringrequiredmaxLength128

Their display name on that service when they reacted.

social.colibri.beta.channel.defs

lexicon v1
#messageViewOBJECT

A message as the AppView serves it, with its author, reactions and labels resolved.

uristringrequiredformatat-uri

The message's full space AT-URI.

rkeystringrequiredformatrecord-key

The message's record key, for addressing it as a reply target.

channelstringrequiredformatspace-ref

The channel space the message lives in.

Who wrote it.

textstringrequired

The message body.

facetsarray<richtext.facet>

Rich text annotations.

createdAtstringrequiredformatdatetime

When it was sent.

updatedAtstringformatdatetime

When it was last edited. Absent means never edited.

The message being replied to, or a stand-in when it can no longer be served. Never itself nested.

attachmentsarray<channel.defs#attachmentView>required

Attached files.

reactionsarray<channel.defs#reactionView>required

Reactions, aggregated by emoji.

labelsarray<community.defs#labelView>required

Labels from labelers this community honours. `src` says who applied each one. A `hidden` label is enforced by the AppView, which withholds the message rather than serving it, so a message that reaches you carries only labels you are meant to act on for display, such as `spoiler`.

Content this message was forwarded from, when it is a forward. Never itself nested.

suppressedEmbedsarray<string>

URLs whose preview the author chose not to show.

Resolved link previews.

legacyboolean

Whether this message comes from the repo-backed community this channel was migrated from, and is therefore immutable.

#forwardViewOBJECT

The frozen copy a forwarded message carries, with its source resolved as far as this AppView can. Never itself nested, so a forward of a forward reports the message it was forwarded from rather than a chain.

The message this content was copied from.

sourceNamestring

Name of the channel or thread the content came from. Absent when this AppView does not know that space.

sourceCommunitystringformatdid

The community owning the source space, which is that space's authority. Absent when the source reference cannot be parsed.

createdAtstringrequiredformatdatetime

When the message this content came from was sent.

textstringrequired

The copied message body.

facetsarray<richtext.facet>

The copied annotations.

attachmentsarray<channel.defs#attachmentView>required

The copied files, served from the forwarding author's own repo.

#deletedMessageViewOBJECT

Stands in for a message the AppView will not serve: deleted by its author, or hidden by a moderator. The two cases are deliberately indistinguishable, so hiding does not leak what was hidden. Render it as an unavailable message.

uristringrequiredformatat-uri

The message's full space AT-URI.

rkeystringrequiredformatrecord-key

The message's record key.

channelstringrequiredformatspace-ref

The channel space it lived in.

#attachmentViewOBJECT

A file attached to a message.

urlstringrequiredformaturi

URL served by this AppView's blob proxy.

previewUrlstringformaturi

A smaller rendition of an image for inline display, served by this AppView's blob proxy. Clients fall back to url when it's absent. Lightboxes and downloads use url.

namestringmaxLength256

The original filename.

mimeTypestringrequired

The sniffed content type.

sizeinteger

Size in bytes.

widthinteger

Intrinsic pixel width, when the file is a decodable image or video.

heightinteger

Intrinsic pixel height, when the file is a decodable image or video.

spoilerboolean

Whether the author marked the file as a spoiler. Clients hide it behind a reveal step.

altstringmaxLength20000maxGraphemes2000

The author's text description of the file.

#reactionViewOBJECT

Reactions to a message with one emoji.

emojistringrequired

The emoji or custom shortcode.

The emoji record behind a custom shortcode, from the earliest reaction that named one.

countintegerrequired

How many people reacted, including people reacting through a bridge.

reactorsarray<string>required

Colibri users who reacted. People reacting through a bridge are listed in bridgedReactors instead.

viewerReactedboolean

Whether the requesting user is among them.

bridgedReactorsarray<bridge.defs#bridgedReactor>

People on other services who reacted through a bridge.

#unreadStatusOBJECT

Per-channel unread state for the requesting user.

channelstringrequiredformatspace-ref

The channel.

hasUnreadbooleanrequired

Whether anything is unread.

unreadMentionsintegerrequired

How many unread messages mention the user.

cursorstringformattid

The user's current read cursor.

#channelSummaryOBJECT

The latest message in a channel, reduced to what a channel list preview shows.

channelstringrequiredformatspace-ref

The channel.

rkeystringrequiredformatrecord-key

The latest message's record key.

authorstringrequiredformatdid

Who wrote the latest message.

textstringrequired

The latest message's text, which is empty when it only carries attachments or a forward.

facetsarray<richtext.facet>

The latest message's annotations, with custom emoji the community's policy disallows left out.

attachmentKindstringknownimage | file

What the first attachment is, when the message has any. Images and videos are image, everything else is file.

attachmentCountintegerrequiredmin0

How many attachments the message has.

forwardbooleanrequired

Whether the message forwards another message.

createdAtstringrequiredformatdatetime

When the latest message was written.

social.colibri.beta.community.defs

lexicon v1
#communityViewOBJECT

A community as the AppView serves it.

didstringrequiredformatdid

The community's DID, which is the authority for all of its spaces.

handlestringrequiredformathandle

The community's handle.

managingAppstringrequiredformatdid

The AppView that manages this community's spaces. When it is not the AppView that served this view, the client must talk to that AppView for this community's reads, writes, events and voice.

namestringrequired

The community's name.

descriptionstring

The community's description.

picturestringformaturi

URL of the community's icon, served by this AppView's blob proxy.

bannerstringformaturi

URL of the community's banner, served by this AppView's blob proxy.

requiresApprovalToJoinbooleanrequired

Whether joining produces an application to approve.

linkEmbedsbooleanrequired

Whether link previews are shown by default.

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. Absent means false.

hideOwnerBadgeboolean

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

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. Absent means all.

labelersarray<string>

DIDs whose labels this community honours.

migratedFromstringformatat-uri

The repo-backed community this one replaces, if any.

When and by whom this community moved from its repo-backed predecessor. Set on migrated communities.

memberCountinteger

Number of admitted members.

The requesting user's relationship to this community.

#viewerStateOBJECT

The requesting user's relationship to a community.

isMemberbooleanrequired

Whether the user holds a member record.

isOwnerboolean

Whether the user holds a protected role.

isBannedboolean

Whether the user is banned.

applicationPendingboolean

Whether the user has an unapproved application.

rolesarray<string>

Roles the user holds.

permissionsarray<string>

Effective community-wide permissions.

#categoryViewOBJECT

A category and the channels in it.

rkeystringrequiredformatrecord-key

The category's record key.

namestringrequired

The category's name.

channelsarray<community.defs#channelView>required

Channels in display order.

privateboolean

Whether the default role is denied channel.view in the category.

permissionOverridesarray<beta.defs#permissionOverride>maxLength200

Per-role and per-member permission overrides set here.

#channelViewOBJECT

A channel as the AppView serves it. The channel's identity is its space.

spacestringrequiredformatspace-ref

The channel's space, which is its identity.

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

The channel's space type.

namestringrequired

The channel's name.

descriptionstring

The channel's topic.

categorystringformatrecord-key

The category this channel is listed under.

linkEmbedsboolean

Whether link previews are shown here.

migratedFromstringformatat-uri

The legacy channel whose history is served alongside this one.

The requesting user's access to this channel.

privateboolean

Whether the default role is denied channel.view in the channel, directly or through its category.

permissionOverridesarray<beta.defs#permissionOverride>maxLength200

Per-role and per-member permission overrides set here.

#channelViewerStateOBJECT

The requesting user's access to a channel.

canReadbooleanrequired

Whether the user may read this channel.

canPostbooleanrequired

Whether the user may post in this channel.

permissionsarray<string>

The requesting user's effective permissions in this channel, after category and channel overrides.

#roleViewOBJECT

A role.

rkeystringrequiredformatrecord-key

The role's record key.

namestringrequired

Display name.

colorstringmaxLength7

Hex colour as #rrggbb.

permissionsarray<string>required

Permissions granted.

positionintegerrequired

Hierarchy position. Higher outranks lower.

hoistedboolean

Whether holders are listed separately.

mentionableboolean

Whether @role mentions resolve to this role.

protectedboolean

Whether the role is exempt from modification and deletion.

defaultboolean

Whether every member holds this role from the moment they join.

memberCountinteger

Number of members holding this role.

#roleIconBadgeOBJECT

A role badge drawn from the client's curated icon set.

iconstringrequiredminLength1maxLength64

The icon's identifier in the client's curated set, for example shield-check.

colorstringmaxLength7

Hex colour as #rrggbb. Absent means the role colour, or the client's default badge colour.

#roleImageBadgeViewOBJECT

A badge drawn from an uploaded image.

imagestringrequiredformaturi

URL of the badge image, served by this AppView's blob proxy.

#roleEmojiBadgeOBJECT

A role badge drawn from an emoji. Exactly one of emoji and customEmoji is set.

emojistringmaxLength64maxGraphemes1

A Unicode emoji.

The record of a custom emoji.

#roleEmojiBadgeViewOBJECT

A badge drawn from an emoji. Exactly one of emoji and customEmoji is set.

emojistring

A Unicode emoji.

The record of a custom emoji.

namestring

The custom emoji's name without colons. Absent when this AppView has not indexed the emoji.

imagestringformaturi

URL of the custom emoji's image, served by this AppView's blob proxy. Absent when this AppView has not indexed the emoji.

#memberViewOBJECT

An admitted community member.

The member.

rolesarray<string>required

Roles held, highest first.

joinedAtstringrequiredformatdatetime

When the member was admitted.

nicknamestringmaxLength32

Per-community display name override.

#applicationViewOBJECT

A pending request to join a community that requires approval.

The applicant.

createdAtstringrequiredformatdatetime

When the application was made.

dismissedbooleanrequired

Whether a moderator has hidden this from the active queue.

#invitationViewOBJECT

An invitation code.

codestringrequired

The invitation code.

createdBystringrequiredformatdid

Who created it.

activebooleanrequired

Whether it can still be redeemed.

createdAtstringrequiredformatdatetime

When it was created.

expiresAtstringformatdatetime

When it stops being redeemable, if ever.

usesinteger

How many times it has been redeemed.

maxUsesinteger

How many times it may be redeemed, if limited.

#moderationViewOBJECT

An entry in a community's moderation log.

rkeystringrequiredformatrecord-key

The log entry's record key.

actionstringrequiredknownban | unban | kick

The action taken.

subjectactor.defs#profileViewrequired

Who it was taken against.

reasonstringmaxLength512

Human-readable reason.

createdBystringrequiredformatdid

Which moderator took it.

createdAtstringrequiredformatdatetime

When it was taken.

#labelViewOBJECT

A label applied to a record.

srcstringrequiredformatdid

The labeler that applied it.

valstringrequired

The label value.

scopearray<string>

What the label narrows to.

reasonstringmaxLength512

Human-readable reason.

createdAtstringrequiredformatdatetime

When it was applied.

#bannedActorViewOBJECT

A member who is currently banned from a community. Derived from the moderation log, which records bans and unbans as separate entries.

The banned member.

reasonstringmaxLength512

Why they were banned.

bannedBystringrequiredformatdid

Which moderator banned them.

bannedAtstringrequiredformatdatetime

When the ban took effect.

#legacyCommunityViewOBJECT

A repo-backed community that has not been migrated onto spaces yet, as read live from its own public repo. This is not an indexed view: the AppView holds nothing about a community until it is migrated.

didstringrequiredformatdid

The legacy community's DID, which becomes the authority for its spaces once migrated.

handlestringformathandle

The community's handle, when its DID document still resolves one.

namestringrequired

The community's name.

descriptionstring

The community's description.

memberCountinteger

How many member records the legacy repo holds.

channelCountinteger

How many channel records the legacy repo holds. Migration recreates one space per channel.

viewerIsAdminboolean

Whether the requesting user may migrate this community. Only an administrator of the legacy community can.

picturestringformaturi

URL of the legacy community's icon, served by this AppView's blob proxy.

The member who owns the legacy community, for members to ask about the move.

statestringknownmigratable | migrating | blocked

Where the community stands. migratable waits for an administrator, migrating is moving now, blocked cannot move. Absent means migratable.

blockedReasonstringknownownerRepo | unreadable | noAdmin

Why a blocked community cannot move. ownerRepo lives inside its owner's repo, unreadable has a repo that did not respond, noAdmin has nobody left who may migrate it.

How far a running migration has come. Set while state is migrating.

#legacyOwnerOBJECT

The owner of a legacy community.

didstringrequiredformatdid

The owner's DID.

handlestringformathandle

The owner's handle, when it resolves.

#migrationProgressOBJECT

How far a migration has come.

stepstringrequired

The step running now. Same values as social.colibri.beta.sync.defs#communityProgressEvent.

completedintegerrequired

Steps finished.

totalintegerrequired

Steps in total.

failedboolean

Whether the last attempt failed. Starting the migration again resumes it from the last finished step.

#migrationInfoOBJECT

When and by whom a community moved onto spaces.

atstringrequiredformatdatetime

When the migration finished.

bystringrequiredformatdid

The administrator who started it.

social.colibri.beta.defs

lexicon v1
#recordRefOBJECT

A reference to a record in the same space. Record keys are unique per repo rather than per space, so a bare key cannot address a record in a space that aggregates many authors.

didstringrequiredformatdid

DID of the repo holding the referenced record.

rkeystringrequiredformatrecord-key

Record key of the referenced record.

#spaceRecordRefOBJECT

A reference to a record in a named space, for pointing at something outside the space the pointer lives in.

spacestringrequiredformatspace-ref

The space holding the referenced record.

didstringrequiredformatdid

DID of the repo holding the referenced record.

rkeystringrequiredformatrecord-key

Record key of the referenced record.

cidstringformatcid

The referenced record's CID as it stood when the reference was made.

#permissionOverrideOBJECT

Allow and deny lists for one role or one member, scoped to the channel or category that holds them. Exactly one of role and member is set. A permission in neither list inherits from the category, then from the target's role permissions.

rolestringformatrecord-key

The record key of the role this override applies to.

memberstringformatdid

The member this override applies to.

allowarray<string>

Permissions granted here.

denyarray<string>

Permissions denied here. A permission listed in both allow and deny is denied.

social.colibri.beta.embed.defs

lexicon v1
#linkEmbedOBJECT

A link preview.

uristringrequiredformaturi

The URL previewed.

titlestring

Page title.

descriptionstring

Page description.

siteNamestring

Publisher name.

Preview image.

Playable video.

themeColorstringmaxLength7

Accent color the page declares, as #rrggbb.

layoutstringknownsummary | largeImage | player

Card layout the page asks for.

Service that published the page.

Author of the page or post.

publishedAtstringformatdatetime

When the page or post was published.

mediaarray<embed.defs#embedMedia>maxLength4

Gallery of images and videos, in page order.

Social post content, present when the link resolves to one.

#embedImageOBJECT

A preview image.

urlstringrequiredformaturi

URL served by this AppView's image proxy.

widthinteger

Intrinsic pixel width.

heightinteger

Intrinsic pixel height.

altstring

Alternative text.

#embedVideoOBJECT

A playable video.

urlstringrequiredformaturi

URL served by this AppView's video proxy.

mimeTypestringrequiredknownvideo/mp4 | video/webm

Content type.

widthinteger

Intrinsic pixel width.

heightinteger

Intrinsic pixel height.

durationinteger

Duration in seconds.

#embedProviderOBJECT

The service behind a link preview.

namestringrequired

Display name.

urlstringformaturi

Home page.

iconstringformaturi

Icon URL served by this AppView's image proxy.

#embedAuthorOBJECT

The author of a link preview.

namestringrequired

Display name.

handlestring

Account handle, without a leading @.

urlstringformaturi

Profile or post URL.

avatarstringformaturi

Avatar URL served by this AppView's image proxy.

#embedMediaOBJECT

One gallery item.

kindstringrequiredknownimage | video | gifv

Media kind. gifv is a silent looping video.

urlstringrequiredformaturi

URL served by this AppView's image or video proxy.

previewUrlstringformaturi

Poster image for a video, served by this AppView's image proxy.

mimeTypestringknownvideo/mp4 | video/webm

Content type of a video.

widthinteger

Intrinsic pixel width.

heightinteger

Intrinsic pixel height.

altstring

Alternative text.

#embedPostOBJECT

Content of a social post.

bodyarray<embed.defs#richBlock>required

Formatted post text.

sensitiveboolean

Whether the author marked the post as sensitive.

contentWarningstring

Content warning text.

Engagement counts.

The post this post quotes.

translatedFromstring

Source language code when body holds a translation.

#embedStatsOBJECT

Engagement counts on a post.

repliesintegermin0

Reply count.

repostsintegermin0

Repost count.

likesintegermin0

Like count.

viewsintegermin0

View count.

#embedQuoteOBJECT

A quoted post.

uristringrequiredformaturi

URL of the quoted post.

Author of the quoted post.

bodyarray<embed.defs#richBlock>required

Formatted text of the quoted post.

mediaarray<embed.defs#embedMedia>maxLength4

Media on the quoted post.

publishedAtstringformatdatetime

When the quoted post was published.

translatedFromstring

Source language code when body holds a translation.

#richBlockOBJECT

A block of formatted text.

kindstringrequiredknownparagraph | quote

Block kind.

spansarray<embed.defs#richSpan>required

Inline runs. A newline in text is a line break.

#richSpanOBJECT

An inline run of formatted text.

textstringrequired

Plain text.

boldboolean

Bold.

italicboolean

Italic.

hrefstringformaturi

Link target.

#gifViewOBJECT

A GIF from the picker.

idstringrequired

Provider identifier, stable enough to save as a favourite.

urlstringrequiredformaturi

Full-size GIF URL.

previewUrlstringrequiredformaturi

Smaller preview URL for the picker grid.

widthintegerrequired

Intrinsic pixel width.

heightintegerrequired

Intrinsic pixel height.

titlestring

Human-readable title.

videoUrlstringformaturi

Silent looping video for a GIF that is served as a video. previewUrl is its poster.

mimeTypestringknownvideo/mp4 | video/webm

Content type of videoUrl.

#gifCategoryOBJECT

A category in the GIF picker.

namestringrequired

Category name.

previewUrlstringformaturi

Representative image for the category.

social.colibri.beta.emoji.defs

lexicon v1
#emojiImageOBJECT

One stored rendition of an emoji.

cidstringrequiredformatcid

The blob's CID in the owner's repo.

formatstringrequiredknownpng | webp | gif | apng | lottie | other

The image format.

mimeTypestring

The blob's MIME type.

sizeintegermin0

The blob's size in bytes.

animatedbooleanrequired

Whether the format is animated.

pixelsintegermin1

The rendition's longest edge in pixels, when the provider fixes one.

#emojiViewOBJECT

A custom emoji, normalised from its provider's record.

uristringrequiredformatat-uri

The emoji's record URI.

cidstringformatcid

The record's CID.

providerstringrequiredknownblue.moji

The emoji provider whose lexicon the record uses.

ownerstringrequiredformatdid

The repo that holds the record and its blobs.

namestringrequired

The name without colons.

altstring

Alt text for the image.

fallbackstring

The text shown where the image cannot render.

imagesarray<emoji.defs#emojiImage>required

Every rendition the record carries.

adultOnlyboolean

Whether the owner marked the emoji as adult content.

createdAtstringrequiredformatdatetime

When the record was created.

#packViewOBJECT

A named group of custom emoji, normalised from its provider's records.

uristringrequiredformatat-uri

The pack's record URI.

providerstringrequiredknownblue.moji

The emoji provider whose lexicon the record uses.

ownerstringrequiredformatdid

The repo that holds the pack.

namestringrequired

The pack's name.

descriptionstring

The pack's description.

emojisarray<string>required

The URIs of the emoji in the pack, in the order they were added. Only emoji present in the catalog are listed.

createdAtstringrequiredformatdatetime

When the record was created.

#catalogViewOBJECT

Every custom emoji and pack in one repo.

ownerstringrequiredformatdid

The repo the catalog belongs to.

emojisarray<emoji.defs#emojiView>required

Every emoji in the repo.

packsarray<emoji.defs#packView>required

Every pack in the repo.

#followViewOBJECT

A pack or single emoji the user follows, resolved against the owner's current catalog.

uristringrequiredformatat-uri

The follow record.

subjectstringrequiredformatat-uri

The followed pack or emoji.

kindstringrequiredknownpack | emoji

Whether the subject is a pack or a single emoji.

statestringrequiredknownavailable | missing | unreachable

available when the subject resolves. missing when the owner deleted it. unreachable when the owner's repo cannot be read, for example a deactivated or taken down account.

Who holds the subject.

The pack, when kind is pack and state is available.

emojisarray<emoji.defs#emojiView>required

The pack's current emoji in pack order, or the single followed emoji. Empty unless state is available.

createdAtstringrequiredformatdatetime

When the user started following.

#emojiOwnerOBJECT

The user or community that holds an emoji or pack.

didstringrequiredformatdid

The owner.

kindstringrequiredknownuser | community

Whether the owner is a user or a community.

handlestringformathandle

The owner's handle.

displayNamestring

The user's display name or the community's name.

avatarstringformaturi

The user's avatar or the community's icon.

#libraryViewOBJECT

A user's emoji library.

The emoji and packs in the user's own repo.

followsarray<emoji.defs#followView>required

Everything the user follows, oldest follow first.

social.colibri.beta.notification.defs

lexicon v1
#notificationViewOBJECT

A notification for the requesting user.

idstringrequired

Opaque identifier, used to mark this notification seen.

kindstringrequiredknownmention | reply | message

Why it was raised.

Who caused it.

channelstringrequiredformatspace-ref

The channel it happened in.

threadstringformatspace-ref

The thread it happened in, when it happened in a thread rather than in the channel itself. `channel` stays the thread's parent channel, so a client can route to the thread inside it.

threadNamestring

The name of the thread in thread, when it is set and the thread is still indexed.

communitystringrequiredformatdid

The community it happened in.

The message, when still readable.

mentionRolestring

Name of the role whose mention raised this, for role mentions.

indexedAtstringrequiredformatdatetime

When the AppView raised it.

seenAtstringformatdatetime

When the user marked it seen.

social.colibri.beta.polyfill.defs

lexicon v1
#hostModeSTRING

Where a member's repos live. polyfill: the AppView hosts them because the member's PDS cannot. migrating: the client is copying them to the PDS, and the AppView stays authoritative until each copy verifies. native: the PDS hosts them and the AppView syncs from it.

knownpolyfill | migrating | native
#recordViewOBJECT

A record in a repo the AppView hosts.

uristringrequiredformatat-uri

The record's URI, the same one it keeps after a migration.

cidstringrequiredformatcid

The CID of the record or blob.

valueunknownrequired

The record itself.

#migrationRecordOBJECT

A record to replay on the user's PDS during a migration.

collectionstringrequiredformatnsid

The record's collection.

rkeystringrequiredformatrecord-key

The record key.

cidstringrequiredformatcid

The CID of the record or blob.

valueunknownrequired

The record itself.

#migrationProgressOBJECT

How far a migration has come.

spacesTotalintegerrequiredmin0

How many spaces hold a repo that has to move.

spacesDoneintegerrequiredmin0

How many of those repos have verified on the PDS.

social.colibri.beta.richtext.facet

lexicon v1
#byteSliceOBJECT

The range a feature applies to, as zero-based byte offsets into the UTF-8 encoded text. Start is inclusive, end is exclusive.

byteStartintegerrequiredmin0

First byte of the range, inclusive.

byteEndintegerrequiredmin0

Byte after the range, exclusive.

#boldOBJECT

Bold text.

#italicOBJECT

Italic text.

#underlineOBJECT

Underlined text.

#strikethroughOBJECT

Struck-through text.

#codeOBJECT

Inline code.

#codeblockOBJECT

A multi-line code block.

langstringmaxLength32

Language hint.

#quoteOBJECT

A block quote.

#headingOBJECT

A heading line.

levelintegerrequiredmin1max3

Heading level, from 1 to 3.

#listOBJECT

A list item line.

orderedbooleanrequired

Whether the list is numbered.

indentintegermin0max10

The nesting depth of the item. 0 is the outermost level.

#subtextOBJECT

Small, muted text.

#spoilerOBJECT

Text hidden until revealed.

#mentionOBJECT

A user mention.

didstringrequiredformatdid

The mentioned user.

#bridgedMentionOBJECT

A mention of someone on another service, whose messages a bridge relays.

registrationstringrequiredformattid

Record key of the bridge registration the person is reached through.

platformstringrequiredmaxLength64

The service the person is on.

remoteIdstringrequiredmaxLength256

Their id on that service.

#roleOBJECT

A role mention. Roles are only ever written by the community, and a channel space's authority is its community, so the role key alone is unambiguous.

rolestringrequiredformatrecord-key

The mentioned role.

#channelOBJECT

A channel reference, by the channel's space key within the same community.

channelstringrequiredformatrecord-key

The referenced channel.

#timeOBJECT

A timestamp rendered in the reader's locale.

datetimestringrequiredformatdatetime

The instant being referred to.

stylestringknowntime-short | time-long | date-short | date-long | datetime-short | datetime-long | relative

How to render it.

#customEmojiOBJECT

A custom emoji. The text under the facet is the emoji's fallback: a Unicode alternative when the emoji has one, otherwise its :name: shortcode.

uristringrequiredformatat-uri

The emoji record. Its collection identifies the emoji lexicon, for example blue.moji.collection.item.

cidstringformatcid

The version of the emoji record the message was written against.

social.colibri.beta.sync.defs

lexicon v1
#subscribeOBJECT

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

communitiesarray<string>

Communities to start receiving events for.

channelsarray<string>

Channels and threads to start receiving messages for.

#unsubscribeOBJECT

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

communitiesarray<string>

Communities to stop receiving events for.

channelsarray<string>

Channels and threads to stop receiving messages for.

#heartbeatOBJECT

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

#typingOBJECT

Reports that the user is typing in a channel.

channelstringrequiredformatspace-ref

The channel being typed in.

#viewChannelOBJECT

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

channelstringformatspace-ref

The channel now in view.

#activityOBJECT

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.

#wroteToOBJECT

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.

spacestringrequiredformatspace-ref

The space that was written to.

revstringformattid

The revision the write produced, when the client knows it.

#setPresenceOBJECT

Updates the user's own presence over the socket.

onlineStatestringknownonline | away | dnd | offline

Requested online state.

The user's own voice state, when connected to a voice channel.

#voiceSelfStateOBJECT

A user's own voice state.

channelstringrequiredformatspace-ref

The voice channel.

mutedboolean

Whether the microphone is muted.

deafenedboolean

Whether the user has deafened themselves.

#ackOBJECT

Answers a heartbeat.

#errorOBJECT

Something the client sent could not be acted on.

errorstringrequiredknownInvalidFrame | Forbidden | NotFound | RateLimited | ReadOnly

Error name.

messagestring

Human-readable detail.

#subscribedOBJECT

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

communitiesarray<string>required

Communities being received.

channelsarray<string>required

Channels and threads being received.

#messageEventOBJECT

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

eventstringrequiredknowncreate | update | delete

What happened.

channelstringrequiredformatspace-ref

The channel it happened in.

The message. Absent on delete, where the reference alone identifies it.

Which message, for deletes.

subjectUristringformatat-uri

The record URI of the message, for deletes.

importedboolean

Set when a bridge imported the message from earlier history. Clients show it without marking the channel unread.

#reactionEventOBJECT

A reaction was added or removed in a subscribed channel.

eventstringrequiredknowncreate | delete

What happened.

channelstringrequiredformatspace-ref

The channel it happened in.

targetbeta.defs#recordRefrequired

The message reacted to.

uristringformatat-uri

The record URI of the message reacted to.

The reaction record itself.

emojistringrequired

The emoji or custom shortcode.

The emoji record behind a custom shortcode.

actorstringrequiredformatdid

Who reacted.

Present when someone on another service reacted through a bridge. The actor is then the community that wrote the reaction.

#channelEventOBJECT

A channel was created, changed, or deleted.

eventstringrequiredknowncreate | update | delete

What happened.

communitystringrequiredformatdid

The community it belongs to.

The channel. Absent on delete.

spacestringformatspace-ref

Which channel, for deletes.

#threadEventOBJECT

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.

eventstringrequiredknowncreate | update | delete | activity

What happened. `activity` means someone posted, which moves the thread's last activity and nothing else.

communitystringrequiredformatdid

The community it belongs to.

channelstringformatspace-ref

The channel the thread belongs to.

The thread. Absent on delete and on activity.

spacestringformatspace-ref

Which thread, for deletes and for activity.

lastActivityAtstringformatdatetime

The thread's new last activity, on activity events.

#categoryEventOBJECT

A category was created, changed, or deleted.

eventstringrequiredknowncreate | update | delete

What happened.

communitystringrequiredformatdid

The community it belongs to.

The category. Absent on delete.

rkeystringformatrecord-key

Which category, for deletes.

#roleEventOBJECT

A role was created, changed, or deleted.

eventstringrequiredknowncreate | update | delete

What happened.

communitystringrequiredformatdid

The community it belongs to.

The role. Absent on delete.

rkeystringformatrecord-key

Which role, for deletes.

#memberEventOBJECT

Someone joined, left, or had their roles changed.

eventstringrequiredknownjoin | leave | update

What happened. A kick or a ban arrives as a leave.

communitystringrequiredformatdid

The community.

The member. Absent on leave.

subjectstringformatdid

Who, for leaves.

#communityEventOBJECT

A community's profile or settings changed.

eventstringrequiredknownupdate | delete

What happened.

communitystringrequiredformatdid

The community.

The community. Absent on delete.

#applicationEventOBJECT

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

eventstringrequiredknowncreate | approve | dismiss | undismiss

What happened.

communitystringrequiredformatdid

The community.

subjectstringrequiredformatdid

The applicant.

The application. Absent on approve.

#invitationEventOBJECT

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

eventstringrequiredknowncreate | delete

What happened.

communitystringrequiredformatdid

The community.

codestringrequired

The invitation code that was created or deleted.

#emojiEventOBJECT

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.

ownerstringrequiredformatdid

The community whose catalog changed.

catalogemoji.defs#catalogViewrequired

The catalog after the change.

#emojiLibraryEventOBJECT

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.

libraryemoji.defs#libraryViewrequired

The user's whole library after the change.

#labelEventOBJECT

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

eventstringrequiredknowncreate | negate

What happened.

spacestringrequiredformatspace-ref

The space the labelled record lives in.

subjectbeta.label#subjectrequired

The labelled record.

valstringrequired

The label value.

srcstringrequiredformatdid

The labeler.

#moderationEventOBJECT

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

communitystringrequiredformatdid

The community.

The log entry.

#notificationEventOBJECT

A notification was raised for the connected user.

The notification.

#seenEventOBJECT

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

unreadintegerrequired

The user's remaining unread count.

channelstringformatspace-ref

The channel that was marked seen, when it was a single channel.

The message whose notifications were marked seen, when it was a single message.

seenAtstringformatdatetime

The point everything was marked seen up to.

clearedAtstringformatdatetime

Set when the user cleared their inbox. Notifications raised at or before this time are gone from it.

#readCursorEventOBJECT

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.

communitystringrequiredformatdid

The community the cursors belong to.

cursorsarray<channel.read#cursor>required

The cursors that changed.

#presenceEventOBJECT

Someone's presence changed.

didstringrequiredformatdid

Whose presence changed.

presenceactor.defs#presencerequired

Their new presence.

#preferencesEventOBJECT

The connected user changed their own preferences somewhere else.

preferencesactor.defs#preferencesrequired

Their preferences as they now stand.

#typingEventOBJECT

Someone is typing in a subscribed channel.

didstringrequiredformatdid

Who is typing.

channelstringrequiredformatspace-ref

Where.

#voiceEventOBJECT

A voice channel's participants changed.

eventstringrequiredknownjoin | leave | update | speaking

What happened.

channelstringrequiredformatspace-ref

The voice channel.

didstringrequiredformatdid

Who.

Their voice state. Absent on leave.

speakingboolean

Whether they are currently speaking, on speaking events.

#communityProgressEventOBJECT

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

stepstringrequiredknowncreatingAccount | creatingSpaces | writingProfile | creatingOwnerRole | creatingStarterChannels | readingLegacyRepo | writingSettings | migratingRoles | migratingMembers | migratingBans | migratingChannels | migratingCategories | mirroringMessages | retiringLegacyCommunity | done | failed

What the AppView is doing now.

completedintegerrequired

Steps finished.

totalintegerrequired

Steps in total.

communitystringformatdid

The community, once its account exists.

messagestring

Human-readable detail, set on failure.

#bridgeEventOBJECT

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

eventstringrequiredknownupdate | delete

What happened.

communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

#bridgeUpdateEventOBJECT

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.

eventstringrequiredknownrooms | backfill

What the bridge reported.

communitystringrequiredformatdid

The community the registration belongs to.

registrationstringrequiredformattid

Record key of the registration.

channelstringformatspace-ref

The linked channel being filled, on backfill events.

#drainNoticeOBJECT

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.

deadlinestringrequiredformatdatetime

When the node closes its remaining connections.

reasonstringknownupdate | maintenance | retire

Why the node goes offline.

#writeStateOBJECT

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

modestringrequiredknownnormal | queued | readOnly

'normal' accepts writes. 'queued' accepts writes and applies them once the network can take them again. 'readOnly' rejects writes with a ReadOnly error.

social.colibri.beta.thread.defs

lexicon v1
#threadViewOBJECT

A thread as the AppView serves it. The thread's identity is its space.

spacestringrequiredformatspace-ref

The thread's space, which is its identity.

channelstringrequiredformatspace-ref

The channel the thread belongs to.

communitystringrequiredformatdid

The community the thread's channel belongs to.

namestringrequired

The thread's title.

The message the thread was opened from. Absent on a thread opened from scratch. Its space stays where the thread was opened even after the thread moves to another channel, which is what drops the thread's marker out of the old channel without losing the quoted message. A client draws the thread's marker in the channel river only where the anchor's space is the channel being read.

The anchor message itself, for opening a thread without having read its channel. Served by getThread rather than by listThreads.

createdBystringrequiredformatdid

Who opened the thread.

createdAtstringrequiredformatdatetime

When the thread was opened.

lastActivityAtstringrequiredformatdatetime

When the thread was last written to. This is what drives the activity age a client shows, since threads carry no presence roster of their own.

messageCountintegerrequired

How many messages the thread holds.

movedInCountinteger

How many of those messages were moved in from somewhere else.

The latest message in the thread the requesting user may see, reduced to what a thread list preview shows. Its channel is the thread's space. Absent when the thread holds no message the user may see.

participantsarray<string>required

Who has posted, most recently active first, capped at a handful.

privateboolean

Whether the thread restricts who may read it beyond who may read its channel.

visibleToRolesarray<string>

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

visibleToMembersarray<string>

Members that may read this thread beyond visibleToRoles.

closedAtstringformatdatetime

When the thread was closed. Absent on an open thread.

lockedboolean

Whether only members who may manage threads can write in this thread.

The requesting user's relationship to this thread.

#threadViewerStateOBJECT

The requesting user's access and unread state for a thread.

canReadbooleanrequired

Whether the user may read this thread.

canPostbooleanrequired

Whether the user may post in this thread.

canManagebooleanrequired

Whether the user moderates threads in this community, and so may rename, close, lock, move or delete any thread.

canEditbooleanrequired

Whether the user may rename this thread.

canClosebooleanrequired

Whether the user may close or reopen this thread.

canDeletebooleanrequired

Whether the user may delete this thread.

canLockbooleanrequired

Whether the user may lock or unlock this thread.

followingbooleanrequired

Whether the user follows this thread.

mutedbooleanrequired

Whether the user has muted this thread.

hasUnreadbooleanrequired

Whether anything in the thread is unread.

unreadMentionsintegerrequired

How many unread messages in the thread mention the user.

cursorstringformattid

The user's read cursor in this thread.

social.colibri.beta.voice.defs

lexicon v1
#rtpCapabilitiesOBJECT

The RTP capabilities a WebRTC endpoint supports.

payloadunknown

The opaque mediasoup capability blob.

#transportOptionsOBJECT

Parameters for creating one side of a WebRTC transport.

idstringrequired

The transport's identifier.

iceParametersunknownrequired

The opaque mediasoup ICE parameters blob.

iceCandidatesarray<unknown>required

The mediasoup ICE candidates, one opaque blob per candidate. This is an array, not a single object, because that is what a WebRTC transport hands back.

dtlsParametersunknownrequired

The opaque mediasoup DTLS parameters blob.

directionstringknownsend | recv

Which side of the call this transport carries.

iceServersarray<unknown>

STUN and TURN servers the client should use while gathering candidates. Absent when the server has none configured.

#producerInfoOBJECT

A media producer available to consume.

producerIdstringrequired

The producer's identifier.

didstringrequiredformatdid

Who is producing this media.

kindstringrequiredknownaudio | video

The media kind.

pausedboolean

Whether the producer is currently paused.

sourcestringknownmicrophone | camera | screen

What the producer captures.

#consumerOptionsOBJECT

Parameters for consuming one producer.

idstringrequired

The consumer's identifier.

producerIdstringrequired

The producer being consumed.

kindstringrequiredknownaudio | video

The media kind.

rtpParametersunknownrequired

The opaque mediasoup RTP parameters blob.

#speakingUpdateOBJECT

A change in whether someone is currently speaking.

didstringrequiredformatdid

Who this update is about.

speakingbooleanrequired

Whether they are currently speaking.

levelinteger

An audio level in dBFS.

#joinOBJECT

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

channelstringrequiredformatspace-ref

The voice channel to join.

#leaveOBJECT

Leaves the voice channel this connection is joined to.

#getRtpCapabilitiesOBJECT

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

#createTransportOBJECT

Requests a new WebRTC transport for the joined channel.

directionstringrequiredknownsend | recv

Whether this transport will send or receive media.

#connectTransportOBJECT

Completes DTLS negotiation for a transport this connection created.

transportIdstringrequired

The transport to connect.

dtlsParametersunknownrequired

The opaque mediasoup DTLS parameters blob.

#produceOBJECT

Starts producing media on a send transport this connection created.

transportIdstringrequired

The send transport to produce on.

kindstringrequiredknownaudio | video

The media kind.

rtpParametersunknownrequired

The opaque mediasoup RTP parameters blob.

sourcestringrequiredknownmicrophone | camera | screen

What this producer captures.

#closeProducerOBJECT

Closes a producer this connection owns.

producerIdstringrequired

The producer to close.

#consumeOBJECT

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

transportIdstringrequired

The receive transport to consume on.

producerIdstringrequired

The producer to consume.

rtpCapabilitiesunknownrequired

This connection's opaque mediasoup RTP capabilities blob.

#resumeConsumerOBJECT

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

consumerIdstringrequired

The consumer to resume.

#setConsumerPreferenceOBJECT

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.

consumerIdstringrequired

The consumer to update.

spatialLayerintegerrequiredmin0

The highest spatial layer to receive, where 0 is the lowest resolution.

temporalLayerintegermin0

The highest temporal layer to receive. When absent, the server uses the highest one available.

pausedbooleanrequired

Whether the viewer wants this consumer paused, for example while its tile is off screen.

#setSelfStateOBJECT

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

mutedboolean

Whether the microphone is muted.

deafenedboolean

Whether incoming audio is silenced.

#setSpeakingOBJECT

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.

speakingbooleanrequired

Whether the user is currently speaking.

#heartbeatOBJECT

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

#ackOBJECT

Answers a heartbeat.

#errorOBJECT

Something the client sent could not be acted on.

errorstringrequiredknownInvalidFrame | NotJoined | ChannelNotFound | NotVoiceChannel | Forbidden | NotFound

Error name.

messagestring

Human-readable detail.

#joinedOBJECT

Confirms this connection has joined a voice channel.

channelstringrequiredformatspace-ref

The voice channel now joined.

nodeIdstring

The node hosting the call.

regionstring

The region of the node hosting the call.

permissionsarray<string>

The voice permissions this member holds in the channel: voice.speak, voice.listen, voice.camera, voice.screenshare and voice.chat. A member a moderator moved into a channel they can't otherwise join never holds voice.chat.

#peerJoinedOBJECT

Another peer joined the voice channel this connection is in.

didstringrequiredformatdid

Who joined.

#peerLeftOBJECT

A peer left the voice channel this connection is in.

didstringrequiredformatdid

Who left.

#producerRemovedOBJECT

A peer's producer closed.

producerIdstringrequired

The producer that closed.

didstringrequiredformatdid

Whose producer this was.

#codecUnsupportedOBJECT

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.

producerIdstringrequired

The screen share producer a viewer couldn't consume.

#disconnectedOBJECT

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

reasonstringknownmoderator | superseded | channelGone | forbidden | nodeClosed | migrated

Why it happened. 'nodeClosed' means the node hosting the call shut down before the call could move. 'migrated' means the call moved to another node and this connection is no longer needed.

#movedOBJECT

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.

channelstringrequiredformatspace-ref

The voice channel to join.

The destination channel as this client sees it, so a client that can't read the channel can still show it in its channel list for the length of the call.

afterstringformatspace-ref

The nearest channel before the destination in its category's channel order that this client can read. Absent when there is none, which places the destination first in its category.

#permissionsChangedOBJECT

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

channelstringrequiredformatspace-ref

The voice channel the permissions apply to.

permissionsarray<string>required

The voice permissions this member now holds in the channel, with the same meaning as in joined.

#moderationChangedOBJECT

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

didstringrequiredformatdid

Whose state changed.

mutedbooleanrequired

Whether the microphone is muted, for any reason.

deafenedbooleanrequired

Whether incoming audio is silenced, for any reason.

serverMutedboolean

Whether a moderator muted them or they lack the voice.speak permission in this channel. When this is true the peer cannot unmute themselves.

serverDeafenedboolean

Whether a moderator deafened them or they lack the voice.listen permission in this channel. When this is true the peer cannot undeafen themselves.

#migrationCandidateOBJECT

A voice node a call can move to.

nodeIdstringrequired

Stable node identifier.

regionstringrequired

Region name.

signalingUrlstringrequiredformaturi

Base URL for voice signaling on that node.

probeUrlstringrequiredformaturi

A cheap URL to measure the round trip to that node.

#migrationProposalOBJECT

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

candidatesarray<voice.defs#migrationCandidate>required

Voice nodes the call can move to.

deadlinestringrequiredformatdatetime

When the call moves without further notice.

#rttReportOBJECT

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

resultsarray<voice.defs#rttResult>required

One result per candidate.

#rttResultOBJECT

One measured round trip.

nodeIdstringrequired

The candidate measured.

rttMsintegermin0

Round trip in milliseconds. Absent when the node could not be reached.

#migrateToOBJECT

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

nodeIdstringrequired

The node the call moves to.

signalingUrlstringrequiredformaturi

Base URL for voice signaling on that node.

channelstringrequiredformatspace-ref

The voice channel.

nowboolean

True when a participant asked to move right away.

#moveNowOBJECT

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

#callElsewhereOBJECT

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

nodeIdstringrequired

The node hosting the call.

signalingUrlstringrequiredformaturi

Base URL for voice signaling on that node.

channelstringrequiredformatspace-ref

The voice channel.

Read-only GET endpoints served by the AppView.

social.colibri.beta.actor.getDeletionStatus

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.listCommunities

lexicon v1
mainQUERY

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.blob.get

lexicon v1
mainQUERY

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.

social.colibri.beta.bridge.getConfiguration

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.

#memberRoleOBJECT

A role an account holds.

rkeystringrequiredformatrecord-key

The role's record key.

namestringrequired

Display name.

positionintegerrequired

Hierarchy position. Higher outranks lower.

social.colibri.beta.bridge.getPairing

lexicon v1
mainQUERY

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.listChannels

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.channel.getChannel

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.

social.colibri.beta.channel.listReactions

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.community.getCommunity

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.

#hostingViewOBJECT

Where a community's account lives and whether the AppView can act for it.

kindstringrequiredknowncolibri | own

colibri when the account lives on this AppView's server and the AppView holds its password. own when the account belongs to the community's owner and the AppView acts through a sign-in.

accountstringrequired

The account's handle, or its DID when it has none.

serverstringrequiredformaturi

The server the account lives on, as the AppView last reached it.

connectedBystringformatdid

The user who signed in as the account, for kind own.

connectedAtstringformatdatetime

When the AppView was last connected to the account.

needsSignInbooleanrequired

Whether the AppView lost access and needs the owner to sign in again. New writes fail until then.

needsSignInSincestringformatdatetime

When the AppView lost access.

handOverExpiresAtstringformatdatetime

When the password from handOverHost stops working, while a hand-over is active.

social.colibri.beta.community.getInvitation

lexicon v1
mainQUERY

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.listApplications

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.embed.getImage

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.emoji.getCatalog

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.notification.getUnreadCount

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.polyfill.getBlob

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.server.describeServer

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.

#nodeViewOBJECT

A node that accepts clients.

idstringrequired

Stable node identifier.

regionstringrequired

Region name, such as 'eu-north' or 'us-east'.

rolesarray<string>required

What the node serves.

endpointstringrequiredformaturi

Base URL of the node. Event sockets, voice signaling, blobs and embeds use it.

probeUrlstringrequiredformaturi

A cheap URL to measure the round trip to this node.

social.colibri.beta.thread.getThread

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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

lexicon v1
mainQUERY

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.

Mutating POST endpoints served by the AppView.

social.colibri.beta.actor.deleteAccount

lexicon v1
mainPROCEDURE

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.grantSpaceAccess

lexicon v1
mainPROCEDURE

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.putBlocks

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.

social.colibri.beta.bridge.addReaction

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.hideMessage

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.

#importedMessageOBJECT

A message from the room's earlier history.

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.

remoteMessagestringrequiredmaxLength256

The message's id on the other service.

createdAtstringrequiredformatdatetime

When the message was sent on the other service.

#importResultOBJECT

Where an imported message was written.

remoteMessagestringrequiredmaxLength256

The message's id on the other service.

rkeystringrequiredformatrecord-key

Record key of the record the community wrote.

social.colibri.beta.bridge.install

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.postMessage

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.

social.colibri.beta.category.create

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.

social.colibri.beta.channel.create

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.putReadCursors

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.

social.colibri.beta.community.adopt

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.handOverHost

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.migrate

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.

social.colibri.beta.emoji.createPack

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.putFollow

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.

social.colibri.beta.notification.clear

lexicon v1
mainPROCEDURE

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.markReadFromNotification

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.

social.colibri.beta.polyfill.applyWrites

lexicon v1
mainPROCEDURE

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.

#createOBJECT

Creates a record.

collectionstringrequiredformatnsid

The record's collection.

rkeystringformatrecord-key

Defaults to a new TID.

valueunknownrequired

The record itself.

#updateOBJECT

Replaces a record.

collectionstringrequiredformatnsid

The record's collection.

rkeystringrequiredformatrecord-key

The record key.

valueunknownrequired

The record itself.

#deleteOBJECT

Deletes a record.

collectionstringrequiredformatnsid

The record's collection.

rkeystringrequiredformatrecord-key

The record key.

#createResultOBJECT

The outcome of a create.

uristringrequiredformatat-uri

The record's URI, the same one it keeps after a migration.

cidstringrequiredformatcid

The CID of the record or blob.

#updateResultOBJECT

The outcome of an update.

uristringrequiredformatat-uri

The record's URI, the same one it keeps after a migration.

cidstringrequiredformatcid

The CID of the record or blob.

#deleteResultOBJECT

The outcome of a delete.

social.colibri.beta.polyfill.beginMigration

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.uploadBlob

lexicon v1
mainPROCEDURE

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.

social.colibri.beta.role.create

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.

social.colibri.beta.thread.create

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.moveMessages

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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

lexicon v1
mainPROCEDURE

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.

social.colibri.beta.voice.moderate

lexicon v1
mainPROCEDURE

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.

The scopes a client can request. These are expressed over ATproto spaces, so a consent screen can describe access in terms of a Space’s channels.

social.colibri.beta.permissionAccount

lexicon v1
mainPERMISSION-SETYour Colibri account

Read and change your Colibri profile, settings, mutes, blocks, notification levels, read state and the emoji you follow.

spacereadcreateupdatedelete
  • social.colibri.beta.actor.block
  • social.colibri.beta.actor.clientPreferences
  • social.colibri.beta.actor.composerState
  • social.colibri.beta.actor.mute
  • social.colibri.beta.actor.settings
  • social.colibri.beta.actor.spaceModeration
  • social.colibri.beta.actor.spaceNotification
  • social.colibri.beta.channel.read
  • social.colibri.beta.emoji.follow
repocreateupdatedelete
  • social.colibri.beta.actor.profile
rpcinheritAud
  • social.colibri.beta.actor.getProfile
  • social.colibri.beta.actor.getPreferences
  • social.colibri.beta.actor.putSettings
  • social.colibri.beta.actor.putMutes
  • social.colibri.beta.actor.putBlocks
  • social.colibri.beta.actor.putSpaceNotification
  • social.colibri.beta.actor.putSpaceModeration
  • social.colibri.beta.actor.grantSpaceAccess
  • social.colibri.beta.actor.listCommunities
  • social.colibri.beta.actor.setStatus
  • social.colibri.beta.actor.getDeletionStatus
  • social.colibri.beta.actor.deleteAccount
  • social.colibri.beta.emoji.getLibrary
  • social.colibri.beta.emoji.putFollow
  • social.colibri.beta.server.describeServer
  • social.colibri.beta.server.listNodes
  • social.colibri.beta.blob.get
  • social.colibri.beta.polyfill.getStatus
  • social.colibri.beta.polyfill.applyWrites
  • social.colibri.beta.polyfill.getRecord
  • social.colibri.beta.polyfill.listRecords
  • social.colibri.beta.polyfill.uploadBlob
  • social.colibri.beta.polyfill.getBlob
  • social.colibri.beta.polyfill.beginMigration
  • social.colibri.beta.polyfill.listForMigration
  • social.colibri.beta.polyfill.completeMigration

social.colibri.beta.permissionBridge

lexicon v1
mainPERMISSION-SETColibri bridge

Relay messages and reactions between Colibri communities and another chat service, in the channels community admins link or open.

rpcinheritAud
  • social.colibri.beta.bridge.createPairing
  • social.colibri.beta.bridge.getConfiguration
  • social.colibri.beta.bridge.putRemoteRooms
  • social.colibri.beta.bridge.listChannels
  • social.colibri.beta.bridge.getMember
  • social.colibri.beta.bridge.uploadBlob
  • social.colibri.beta.bridge.postMessage
  • social.colibri.beta.bridge.editMessage
  • social.colibri.beta.bridge.deleteMessage
  • social.colibri.beta.bridge.addReaction
  • social.colibri.beta.bridge.removeReaction
  • social.colibri.beta.bridge.createThread
  • social.colibri.beta.bridge.updateThread
  • social.colibri.beta.bridge.deleteThread
  • social.colibri.beta.bridge.hideMessage
  • social.colibri.beta.bridge.importMessages
  • social.colibri.beta.bridge.reportBackfill
  • social.colibri.beta.bridge.replaceAvatar
  • social.colibri.beta.bridge.leave
  • social.colibri.beta.channel.listMessages
  • social.colibri.beta.channel.getChannel
  • social.colibri.beta.thread.listThreads
  • social.colibri.beta.thread.getThread
  • social.colibri.beta.blob.get

social.colibri.beta.permissionCommunity

lexicon v1
mainPERMISSION-SETManage Colibri communities

Create and administer Colibri communities, including their channels, roles, members and moderation.

spaceread
spaceread
spaceread
spaceread
spaceread
spaceread
spaceread
rpcinheritAud
  • social.colibri.beta.community.create
  • social.colibri.beta.community.adopt
  • social.colibri.beta.community.update
  • social.colibri.beta.community.putImage
  • social.colibri.beta.community.deleteImage
  • social.colibri.beta.community.delete
  • social.colibri.beta.community.listMigratable
  • social.colibri.beta.community.migrate
  • social.colibri.beta.community.registerCredentials
  • social.colibri.beta.community.authorizeHost
  • social.colibri.beta.community.getHostAuthorization
  • social.colibri.beta.community.getHosting
  • social.colibri.beta.community.handOverHost
  • social.colibri.beta.community.setMemberRoles
  • social.colibri.beta.community.transferOwnership
  • social.colibri.beta.community.reorderCategories
  • social.colibri.beta.community.createInvitation
  • social.colibri.beta.community.listInvitations
  • social.colibri.beta.community.deleteInvitation
  • social.colibri.beta.community.kick
  • social.colibri.beta.community.ban
  • social.colibri.beta.community.unban
  • social.colibri.beta.community.listBans
  • social.colibri.beta.community.listApplications
  • social.colibri.beta.community.approveApplication
  • social.colibri.beta.community.dismissApplication
  • social.colibri.beta.community.undismissApplication
  • social.colibri.beta.community.listModerationLog
  • social.colibri.beta.community.applyLabel
  • social.colibri.beta.community.negateLabel
  • social.colibri.beta.category.create
  • social.colibri.beta.category.update
  • social.colibri.beta.category.delete
  • social.colibri.beta.channel.create
  • social.colibri.beta.channel.update
  • social.colibri.beta.channel.delete
  • social.colibri.beta.channel.reorder
  • social.colibri.beta.role.create
  • social.colibri.beta.role.update
  • social.colibri.beta.role.delete
  • social.colibri.beta.role.putBadgeImage
  • social.colibri.beta.emoji.getCatalog
  • social.colibri.beta.emoji.getEmojis
  • social.colibri.beta.emoji.upload
  • social.colibri.beta.emoji.rename
  • social.colibri.beta.emoji.delete
  • social.colibri.beta.emoji.createPack
  • social.colibri.beta.emoji.updatePack
  • social.colibri.beta.emoji.deletePack
  • social.colibri.beta.voice.moderate
  • social.colibri.beta.thread.delete
  • social.colibri.beta.thread.repoint
  • social.colibri.beta.thread.moveMessages
  • social.colibri.beta.bridge.getPairing
  • social.colibri.beta.bridge.redeemPairing
  • social.colibri.beta.bridge.install
  • social.colibri.beta.bridge.listRegistrations
  • social.colibri.beta.bridge.update
  • social.colibri.beta.bridge.revoke
  • social.colibri.beta.bridge.listRemoteRooms
blob

social.colibri.beta.permissionMessaging

lexicon v1
mainPERMISSION-SETColibri messages

Read and post in the Colibri communities you belong to.

spacereadcreateupdatedelete
  • social.colibri.beta.message
  • social.colibri.beta.reaction
spacereadcreateupdatedelete
  • social.colibri.beta.message
  • social.colibri.beta.reaction
  • social.colibri.beta.thread.follow
spacereadcreateupdatedelete
  • social.colibri.beta.message
  • social.colibri.beta.reaction
spaceread
spaceread
spaceread
rpcinheritAud
  • social.colibri.beta.community.getCommunity
  • social.colibri.beta.community.join
  • social.colibri.beta.community.leave
  • social.colibri.beta.community.listCategories
  • social.colibri.beta.community.listChannels
  • social.colibri.beta.community.listMembers
  • social.colibri.beta.community.listRoles
  • social.colibri.beta.community.getInvitation
  • social.colibri.beta.channel.getChannel
  • social.colibri.beta.channel.listMessages
  • social.colibri.beta.channel.listReactions
  • social.colibri.beta.channel.listUnreadStatus
  • social.colibri.beta.channel.listSummaries
  • social.colibri.beta.channel.putReadCursors
  • social.colibri.beta.embed.getMetadata
  • social.colibri.beta.embed.searchGifs
  • social.colibri.beta.embed.trendingGifs
  • social.colibri.beta.embed.gifCategories
  • social.colibri.beta.embed.getImage
  • social.colibri.beta.embed.getVideo
  • social.colibri.beta.blob.get
  • social.colibri.beta.sync.subscribeEvents
  • social.colibri.beta.voice.subscribeSignals
  • social.colibri.beta.thread.create
  • social.colibri.beta.thread.update
  • social.colibri.beta.thread.getThread
  • social.colibri.beta.thread.listMembers
  • social.colibri.beta.thread.listThreads
blob

social.colibri.beta.permissionNotification

lexicon v1
mainPERMISSION-SETColibri notifications

Read your Colibri notifications and mark them as seen.

rpcinheritAud
  • social.colibri.beta.notification.listNotifications
  • social.colibri.beta.notification.getUnreadCount
  • social.colibri.beta.notification.getUnseen
  • social.colibri.beta.notification.updateSeen
  • social.colibri.beta.notification.updateSeenForMessage
  • social.colibri.beta.notification.clear

social.colibri.beta.permissionPush

lexicon v1
mainPERMISSION-SETColibri push notifications

Send push notifications to this device when Colibri is closed.

rpcinheritAud
  • social.colibri.beta.notification.registerPush
  • social.colibri.beta.notification.unregisterPush
  • social.colibri.beta.notification.markReadFromNotification