~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/knotless

git that lives in your Atmosphere account

7
35 lines · 1.7 KB Raw History
{
  "lexicon": 1,
  "id": "dev.knotless.describeServer",
  "description": "What an appview offers the clients that use it.",
  "defs": {
    "main": {
      "type": "query",
      "description": "What this appview offers the clients that use it: the runners a new public repository names unless its owner names others, and the oldest client version it asks for. No authentication; responses are not personalized.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "properties": {
            "runners": {
              "type": "array",
              "maxLength": 32,
              "items": { "type": "ref", "ref": "dev.knotless.repo#runner" },
              "description": "The accounts a new public repository's record names in `runners` unless its owner names others: a runner this appview's operator keeps for whoever names it. Absent or empty, it names none."
            },
            "client": { "type": "ref", "ref": "#client", "description": "The oldest client version this appview asks for. Absent, it asks for none." }
          }
        }
      }
    },
    "client": {
      "type": "object",
      "description": "The oldest version of knotless's client the appview asks clients to be, set when an older one harms what it touches. A client older than it refuses to run, but to upgrade, until it is upgraded. The newest release is at the appview's /releases/latest.",
      "required": ["minimum"],
      "properties": {
        "minimum": { "type": "string", "description": "A version, as Semantic Versioning 2.0 writes one." },
        "reason": { "type": "string", "description": "Why it asks for it, said to whoever runs an older one." }
      }
    }
  }
}