com.getorbyt.community.manageTransfer

Invites, accepts, declines, or cancels an ownership transfer. Requires authenticated service authorization; only the current declaration holder may invite or cancel and only the target may accept or decline.

Repository @getorbyt.com did:plc:2xrqztnmzlckb3xfuuukupso namespace authority
Details · procedure
Kindprocedure
Authoritycommunity.getorbyt.com
Indexed
cid bafyreifij7x5bmdimotkxr733ocfqryyefn3ppewu4aey2xwjxglrm2qsy

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.actionNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Invites, accepts, declines, or cancels an ownership transfer. Requires authenticated service authorization; only the current declaration holder may invite or cancel and only the target may accept or decline.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "CommunityNotFound"
        },
        {
          "name": "TransferNotFound"
        },
        {
          "name": "InsufficientRole"
        },
        {
          "name": "InvalidAction"
        },
        {
          "name": "InvalidState"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "action": {
              "knownValues": [
                "invite",
                "accept",
                "decline",
                "cancel"
              ],
              "type": "string"
            },
            "community": {
              "format": "at-uri",
              "type": "string"
            },
            "did": {
              "description": "Required when inviting.",
              "format": "did",
              "type": "string"
            },
            "replacementDeclarationUri": {
              "description": "Required when accepting. The AT-URI the target will write its continuation declaration at, in the target repository. Declared before the record is written: a continuation is only projected when an accepted transfer already names it.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "community",
            "action"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "transfer": {
              "ref": "com.getorbyt.community.defs#transferView",
              "type": "ref"
            }
          },
          "required": [
            "transfer"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.getorbyt.community.manageTransfer",
  "lexicon": 1
}