fyi.opensocial.importAccountSpace

While an account's move here is pending (importAccount), bring one of its spaces, as its own server serves it: `meta`, a space it governs (com.atproto.space.exportSpaceMeta's archive), before any repo in it; `repo`, its own repo in a space it wrote in (com.atproto.space.getRepo's archive); or `blob`, one of its files in a space, before the repos that hold it. Only for whoever started the move, and only the account's own. A personalspace or memberspace policy is kept as this host's grants; one this host would not keep as it says is refused.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed

Showing version bafyreifhfra34xue3aegfxdzylzmupvr5bbcinhw2554iy4d5d4l72uzly. Show the latest

Procedure

procedure · POST

Parameters

query string

did

requiredstring · did

part

requiredstring
  • knownValues: meta | repo | blob

Input

*/*

Output

application/json

cid

string

A file's CID.

records

integer

How many of a repo's records were kept: one this host would not keep, not of its collection's type, is left out.

space

string

The space a meta archive or repo was for.

Errors

NotFound

No move of the account here by the caller, or a repo in a space of the account's whose meta has not come.

NotSpaceOwner

A space or repo that is not the account's.

InvalidArchive

An archive that is not whole, or not what its commit says.

UnsupportedPolicy

A space whose policy this host would not keep as it says: anyone writing, only some apps, or a managing app.

SpaceReserved

A space the group makes for itself as it is made.

TooLarge

More than this host takes in one part.

Similar lexicons

semantic match

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

  • Start moving the account the caller signed in to move (getAccountMove) here, to become a group they run: the host asks its server for its token for this host, copies it as importAccount does, brings its spaces as importAccountSpace takes them, and asks its server to email the code that lets its identity move (finishAccountMove). Started again, it starts over.

  • On the source host, for the destination of a move migratePrepare started: a part of the group nothing public serves whole. `meta` is what this host keeps of a space as its authority (whether anyone may read it, who writes there, and who may beyond its access record), as JSON, `repo` the group's own repo in a space (as com.atproto.space.getRepo does), `blobs` the list of its files and `blob` one of them. Authorized by migratePrepare's token, for an hour.

  • Start moving an account that already exists on the network, on any server, here to become a group: check the account's proof that it hands its DID to this host, make it here switched off with new keys, and copy its whole repo and its files from its server. Answers with the credentials the account's PLC operation should name; once its server has signed one, completeImport finishes the move. The caller becomes the group's admin. Only a did:plc account, and never the caller's own. Starting again fo

  • Finish moving an account here: send the PLC operation its old server signed, which must give it to this host as importAccount said, switch it on and tell the network, and make the group's spaces with the caller as its admin. Only for whoever started the move.