fyi.opensocial.migrateReceive

On the destination host: take the group in. Pulls it from the host it's leaving with migratePrepare's token (its public repo, each space's meta archive and the group's repo there, its files), checked against the group's current key, and keeps it switched off. The caller must be an admin by the group's own permissions. Answers with what the PLC operation should name.

Details · procedure
Kindprocedure
Authorityopensocial.fyi
Indexed

Showing version bafyreigbgu7dqge4aoskeik62bbbgt4gzqwqwna7lczil2fucj6wtck7a4. Show the latest

cid bafyreigbgu7dqge4aoskeik62bbbgt4gzqwqwna7lczil2fucj6wtck7a4

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.exportTokenNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.serviceJwtNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "On the destination host: take the group in. Pulls it from the host it's leaving with migratePrepare's token (its public repo, each space's meta archive and the group's repo there, its files), checked against the group's current key, and keeps it switched off. The caller must be an admin by the group's own permissions. Answers with what the PLC operation should name.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "did": {
              "format": "did",
              "type": "string"
            },
            "exportToken": {
              "type": "string"
            },
            "serviceJwt": {
              "type": "string"
            },
            "snapshot": {
              "type": "unknown"
            }
          },
          "required": [
            "did",
            "serviceJwt",
            "snapshot",
            "exportToken"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "blobs": {
              "type": "integer"
            },
            "recommendedCreds": {
              "type": "unknown"
            },
            "records": {
              "type": "integer"
            },
            "spaces": {
              "type": "integer"
            }
          },
          "required": [
            "recommendedCreds"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.migrateReceive",
  "lexicon": 1
}