dev.knotless.getCompare

lexicons.knotless.dev

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The repositories a pull into a repository can come from, itself and its forks, and, given a branch, what that branch has since it left the base, as a pull from it would show. No authentication; responses are not personalized.",
      "errors": [
        {
          "description": "No such repository, or no such branch on either.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "changes": {
              "description": "What the branch brings in, given one.",
              "ref": "dev.knotless.defs#changesView",
              "type": "ref"
            },
            "heads": {
              "description": "The repositories a pull can come from: this one first, then its forks the index knows, oldest first.",
              "items": {
                "ref": "dev.knotless.defs#repoViewBasic",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "heads"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "base": {
            "description": "The branch to merge into; the default branch if not given.",
            "maxLength": 1024,
            "type": "string"
          },
          "branch": {
            "description": "The branch to bring in. Without one, only the repositories are answered.",
            "maxLength": 1024,
            "type": "string"
          },
          "head": {
            "description": "The repository the branch is on: this one, if not given, or a fork of it.",
            "format": "at-uri",
            "type": "string"
          },
          "repo": {
            "description": "The repository to merge into: its dev.knotless.repo record. Its authority may be a handle.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "repo"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "What a pull from a branch would bring into a repository, before it is opened.",
  "id": "dev.knotless.getCompare",
  "lexicon": 1
}

Validate Record

Validate a record against dev.knotless.getCompare

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

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

Referenced Schemas (2)

Similar Lexicons

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

Lexicon Garden

@