at.happyproto.fleet.getVersions

HappyView version distribution and upgrade lag. Admin only.

Repository @happyproto.at did:plc:mo7vq4jbioxwafy5zkcc3eux namespace authority
Details · query
Kindquery
Authorityfleet.happyproto.at
Indexed
cid bafyreie7k3nt2otio4iyvcyojemvdyged2h7o3ufwdmppfz2s3zmhuxorq

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.statusNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.unitNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.version.properties.versionNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "HappyView version distribution and upgrade lag. Admin only.",
      "errors": [
        {
          "description": "This endpoint requires an authenticated caller.",
          "name": "AuthRequired"
        },
        {
          "description": "The caller is not a HappyProto admin.",
          "name": "Forbidden"
        },
        {
          "description": "The telemetry store could not be queried.",
          "name": "Upstream"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "have": {
              "description": "History available, when accruing.",
              "type": "integer"
            },
            "need": {
              "description": "History required, when accruing.",
              "type": "integer"
            },
            "status": {
              "description": "Why a figure is absent. Branch on this, never on field presence.",
              "knownValues": [
                "ok",
                "accruing",
                "withheld"
              ],
              "type": "string"
            },
            "unit": {
              "knownValues": [
                "days",
                "snapshots"
              ],
              "type": "string"
            },
            "versions": {
              "items": {
                "ref": "#version",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "status",
            "versions"
          ],
          "type": "object"
        }
      },
      "type": "query"
    },
    "version": {
      "properties": {
        "adopters": {
          "type": "integer"
        },
        "firstSeen": {
          "description": "First appearance anywhere in the fleet.",
          "format": "datetime",
          "type": "string"
        },
        "instances": {
          "type": "integer"
        },
        "medianDaysToAdopt": {
          "description": "Median days from fleet-first-seen to adoption. Non-adopters excluded, never counted as infinite.",
          "type": "integer"
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "version",
        "instances"
      ],
      "type": "object"
    }
  },
  "id": "at.happyproto.fleet.getVersions",
  "lexicon": 1
}