dev.knotless.transferRepo

lexicons.knotless.dev

Documentation

Names, in the repository's dev.knotless.repo record, the account and name it is offered to, as `knotless transfer` does, or with no `to` takes the offer back. It moves when that account takes it up (dev.knotless.acceptTransfer). A private repository cannot move. Only its owner, logged in to this appview's web pages, can: the appview writes with the session it keeps for that account, which the pages' session cookie names.

main procedure

Names, in the repository's dev.knotless.repo record, the account and name it is offered to, as `knotless transfer` does, or with no `to` takes the offer back. It moves when that account takes it up (dev.knotless.acceptTransfer). A private repository cannot move. Only its owner, logged in to this appview's web pages, can: the appview writes with the session it keeps for that account, which the pages' session cookie names.

Input

Encodingapplication/json
name string Optional

The name it would have there: its own when absent.

maxLength: 100 bytes
repo stringat-uri Required

The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.

to stringat-identifier Optional

The account to offer it to, by handle or DID. Absent, the offer is withdrawn.

Output

Encodingapplication/json

Errors

NotFound No such repository.
InvalidRequest The account is the owner's own, there is no such account, or the repository is private.
AuthenticationRequired No account is logged in to the pages, or its session has ended.
Forbidden The account logged in is not the repository's owner.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "Names, in the repository's dev.knotless.repo record, the account and name it is offered to, as `knotless transfer` does, or with no `to` takes the offer back. It moves when that account takes it up (dev.knotless.acceptTransfer). A private repository cannot move. Only its owner, logged in to this appview's web pages, can: the appview writes with the session it keeps for that account, which the pages' session cookie names.",
  "errors": [
    {
      "description": "No such repository.",
      "name": "NotFound"
    },
    {
      "description": "The account is the owner's own, there is no such account, or the repository is private.",
      "name": "InvalidRequest"
    },
    {
      "description": "No account is logged in to the pages, or its session has ended.",
      "name": "AuthenticationRequired"
    },
    {
      "description": "The account logged in is not the repository's owner.",
      "name": "Forbidden"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "name": {
          "description": "The name it would have there: its own when absent.",
          "maxLength": 100,
          "type": "string"
        },
        "repo": {
          "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
          "format": "at-uri",
          "type": "string"
        },
        "to": {
          "description": "The account to offer it to, by handle or DID. Absent, the offer is withdrawn.",
          "format": "at-identifier",
          "type": "string"
        }
      },
      "required": [
        "repo"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "transfer": {
          "description": "Where it is offered now; absent once withdrawn.",
          "ref": "dev.knotless.defs#repoViewBasic",
          "type": "ref"
        }
      },
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@