webseite insert UPDATE
webseite insert aendern. Leeres Einzelobjekt anlegen oder gezielt bearbeiten; Webseiten/Menuebereiche/Seiten neu standardmaessig offline. Vorlagenmetadaten und HTML-Datei getrennt. Oeffentliche Inhalte koennen sofort wirken. Grenzen: kein Template-Installer; keine UI-Personenrechte.
Tool-Name
tool
update_bereiche_webseite
Parameter
| Parameter | Typ | Pflicht | Beschreibung |
|---|---|---|---|
help |
integer |
Nein | – |
inhalt |
object |
Nein | – |
referenzfelder |
object |
Nein | – |
Input Schema
json
{
"type": "object",
"properties": {
"help": {
"type": "integer",
"enum": [
1
]
},
"referenzfelder": {
"type": "object",
"properties": {
"ID": {
"type": "integer",
"description": "ID",
"minimum": 1,
"maximum": 2147483647
},
"hash": {
"type": "string",
"description": "Aktuelle Objektrevision aus vorherigem Abruf; bei Konflikt neu lesen. Hash des zuletzt gelesenen Datenstands. Den von select_bereiche_webseite im Feld uebersicht.hash gelieferten Wert unveraendert uebernehmen. Keinen Zeitstempel und keinen selbst erzeugten Wert verwenden.",
"maxLength": 64,
"pattern": "^[a-f0-9]{64}$"
}
},
"additionalProperties": false,
"required": [
"ID",
"hash"
]
},
"inhalt": {
"type": "object",
"properties": {
"titel": {
"type": "string",
"description": "titel",
"maxLength": 1000000
},
"url": {
"type": "string",
"description": "url",
"maxLength": 1000000
},
"url1": {
"type": "string",
"description": "url1",
"maxLength": 1000000
},
"url2": {
"type": "string",
"description": "url2",
"maxLength": 1000000
},
"url3": {
"type": "string",
"description": "url3",
"maxLength": 1000000
},
"url4": {
"type": "string",
"description": "url4",
"maxLength": 1000000
},
"url5": {
"type": "string",
"description": "url5",
"maxLength": 1000000
},
"url6": {
"type": "string",
"description": "url6",
"maxLength": 1000000
},
"url7": {
"type": "string",
"description": "url7",
"maxLength": 1000000
},
"url8": {
"type": "string",
"description": "url8",
"maxLength": 1000000
},
"url9": {
"type": "string",
"description": "url9",
"maxLength": 1000000
},
"url10": {
"type": "string",
"description": "url10",
"maxLength": 1000000
},
"template": {
"type": "string",
"description": "template",
"maxLength": 1000000
},
"mobile_template": {
"type": "string",
"description": "mobile template",
"maxLength": 1000000
},
"mobile_page_ID": {
"type": "integer",
"description": "mobile page ID",
"minimum": 0,
"maximum": 2147483647
},
"onlinefreigabe": {
"type": "integer",
"description": "0 offline,1 oeffentlich; bei Inhaltsseiten2 nur Kunden. Aenderungen koennen sofort wirken.",
"minimum": 0,
"maximum": 1,
"enum": [
0,
1
]
},
"mail": {
"type": "string",
"description": "mail",
"maxLength": 1000000
},
"land": {
"type": "string",
"description": "land",
"maxLength": 1000000
},
"ssl_aktiv": {
"type": "integer",
"description": "ssl aktiv",
"minimum": 0,
"maximum": 1,
"enum": [
0,
1
]
},
"favourite": {
"type": "integer",
"description": "favourite",
"minimum": 0,
"maximum": 1,
"enum": [
0,
1
]
},
"tecdoc_konto_ID": {
"type": "integer",
"description": "tecdoc konto ID",
"minimum": 0,
"maximum": 2147483647
},
"meta_keywords": {
"type": "string",
"description": "meta keywords",
"maxLength": 1000000
},
"meta_autor": {
"type": "string",
"description": "meta autor",
"maxLength": 1000000
},
"meta_publisher": {
"type": "string",
"description": "meta publisher",
"maxLength": 1000000
},
"meta_copyright": {
"type": "string",
"description": "meta copyright",
"maxLength": 1000000
},
"meta_pagetopic": {
"type": "string",
"description": "meta pagetopic",
"maxLength": 1000000
},
"meta_pagetyp": {
"type": "string",
"description": "meta pagetyp",
"maxLength": 1000000
},
"hinweistext": {
"type": "string",
"description": "hinweistext",
"maxLength": 1000000
},
"hinweis_hintergrundfarbe": {
"type": "string",
"description": "hinweis hintergrundfarbe",
"maxLength": 1000000
},
"hinweis_schriftfarbe": {
"type": "string",
"description": "hinweis schriftfarbe",
"maxLength": 1000000
},
"hinweis_von": {
"type": "string",
"description": "hinweis von",
"maxLength": 1000000
},
"hinweis_bis": {
"type": "string",
"description": "hinweis bis",
"maxLength": 1000000
},
"hinweis_produkt_anzeige": {
"type": "integer",
"description": "hinweis produkt anzeige",
"minimum": 0,
"maximum": 1,
"enum": [
0,
1
]
}
},
"additionalProperties": false,
"minProperties": 1
}
},
"additionalProperties": false,
"anyOf": [
{
"required": [
"help"
]
},
{
"required": [
"inhalt",
"referenzfelder"
]
}
]
}
Beispiel-Aufruf
json
{
"tool": "update_bereiche_webseite",
"arguments": {
"help": 1,
"inhalt": {},
"referenzfelder": {}
}
}