POST
/api/v1/profiles/{id}/fingerprint/preview
Fingerprint mit geänderten Überschreibungen prüfen, ohne zu speichern
Anfrage#
POSIX-Shell · curl
curl --fail-with-body --request POST \
"$ADBR_API_URL/api/v1/profiles/{id}/fingerprint/preview" \
-H "Authorization: Bearer $ADBR_API_TOKEN" \
-H "Content-Type: application/json" \
--data @request.jsonVerwende lokale Adresse und Token aus API & MCP. Ersetze Pfadplatzhalter wie {id} durch tatsächliche IDs. Erstelle request.json anhand des folgenden Körperschemas, bevor du den Befehl ausführst.
Authentifizierung und Rechte#
Authentifizierung: Bearer-Token
Scopes: profiles:read
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#
Erforderlich.
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
fingerprint_overrides | object | Ja |
Vollständiges Körperschema
OpenAPI JSON
{
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"fingerprint_overrides"
],
"properties": {
"fingerprint_overrides": {
"type": "object",
"additionalProperties": {}
}
},
"additionalProperties": false
}
}
}
}Antworten#
200 · Standardantwort
OpenAPI JSON
{
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"fingerprint",
"issues",
"host"
],
"properties": {
"fingerprint": {
"type": "object",
"required": [
"reference",
"media_devices",
"speech",
"device_identity",
"webgpu",
"fonts",
"hardware_concurrency",
"device_memory",
"screen",
"webgl",
"noise"
],
"properties": {
"reference": {
"type": "integer"
},
"media_devices": {
"type": "object",
"required": [
"mode",
"seed",
"counts"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"mask"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"seed": {
"type": "integer"
},
"counts": {
"anyOf": [
{
"type": "object",
"required": [
"audioinput",
"videoinput",
"audiooutput"
],
"properties": {
"audioinput": {
"type": "integer"
},
"videoinput": {
"type": "integer"
},
"audiooutput": {
"type": "integer"
}
}
},
{
"type": "null"
}
]
}
}
},
"speech": {
"type": "object",
"required": [
"mode",
"seed"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"mask"
]
}
]
},
"seed": {
"type": "integer"
}
}
},
"device_identity": {
"type": "object",
"required": [
"name",
"mac"
],
"properties": {
"name": {
"type": [
"null",
"string"
]
},
"mac": {
"type": [
"null",
"string"
]
}
}
},
"webgpu": {
"type": "object",
"required": [
"mode"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"match"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"off"
]
}
]
}
}
},
"fonts": {
"type": "object",
"required": [
"mode",
"families"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"families": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
}
},
"hardware_concurrency": {
"type": "object",
"required": [
"mode",
"value"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"value": {
"type": "number"
}
}
},
"device_memory": {
"type": "object",
"required": [
"mode",
"value"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"value": {
"type": "number"
}
}
},
"screen": {
"type": "object",
"required": [
"mode",
"value"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"value": {
"anyOf": [
{
"type": "object",
"required": [
"width",
"height",
"avail_width",
"avail_height",
"color_depth",
"pixel_ratio"
],
"properties": {
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"avail_width": {
"type": "integer"
},
"avail_height": {
"type": "integer"
},
"color_depth": {
"type": "integer"
},
"pixel_ratio": {
"type": "number"
}
}
},
{
"type": "null"
}
]
}
}
},
"webgl": {
"type": "object",
"required": [
"mode",
"value"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"value": {
"anyOf": [
{
"type": "object",
"required": [
"vendor",
"renderer"
],
"properties": {
"vendor": {
"type": "string"
},
"renderer": {
"type": "string"
},
"architecture": {
"type": [
"string",
"null"
]
},
"webgpu": {
"type": "object",
"required": [
"vendor",
"device",
"description"
],
"properties": {
"vendor": {
"type": "string"
},
"device": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
}
},
{
"type": "null"
}
]
}
}
},
"noise": {
"type": "object",
"required": [
"canvas",
"webgl",
"audio",
"client_rects"
],
"properties": {
"canvas": {
"type": "integer"
},
"webgl": {
"type": "integer"
},
"audio": {
"type": "integer"
},
"client_rects": {
"type": "integer"
}
}
}
}
},
"issues": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"code",
"severity",
"message"
],
"properties": {
"field": {
"type": "string"
},
"code": {
"type": "string"
},
"severity": {
"anyOf": [
{
"type": "string",
"enum": [
"error"
]
},
{
"type": "string",
"enum": [
"warning"
]
}
]
},
"message": {
"type": "string"
}
}
}
},
"host": {
"type": "object",
"required": [
"cores",
"memory_gb",
"gpu_vendor",
"gpu_name",
"screen"
],
"properties": {
"windows_version": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"enum": [
"10"
]
},
{
"type": "string",
"enum": [
"11"
]
}
]
},
{
"type": "null"
}
]
},
"cores": {
"type": "integer"
},
"memory_gb": {
"type": "integer"
},
"gpu_vendor": {
"type": [
"null",
"string"
]
},
"gpu_name": {
"type": [
"null",
"string"
]
},
"screen": {
"anyOf": [
{
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
}
},
{
"type": "null"
}
]
}
}
}
}
}
}
}
}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 mit geänderten Überschreibungen prüfen, ohne zu speichern",
"tags": [
"Profile"
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"fingerprint_overrides"
],
"properties": {
"fingerprint_overrides": {
"type": "object",
"additionalProperties": {}
}
},
"additionalProperties": false
}
}
}
},
"parameters": [
{
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"in": "path",
"name": "id",
"required": true
}
],
"x-required-scopes": [
"profiles:read"
],
"responses": {
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"fingerprint",
"issues",
"host"
],
"properties": {
"fingerprint": {
"type": "object",
"required": [
"reference",
"media_devices",
"speech",
"device_identity",
"webgpu",
"fonts",
"hardware_concurrency",
"device_memory",
"screen",
"webgl",
"noise"
],
"properties": {
"reference": {
"type": "integer"
},
"media_devices": {
"type": "object",
"required": [
"mode",
"seed",
"counts"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"mask"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"seed": {
"type": "integer"
},
"counts": {
"anyOf": [
{
"type": "object",
"required": [
"audioinput",
"videoinput",
"audiooutput"
],
"properties": {
"audioinput": {
"type": "integer"
},
"videoinput": {
"type": "integer"
},
"audiooutput": {
"type": "integer"
}
}
},
{
"type": "null"
}
]
}
}
},
"speech": {
"type": "object",
"required": [
"mode",
"seed"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"mask"
]
}
]
},
"seed": {
"type": "integer"
}
}
},
"device_identity": {
"type": "object",
"required": [
"name",
"mac"
],
"properties": {
"name": {
"type": [
"null",
"string"
]
},
"mac": {
"type": [
"null",
"string"
]
}
}
},
"webgpu": {
"type": "object",
"required": [
"mode"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"match"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"off"
]
}
]
}
}
},
"fonts": {
"type": "object",
"required": [
"mode",
"families"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"families": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
]
}
}
},
"hardware_concurrency": {
"type": "object",
"required": [
"mode",
"value"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"value": {
"type": "number"
}
}
},
"device_memory": {
"type": "object",
"required": [
"mode",
"value"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"value": {
"type": "number"
}
}
},
"screen": {
"type": "object",
"required": [
"mode",
"value"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"value": {
"anyOf": [
{
"type": "object",
"required": [
"width",
"height",
"avail_width",
"avail_height",
"color_depth",
"pixel_ratio"
],
"properties": {
"width": {
"type": "integer"
},
"height": {
"type": "integer"
},
"avail_width": {
"type": "integer"
},
"avail_height": {
"type": "integer"
},
"color_depth": {
"type": "integer"
},
"pixel_ratio": {
"type": "number"
}
}
},
{
"type": "null"
}
]
}
}
},
"webgl": {
"type": "object",
"required": [
"mode",
"value"
],
"properties": {
"mode": {
"anyOf": [
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"real"
]
},
{
"type": "string",
"enum": [
"custom"
]
}
]
},
"value": {
"anyOf": [
{
"type": "object",
"required": [
"vendor",
"renderer"
],
"properties": {
"vendor": {
"type": "string"
},
"renderer": {
"type": "string"
},
"architecture": {
"type": [
"string",
"null"
]
},
"webgpu": {
"type": "object",
"required": [
"vendor",
"device",
"description"
],
"properties": {
"vendor": {
"type": "string"
},
"device": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
}
},
{
"type": "null"
}
]
}
}
},
"noise": {
"type": "object",
"required": [
"canvas",
"webgl",
"audio",
"client_rects"
],
"properties": {
"canvas": {
"type": "integer"
},
"webgl": {
"type": "integer"
},
"audio": {
"type": "integer"
},
"client_rects": {
"type": "integer"
}
}
}
}
},
"issues": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"code",
"severity",
"message"
],
"properties": {
"field": {
"type": "string"
},
"code": {
"type": "string"
},
"severity": {
"anyOf": [
{
"type": "string",
"enum": [
"error"
]
},
{
"type": "string",
"enum": [
"warning"
]
}
]
},
"message": {
"type": "string"
}
}
}
},
"host": {
"type": "object",
"required": [
"cores",
"memory_gb",
"gpu_vendor",
"gpu_name",
"screen"
],
"properties": {
"windows_version": {
"anyOf": [
{
"anyOf": [
{
"type": "string",
"enum": [
"10"
]
},
{
"type": "string",
"enum": [
"11"
]
}
]
},
{
"type": "null"
}
]
},
"cores": {
"type": "integer"
},
"memory_gb": {
"type": "integer"
},
"gpu_vendor": {
"type": [
"null",
"string"
]
},
"gpu_name": {
"type": [
"null",
"string"
]
},
"screen": {
"anyOf": [
{
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
}
},
{
"type": "null"
}
]
}
}
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}