dev.knotless.retargetPull

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Points an open pull at another target branch, another head branch, or both, as `knotless retarget` does, as the account logged in to this appview's web pages. Anyone who may close it changes its target branch; only its author its head branch, which must be in the repository it comes from. Requires the session cookie the pages' login sets.",
      "errors": [
        {
          "description": "No such repository.",
          "name": "NotFound"
        },
        {
          "description": "No account is logged in to the pages, or its session has ended.",
          "name": "AuthenticationRequired"
        },
        {
          "description": "It was not retargeted, as the reason says: no such branch, or the account may not.",
          "name": "UpstreamFailure"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "base": {
              "description": "The branch of the repository to merge it into, without refs/heads/.",
              "maxLength": 255,
              "type": "string"
            },
            "head": {
              "description": "The branch of the repository it comes from to bring in, without refs/heads/.",
              "maxLength": 255,
              "type": "string"
            },
            "pull": {
              "description": "The dev.knotless.pull record.",
              "format": "at-uri",
              "type": "string"
            },
            "repo": {
              "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "repo",
            "pull"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Points a pull at other branches as the account logged in to this appview's pages.",
  "id": "dev.knotless.retargetPull",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.retargetPull

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:yqsg7znbbhfmj3a2nrpnaerk
CID
bafyreigxq63hyzayfe7d4uj5nlvlhj57chymobevbt2borbnyvcalccyrm
Indexed At
2026-10-28 21:21 UTC
AT-URI
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.retargetPull

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@