Answers a heartbeat.
This object has no properties defined.
View raw schema
{
"type": "object",
"required": [],
"properties": {},
"description": "Answers a heartbeat."
}
Answers a heartbeat.
This object has no properties defined.
{
"type": "object",
"required": [],
"properties": {},
"description": "Answers a heartbeat."
}
The pending-application queue changed. Only sent to members who can manage approvals.
application
ref
social.colibri.beta.community.defs#applicationView
Optional
The application. Absent on approve.
community
string
did
Required
The community.
event
string
Required
What happened.
create, approve, dismiss, undismisssubject
string
did
Required
The applicant.
{
"type": "object",
"required": [
"event",
"community",
"subject"
],
"properties": {
"event": {
"type": "string",
"description": "What happened.",
"knownValues": [
"create",
"approve",
"dismiss",
"undismiss"
]
},
"subject": {
"type": "string",
"format": "did",
"description": "The applicant."
},
"community": {
"type": "string",
"format": "did",
"description": "The community."
},
"application": {
"ref": "social.colibri.beta.community.defs#applicationView",
"type": "ref",
"description": "The application. Absent on approve."
}
},
"description": "The pending-application queue changed. Only sent to members who can manage approvals."
}
A category was created, changed, or deleted.
category
ref
social.colibri.beta.community.defs#categoryView
Optional
The category. Absent on delete.
community
string
did
Required
The community it belongs to.
event
string
Required
What happened.
create, update, deleterkey
string
record-key
Optional
Which category, for deletes.
{
"type": "object",
"required": [
"event",
"community"
],
"properties": {
"rkey": {
"type": "string",
"format": "record-key",
"description": "Which category, for deletes."
},
"event": {
"type": "string",
"description": "What happened.",
"knownValues": [
"create",
"update",
"delete"
]
},
"category": {
"ref": "social.colibri.beta.community.defs#categoryView",
"type": "ref",
"description": "The category. Absent on delete."
},
"community": {
"type": "string",
"format": "did",
"description": "The community it belongs to."
}
},
"description": "A category was created, changed, or deleted."
}
A channel was created, changed, or deleted.
channel
ref
social.colibri.beta.community.defs#channelView
Optional
The channel. Absent on delete.
community
string
did
Required
The community it belongs to.
event
string
Required
What happened.
create, update, deletespace
string
space-ref
Optional
Which channel, for deletes.
{
"type": "object",
"required": [
"event",
"community"
],
"properties": {
"event": {
"type": "string",
"description": "What happened.",
"knownValues": [
"create",
"update",
"delete"
]
},
"space": {
"type": "string",
"format": "space-ref",
"description": "Which channel, for deletes."
},
"channel": {
"ref": "social.colibri.beta.community.defs#channelView",
"type": "ref",
"description": "The channel. Absent on delete."
},
"community": {
"type": "string",
"format": "did",
"description": "The community it belongs to."
}
},
"description": "A channel was created, changed, or deleted."
}
A community's profile or settings changed.
community
string
did
Required
The community.
event
string
Required
What happened.
update, deleteview
ref
social.colibri.beta.community.defs#communityView
Optional
The community. Absent on delete.
{
"type": "object",
"required": [
"event",
"community"
],
"properties": {
"view": {
"ref": "social.colibri.beta.community.defs#communityView",
"type": "ref",
"description": "The community. Absent on delete."
},
"event": {
"type": "string",
"description": "What happened.",
"knownValues": [
"update",
"delete"
]
},
"community": {
"type": "string",
"format": "did",
"description": "The community."
}
},
"description": "A community's profile or settings changed."
}
Progress while a community is being created, which takes several PDS round-trips.
community
string
did
Optional
The community, once its account exists.
completed
integer
Required
Steps finished.
message
string
Optional
Human-readable detail, set on failure.
step
string
Required
What the AppView is doing now.
creatingAccount, creatingSpaces, writingProfile, creatingOwnerRole, creatingStarterChannels, done, failedtotal
integer
Required
Steps in total.
{
"type": "object",
"required": [
"step",
"completed",
"total"
],
"properties": {
"step": {
"type": "string",
"description": "What the AppView is doing now.",
"knownValues": [
"creatingAccount",
"creatingSpaces",
"writingProfile",
"creatingOwnerRole",
"creatingStarterChannels",
"done",
"failed"
]
},
"total": {
"type": "integer",
"description": "Steps in total."
},
"message": {
"type": "string",
"description": "Human-readable detail, set on failure."
},
"community": {
"type": "string",
"format": "did",
"description": "The community, once its account exists."
},
"completed": {
"type": "integer",
"description": "Steps finished."
}
},
"description": "Progress while a community is being created, which takes several PDS round-trips."
}
Something the client sent could not be acted on.
{
"type": "object",
"required": [
"error"
],
"properties": {
"error": {
"type": "string",
"description": "Error name.",
"knownValues": [
"InvalidFrame",
"Forbidden",
"NotFound",
"RateLimited"
]
},
"message": {
"type": "string",
"description": "Human-readable detail."
}
},
"description": "Something the client sent could not be acted on."
}
Keeps the connection alive and tells the AppView the user is still present. The server answers with an ack.
This object has no properties defined.
{
"type": "object",
"required": [],
"properties": {},
"description": "Keeps the connection alive and tells the AppView the user is still present. The server answers with an ack."
}
A label was applied or retracted on a record in a subscribed space.
event
string
Required
What happened.
create, negatespace
string
space-ref
Required
The space the labelled record lives in.
src
string
did
Required
The labeler.
subject
ref
social.colibri.beta.label#subject
Required
The labelled record.
val
string
Required
The label value.
{
"type": "object",
"required": [
"event",
"space",
"subject",
"val",
"src"
],
"properties": {
"src": {
"type": "string",
"format": "did",
"description": "The labeler."
},
"val": {
"type": "string",
"description": "The label value."
},
"event": {
"type": "string",
"description": "What happened.",
"knownValues": [
"create",
"negate"
]
},
"space": {
"type": "string",
"format": "space-ref",
"description": "The space the labelled record lives in."
},
"subject": {
"ref": "social.colibri.beta.label#subject",
"type": "ref",
"description": "The labelled record."
}
},
"description": "A label was applied or retracted on a record in a subscribed space."
}
Someone joined, left, or had their roles changed.
community
string
did
Required
The community.
event
string
Required
What happened. A kick or a ban arrives as a leave.
join, leave, updatemember
ref
social.colibri.beta.community.defs#memberView
Optional
The member. Absent on leave.
subject
string
did
Optional
Who, for leaves.
{
"type": "object",
"required": [
"event",
"community"
],
"properties": {
"event": {
"type": "string",
"description": "What happened. A kick or a ban arrives as a leave.",
"knownValues": [
"join",
"leave",
"update"
]
},
"member": {
"ref": "social.colibri.beta.community.defs#memberView",
"type": "ref",
"description": "The member. Absent on leave."
},
"subject": {
"type": "string",
"format": "did",
"description": "Who, for leaves."
},
"community": {
"type": "string",
"format": "did",
"description": "The community."
}
},
"description": "Someone joined, left, or had their roles changed."
}
A message was written, edited, or deleted in a subscribed channel.
channel
string
space-ref
Required
The channel it happened in.
event
string
Required
What happened.
create, update, deletemessage
ref
social.colibri.beta.channel.defs#messageView
Optional
The message. Absent on delete, where the reference alone identifies it.
subject
ref
social.colibri.beta.defs#recordRef
Optional
Which message, for deletes.
{
"type": "object",
"required": [
"event",
"channel"
],
"properties": {
"event": {
"type": "string",
"description": "What happened.",
"knownValues": [
"create",
"update",
"delete"
]
},
"channel": {
"type": "string",
"format": "space-ref",
"description": "The channel it happened in."
},
"message": {
"ref": "social.colibri.beta.channel.defs#messageView",
"type": "ref",
"description": "The message. Absent on delete, where the reference alone identifies it."
},
"subject": {
"ref": "social.colibri.beta.defs#recordRef",
"type": "ref",
"description": "Which message, for deletes."
}
},
"description": "A message was written, edited, or deleted in a subscribed channel."
}
A moderation action was logged. Only sent to members who can read the log.
community
string
did
Required
The community.
entry
ref
social.colibri.beta.community.defs#moderationView
Required
The log entry.
{
"type": "object",
"required": [
"community",
"entry"
],
"properties": {
"entry": {
"ref": "social.colibri.beta.community.defs#moderationView",
"type": "ref",
"description": "The log entry."
},
"community": {
"type": "string",
"format": "did",
"description": "The community."
}
},
"description": "A moderation action was logged. Only sent to members who can read the log."
}
A notification was raised for the connected user.
notification
ref
social.colibri.beta.notification.defs#notificationView
Required
The notification.
{
"type": "object",
"required": [
"notification"
],
"properties": {
"notification": {
"ref": "social.colibri.beta.notification.defs#notificationView",
"type": "ref",
"description": "The notification."
}
},
"description": "A notification was raised for the connected user."
}
The connected user changed their own preferences somewhere else.
preferences
ref
social.colibri.beta.actor.defs#preferences
Required
Their preferences as they now stand.
{
"type": "object",
"required": [
"preferences"
],
"properties": {
"preferences": {
"ref": "social.colibri.beta.actor.defs#preferences",
"type": "ref",
"description": "Their preferences as they now stand."
}
},
"description": "The connected user changed their own preferences somewhere else."
}
Someone's presence changed.
did
string
did
Required
Whose presence changed.
presence
ref
social.colibri.beta.actor.defs#presence
Required
Their new presence.
{
"type": "object",
"required": [
"did",
"presence"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "Whose presence changed."
},
"presence": {
"ref": "social.colibri.beta.actor.defs#presence",
"type": "ref",
"description": "Their new presence."
}
},
"description": "Someone's presence changed."
}
A reaction was added or removed in a subscribed channel.
actor
string
did
Required
Who reacted.
channel
string
space-ref
Required
The channel it happened in.
emoji
string
Required
The emoji or custom shortcode.
event
string
Required
What happened.
create, deletetarget
ref
social.colibri.beta.defs#recordRef
Required
The message reacted to.
{
"type": "object",
"required": [
"event",
"channel",
"target",
"emoji",
"actor"
],
"properties": {
"actor": {
"type": "string",
"format": "did",
"description": "Who reacted."
},
"emoji": {
"type": "string",
"description": "The emoji or custom shortcode."
},
"event": {
"type": "string",
"description": "What happened.",
"knownValues": [
"create",
"delete"
]
},
"target": {
"ref": "social.colibri.beta.defs#recordRef",
"type": "ref",
"description": "The message reacted to."
},
"channel": {
"type": "string",
"format": "space-ref",
"description": "The channel it happened in."
}
},
"description": "A reaction was added or removed in a subscribed channel."
}
A role was created, changed, or deleted.
community
string
did
Required
The community it belongs to.
event
string
Required
What happened.
create, update, deleterkey
string
record-key
Optional
Which role, for deletes.
role
ref
social.colibri.beta.community.defs#roleView
Optional
The role. Absent on delete.
{
"type": "object",
"required": [
"event",
"community"
],
"properties": {
"rkey": {
"type": "string",
"format": "record-key",
"description": "Which role, for deletes."
},
"role": {
"ref": "social.colibri.beta.community.defs#roleView",
"type": "ref",
"description": "The role. Absent on delete."
},
"event": {
"type": "string",
"description": "What happened.",
"knownValues": [
"create",
"update",
"delete"
]
},
"community": {
"type": "string",
"format": "did",
"description": "The community it belongs to."
}
},
"description": "A role was created, changed, or deleted."
}
The connected user marked notifications seen somewhere else, so this client should clear the same badges.
{
"type": "object",
"required": [
"unread"
],
"properties": {
"seenAt": {
"type": "string",
"format": "datetime",
"description": "The point everything was marked seen up to."
},
"unread": {
"type": "integer",
"description": "The user's remaining unread count."
},
"channel": {
"type": "string",
"format": "space-ref",
"description": "The channel that was marked seen, when it was a single channel."
}
},
"description": "The connected user marked notifications seen somewhere else, so this client should clear the same badges."
}
Updates the user's own presence over the socket.
onlineState
string
Optional
Requested online state.
online, away, dnd, offlinevoice
ref
#voiceSelfState
Optional
The user's own voice state, when connected to a voice channel.
{
"type": "object",
"required": [],
"properties": {
"voice": {
"ref": "#voiceSelfState",
"type": "ref",
"description": "The user's own voice state, when connected to a voice channel."
},
"onlineState": {
"type": "string",
"description": "Requested online state.",
"knownValues": [
"online",
"away",
"dnd",
"offline"
]
}
},
"description": "Updates the user's own presence over the socket."
}
Adds communities and channels to what this connection receives. Subscription is explicit: a connection is sent nothing it did not ask for.
{
"type": "object",
"required": [],
"properties": {
"channels": {
"type": "array",
"items": {
"type": "string",
"format": "space-ref",
"description": "A channel."
},
"description": "Channels to start receiving messages for."
},
"communities": {
"type": "array",
"items": {
"type": "string",
"format": "did",
"description": "A community."
},
"description": "Communities to start receiving events for."
}
},
"description": "Adds communities and channels to what this connection receives. Subscription is explicit: a connection is sent nothing it did not ask for."
}
Confirms what this connection is now receiving, after a subscribe or unsubscribe. Anything the user is not entitled to read is silently absent.
{
"type": "object",
"required": [
"communities",
"channels"
],
"properties": {
"channels": {
"type": "array",
"items": {
"type": "string",
"format": "space-ref",
"description": "A channel."
},
"description": "Channels being received."
},
"communities": {
"type": "array",
"items": {
"type": "string",
"format": "did",
"description": "A community."
},
"description": "Communities being received."
}
},
"description": "Confirms what this connection is now receiving, after a subscribe or unsubscribe. Anything the user is not entitled to read is silently absent."
}
Reports that the user is typing in a channel.
{
"type": "object",
"required": [
"channel"
],
"properties": {
"channel": {
"type": "string",
"format": "space-ref",
"description": "The channel being typed in."
}
},
"description": "Reports that the user is typing in a channel."
}
Someone is typing in a subscribed channel.
{
"type": "object",
"required": [
"did",
"channel"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "Who is typing."
},
"channel": {
"type": "string",
"format": "space-ref",
"description": "Where."
}
},
"description": "Someone is typing in a subscribed channel."
}
Removes communities and channels from what this connection receives.
{
"type": "object",
"required": [],
"properties": {
"channels": {
"type": "array",
"items": {
"type": "string",
"format": "space-ref",
"description": "A channel."
},
"description": "Channels to stop receiving messages for."
},
"communities": {
"type": "array",
"items": {
"type": "string",
"format": "did",
"description": "A community."
},
"description": "Communities to stop receiving events for."
}
},
"description": "Removes communities and channels from what this connection receives."
}
Reports which channel the user is looking at, which drives read state and away detection. An absent channel means they are looking at none.
{
"type": "object",
"required": [],
"properties": {
"channel": {
"type": "string",
"format": "space-ref",
"description": "The channel now in view."
}
},
"description": "Reports which channel the user is looking at, which drives read state and away detection. An absent channel means they are looking at none."
}
A voice channel's participants changed.
channel
string
space-ref
Required
The voice channel.
did
string
did
Required
Who.
event
string
Required
What happened.
join, leave, update, speakingspeaking
boolean
Optional
Whether they are currently speaking, on speaking events.
voice
ref
social.colibri.beta.actor.defs#voiceState
Optional
Their voice state. Absent on leave.
{
"type": "object",
"required": [
"event",
"channel",
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did",
"description": "Who."
},
"event": {
"type": "string",
"description": "What happened.",
"knownValues": [
"join",
"leave",
"update",
"speaking"
]
},
"voice": {
"ref": "social.colibri.beta.actor.defs#voiceState",
"type": "ref",
"description": "Their voice state. Absent on leave."
},
"channel": {
"type": "string",
"format": "space-ref",
"description": "The voice channel."
},
"speaking": {
"type": "boolean",
"description": "Whether they are currently speaking, on speaking events."
}
},
"description": "A voice channel's participants changed."
}
A user's own voice state.
{
"type": "object",
"required": [
"channel"
],
"properties": {
"muted": {
"type": "boolean",
"description": "Whether the microphone is muted."
},
"channel": {
"type": "string",
"format": "space-ref",
"description": "The voice channel."
},
"deafened": {
"type": "boolean",
"description": "Whether the user has deafened themselves."
}
},
"description": "A user's own voice state."
}