GET
/api/v1/windows/layouts
Vorlagen für die Fensteranordnung (Zonen als Anteile der Arbeitsfläche, Abstand und Randabstand in Pixeln) und die je Bildschirm aktive Vorlage abrufen
Anfrage#
POSIX-Shell · curl
curl --fail-with-body --request GET \
"$ADBR_API_URL/api/v1/windows/layouts" \
-H "Authorization: Bearer $ADBR_API_TOKEN"Verwende lokale Adresse und Token aus API & MCP. Ersetze Pfadplatzhalter wie {id} durch tatsächliche IDs.
Authentifizierung und Rechte#
Authentifizierung: Bearer-Token
Scopes: 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#
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": [
"items",
"active",
"default_layout_id"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"builtin",
"modified",
"kind",
"columns",
"rows",
"cells",
"auto_columns",
"gap",
"margin"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"builtin": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"kind": {
"anyOf": [
{
"type": "string",
"enum": [
"zones"
]
},
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"cascade"
]
}
]
},
"columns": {
"type": "array",
"items": {
"type": "integer"
}
},
"rows": {
"type": "array",
"items": {
"type": "integer"
}
},
"cells": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"auto_columns": {
"type": [
"null",
"integer"
]
},
"gap": {
"type": "integer"
},
"margin": {
"type": "integer"
}
}
}
},
"active": {
"type": "object",
"additionalProperties": {
"type": [
"null",
"string"
]
}
},
"default_layout_id": {
"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": "Vorlagen für die Fensteranordnung (Zonen als Anteile der Arbeitsfläche, Abstand und Randabstand in Pixeln) und die je Bildschirm aktive Vorlage abrufen",
"tags": [
"Laufzeit"
],
"x-required-scopes": [
"runtime:control"
],
"responses": {
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"items",
"active",
"default_layout_id"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"name",
"builtin",
"modified",
"kind",
"columns",
"rows",
"cells",
"auto_columns",
"gap",
"margin"
],
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"builtin": {
"type": "boolean"
},
"modified": {
"type": "boolean"
},
"kind": {
"anyOf": [
{
"type": "string",
"enum": [
"zones"
]
},
{
"type": "string",
"enum": [
"auto"
]
},
{
"type": "string",
"enum": [
"cascade"
]
}
]
},
"columns": {
"type": "array",
"items": {
"type": "integer"
}
},
"rows": {
"type": "array",
"items": {
"type": "integer"
}
},
"cells": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer"
}
}
},
"auto_columns": {
"type": [
"null",
"integer"
]
},
"gap": {
"type": "integer"
},
"margin": {
"type": "integer"
}
}
}
},
"active": {
"type": "object",
"additionalProperties": {
"type": [
"null",
"string"
]
}
},
"default_layout_id": {
"type": "string"
}
}
}
}
}
},
"default": {
"description": "HTTP error envelope. The status and error.code identify the failure.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}