~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
48 lines · 1.3 KB Raw History
{
  "lexicon": 1,
  "id": "org.atgrp.internal.migrateComplete",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Source host: sign and submit the PLC operation repointing the group's DID document at the destination, and relinquish the group. Requires group.configure.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["group", "recommendedCreds"],
          "properties": {
            "group": {
              "type": "string",
              "format": "did"
            },
            "recommendedCreds": {
              "type": "unknown"
            }
          }
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": [],
          "properties": {
            "movedTo": {
              "type": "string"
            }
          }
        }
      },
      "errors": [
        {
          "name": "NotController",
          "description": "The group's DID is ended, or the PLC directory's last operation for it no longer lists this host's rotation key."
        },
        {
          "name": "InvalidOperation",
          "description": "The PLC directory refused the operation, as when another was made first: ask again."
        }
      ]
    }
  }
}