fyi.opensocial.migratePrepare

On the source host: start moving the group to another host. Answers with a service token signed by the group, for the destination's migrateReceive; the group's handle, address and spaces; and a token, good for an hour, with which the destination pulls the group from here (migrateExport). Requires group.configure.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed
cid bafyreic7szoe2o5qwbagqba3oujxrsf54zyg3sprk4vbk5smagcmmvvrvi

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.exportTokenNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.serviceJwtNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "On the source host: start moving the group to another host. Answers with a service token signed by the group, for the destination's migrateReceive; the group's handle, address and spaces; and a token, good for an hour, with which the destination pulls the group from here (migrateExport). Requires group.configure.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "destDid": {
              "description": "The destination host's service DID.",
              "format": "did",
              "type": "string"
            },
            "group": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "group",
            "destDid"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "exportToken": {
              "description": "For migrateExport, for an hour.",
              "type": "string"
            },
            "serviceJwt": {
              "type": "string"
            },
            "snapshot": {
              "description": "{handle, address, spaces: [uri]}: the group's handle and address, and every space the group holds, each by its URI, as a string. For migrateReceive, as it is.",
              "type": "unknown"
            }
          },
          "required": [
            "serviceJwt",
            "snapshot",
            "exportToken"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.migratePrepare",
  "lexicon": 1
}