Служебные инструменты · fileman
Файлы и структура сайта · изменения · Изменение · fileman_directories_copy_recursive
fileman_site_fileman_m047_writeИзменениеДействия модуля fileman.
Действия
В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.
Действия модуля fileman.
site_id- строка · обязательный параметр
source_path- строка · обязательный параметр
destination_path- строка · обязательный параметр
expected_revision- строка · обязательный параметр
request_id- строка · обязательный параметр
confirm- логическое значение · обязательный параметр
acknowledge_native_hooks- логическое значение · обязательный параметр
{
"type": "object",
"properties": {
"site_id": {
"type": "string",
"pattern": "^[A-Za-z0-9]{2}$"
},
"source_path": {
"type": "string",
"minLength": 2,
"maxLength": 1000
},
"destination_path": {
"type": "string",
"minLength": 2,
"maxLength": 1000
},
"expected_revision": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"request_id": {
"type": "string",
"pattern": "^[a-f0-9]{32}$"
},
"confirm": {
"type": "boolean"
},
"acknowledge_native_hooks": {
"type": "boolean"
}
},
"required": [
"site_id",
"source_path",
"destination_path",
"expected_revision",
"request_id",
"confirm",
"acknowledge_native_hooks"
],
"additionalProperties": false
}