Dokumentation / Kerne / Endpunkt
POST

/api/v1/kernels/updates/check

Signiertes Kernel-Manifest laden und prüfen

Anfrage#

POSIX-Shell · curl
curl --fail-with-body --request POST \
  "$ADBR_API_URL/api/v1/kernels/updates/check" \
  -H "Authorization: Bearer $ADBR_API_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{}'

Verwende lokale Adresse und Token aus API & MCP. Ersetze Pfadplatzhalter wie {id} durch tatsächliche IDs.

Authentifizierung und Rechte#

Authentifizierung: Bearer-Token

Scopes: kernels:manage

Alle aufgeführten Scopes sind erforderlich; admin erfüllt Scope-Prüfungen. Kontorechte, Anfrageinhalt, Tresorzustand und Ressourcenrechte können weitere Voraussetzungen setzen.

Parameter#

Keine Pfad- oder Query-Parameter deklariert.

Anfragekörper#

Kein Anfragekörper deklariert.

Antworten#

200 · Standardantwort
OpenAPI JSON
{
  "description": "Default Response",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "required": [
          "downloads",
          "auto_check",
          "auto_download",
          "feed",
          "checked_at",
          "expires_at",
          "error",
          "busy",
          "stage",
          "downloaded",
          "total",
          "available"
        ],
        "properties": {
          "downloads": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "id",
                "engine",
                "major",
                "build",
                "state",
                "error",
                "kernel_id"
              ],
              "properties": {
                "id": {
                  "type": "string"
                },
                "engine": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "chromium"
                      ]
                    },
                    {
                      "type": "string",
                      "enum": [
                        "firefox"
                      ]
                    }
                  ]
                },
                "major": {
                  "type": [
                    "null",
                    "integer"
                  ]
                },
                "build": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "state": {
                  "type": "string"
                },
                "error": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "kernel_id": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "installation_performed": {
                  "type": "boolean"
                },
                "downloaded": {
                  "type": "number"
                },
                "total": {
                  "type": "number"
                }
              }
            }
          },
          "auto_check": {
            "type": "boolean"
          },
          "auto_download": {
            "type": "boolean"
          },
          "feed": {
            "type": "string"
          },
          "checked_at": {
            "type": [
              "null",
              "integer"
            ]
          },
          "expires_at": {
            "type": [
              "null",
              "integer"
            ]
          },
          "error": {
            "type": [
              "null",
              "string"
            ]
          },
          "busy": {
            "type": "boolean"
          },
          "stage": {
            "type": "string"
          },
          "downloaded": {
            "type": "number"
          },
          "total": {
            "type": "number"
          },
          "available": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "engine",
                "version",
                "revision",
                "platform",
                "arch",
                "url",
                "size",
                "sha256",
                "build",
                "major_released",
                "installed",
                "installable"
              ],
              "properties": {
                "engine": {
                  "type": "string"
                },
                "version": {
                  "type": "string"
                },
                "revision": {
                  "type": "string"
                },
                "platform": {
                  "type": "string"
                },
                "arch": {
                  "type": "string"
                },
                "url": {
                  "type": "string"
                },
                "size": {
                  "type": "number"
                },
                "sha256": {
                  "type": "string"
                },
                "build": {
                  "type": "string"
                },
                "major_released": {
                  "type": [
                    "null",
                    "string"
                  ]
                },
                "installed": {
                  "type": "boolean"
                },
                "installable": {
                  "type": "boolean"
                }
              }
            }
          }
        }
      }
    }
  }
}
default · HTTP-Fehlerhülle. Status und error.code bezeichnen den Fehler.
OpenAPI JSON
{
  "description": "HTTP error envelope. The status and error.code identify the failure.",
  "content": {
    "application/json": {
      "schema": {
        "$ref": "#/components/schemas/Error"
      }
    }
  }
}

Allgemeine Authentifizierungs- und Transportfehler können zusätzlich zu den dokumentierten Antworten auftreten.

OpenAPI-Definition#

Vollständige Operationsdefinition
OpenAPI JSON
{
  "summary": "Signiertes Kernel-Manifest laden und prüfen",
  "tags": [
    "Kerne"
  ],
  "x-required-scopes": [
    "kernels:manage"
  ],
  "responses": {
    "200": {
      "description": "Default Response",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "required": [
              "downloads",
              "auto_check",
              "auto_download",
              "feed",
              "checked_at",
              "expires_at",
              "error",
              "busy",
              "stage",
              "downloaded",
              "total",
              "available"
            ],
            "properties": {
              "downloads": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "engine",
                    "major",
                    "build",
                    "state",
                    "error",
                    "kernel_id"
                  ],
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "engine": {
                      "anyOf": [
                        {
                          "type": "string",
                          "enum": [
                            "chromium"
                          ]
                        },
                        {
                          "type": "string",
                          "enum": [
                            "firefox"
                          ]
                        }
                      ]
                    },
                    "major": {
                      "type": [
                        "null",
                        "integer"
                      ]
                    },
                    "build": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "state": {
                      "type": "string"
                    },
                    "error": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "kernel_id": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "installation_performed": {
                      "type": "boolean"
                    },
                    "downloaded": {
                      "type": "number"
                    },
                    "total": {
                      "type": "number"
                    }
                  }
                }
              },
              "auto_check": {
                "type": "boolean"
              },
              "auto_download": {
                "type": "boolean"
              },
              "feed": {
                "type": "string"
              },
              "checked_at": {
                "type": [
                  "null",
                  "integer"
                ]
              },
              "expires_at": {
                "type": [
                  "null",
                  "integer"
                ]
              },
              "error": {
                "type": [
                  "null",
                  "string"
                ]
              },
              "busy": {
                "type": "boolean"
              },
              "stage": {
                "type": "string"
              },
              "downloaded": {
                "type": "number"
              },
              "total": {
                "type": "number"
              },
              "available": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "engine",
                    "version",
                    "revision",
                    "platform",
                    "arch",
                    "url",
                    "size",
                    "sha256",
                    "build",
                    "major_released",
                    "installed",
                    "installable"
                  ],
                  "properties": {
                    "engine": {
                      "type": "string"
                    },
                    "version": {
                      "type": "string"
                    },
                    "revision": {
                      "type": "string"
                    },
                    "platform": {
                      "type": "string"
                    },
                    "arch": {
                      "type": "string"
                    },
                    "url": {
                      "type": "string"
                    },
                    "size": {
                      "type": "number"
                    },
                    "sha256": {
                      "type": "string"
                    },
                    "build": {
                      "type": "string"
                    },
                    "major_released": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "installed": {
                      "type": "boolean"
                    },
                    "installable": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "default": {
      "description": "HTTP error envelope. The status and error.code identify the failure.",
      "content": {
        "application/json": {
          "schema": {
            "$ref": "#/components/schemas/Error"
          }
        }
      }
    }
  }
}

Suche nach Headless, MCP, Cookies oder einem API-Endpunkt.

↑ ↓ NavigierenEnter ÖffnenEsc Schließen