social.colibri.community.migrate

Migrates a source record into a fresh community, cloning its structure and importing its members. The 'kind' discriminator selects the migration; today only legacy communities are supported, but the endpoint is designed to host future migrations. Provisioning mirrors community.create (managed when no PDS credentials are supplied, bring-your-own otherwise).

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 not from the namespace authority
Details · procedure
Kindprocedure
Authoritycommunity.colibri.social
Indexed

Procedure

procedure · POST

Parameters

query string

Bring-your-own DID or handle.

kind

requiredstring

The migration to run. 'legacy-community' migrates a pre-rework community record.

  • knownValues: legacy-community

name

string

password

string

Bring-your-own account password.

pds

string

Bring-your-own PDS endpoint.

source

requiredstring · at-uri

The record being migrated (e.g. the legacy community).

Input

multipart/form-data

Output

application/json

channelMap

requiredarray

Maps each cloned channel from its old AT-URI to its new AT-URI.

itemsref
Reference
  • lex:social.colibri.community.migrate#channelMapping

community

requiredstring · at-uri

did

requiredstring · did

Errors

AuthRequired

Missing, malformed, or unverifiable service auth.

Forbidden

The caller lacks the permission this method requires.

InvalidRequest

A parameter or body field was missing or malformed.

NotFound

The referenced record does not exist.

UpstreamFailure

A service outside this AppView failed.

#channelMapping

object

A single channel's old AT-URI mapped to its new AT-URI.

Properties

new

requiredstring · at-uri

old

requiredstring · at-uri

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • 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 atte

  • social.colibri.community.create

    procedure not from the namespace authority

    Creates a community, bootstrapping its DID repo with a default category, channel, owner role, and member record.

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