POST
/api/v1/profiles/{id}/fingerprint/report
Fingerprint im laufenden Profil lokal messen und mit der Startkonfiguration vergleichen
Anfrage#
POSIX-Shell · curl
curl --fail-with-body --request POST \
"$ADBR_API_URL/api/v1/profiles/{id}/fingerprint/report" \
-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: profiles:read, runtime:control
Alle aufgeführten Scopes sind erforderlich; admin erfüllt Scope-Prüfungen. Kontorechte, Anfrageinhalt, Tresorzustand und Ressourcenrechte können weitere Voraussetzungen setzen.
Parameter#
| Parameter | Ort | Pflicht | Beschreibung |
|---|---|---|---|
id | path | Ja |
Vollständige Parameterschemas
OpenAPI JSON
[
{
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"in": "path",
"name": "id",
"required": true
}
]Anfragekörper#
Kein Anfragekörper deklariert.
Antworten#
200 · Standardantwort
OpenAPI JSON
{
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"profile_id",
"session_id",
"measured_at",
"kernel",
"passed",
"failed",
"skipped",
"checks",
"limitations"
],
"properties": {
"profile_id": {
"type": "string"
},
"session_id": {
"type": "string"
},
"measured_at": {
"type": "number"
},
"kernel": {
"type": "string"
},
"passed": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"skipped": {
"type": "integer"
},
"checks": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"status",
"expected",
"actual"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"status": {
"anyOf": [
{
"type": "string",
"enum": [
"pass"
]
},
{
"type": "string",
"enum": [
"fail"
]
},
{
"type": "string",
"enum": [
"skip"
]
}
]
},
"expected": {
"type": "string"
},
"actual": {
"type": "string"
}
}
}
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
}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": "Fingerprint im laufenden Profil lokal messen und mit der Startkonfiguration vergleichen",
"tags": [
"Profile"
],
"parameters": [
{
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"in": "path",
"name": "id",
"required": true
}
],
"x-required-scopes": [
"profiles:read",
"runtime:control"
],
"responses": {
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"profile_id",
"session_id",
"measured_at",
"kernel",
"passed",
"failed",
"skipped",
"checks",
"limitations"
],
"properties": {
"profile_id": {
"type": "string"
},
"session_id": {
"type": "string"
},
"measured_at": {
"type": "number"
},
"kernel": {
"type": "string"
},
"passed": {
"type": "integer"
},
"failed": {
"type": "integer"
},
"skipped": {
"type": "integer"
},
"checks": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"status",
"expected",
"actual"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"status": {
"anyOf": [
{
"type": "string",
"enum": [
"pass"
]
},
{
"type": "string",
"enum": [
"fail"
]
},
{
"type": "string",
"enum": [
"skip"
]
}
]
},
"expected": {
"type": "string"
},
"actual": {
"type": "string"
}
}
}
},
"limitations": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}