dev.knotless.getCompare

lexicons.knotless.dev

Documentation

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.

main query

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.

Parameters

base string Optional

The branch to merge into; the default branch if not given.

branch string Optional

The branch to bring in. Without one, only the repositories are answered.

head string at-uri Optional

The repository the branch is on: this one, if not given, or a fork of it.

repo string at-uri Required

The repository to merge into: its dev.knotless.repo record. Its authority may be a handle.

Output

Encodingapplication/json
heads array Required

The repositories a pull can come from: this one first, then its forks the index knows, oldest first.

Errors

NotFound No such repository, or no such branch on either.
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://api.bsky.social)
Parameters
The branch to merge into; the default branch if not given.
The branch to bring in. Without one, only the repositories are answered.
The repository the branch is on: this one, if not given, or a fork of it.
The repository to merge into: its dev.knotless.repo record. Its authority may be a handle.
View raw schema
{
  "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"
}

Lexicon Garden

@