1Panel/cmd/server/operation/operation.json

1388 lines
38 KiB
JSON

[
{
"api": "/api/v1/containers",
"method": "POST",
"bodyKeys": [
"name",
"image"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建容器 [name][image]",
"formatEN": "create container [name][image]"
},
{
"api": "/api/v1/containers/operate",
"method": "POST",
"bodyKeys": [
"name",
"operation",
"newName"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "容器 [name] 执行 [operation] [newName]",
"formatEN": "container [operation] [name] [newName]"
},
{
"api": "/api/v1/containers/repo",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建镜像仓库 [name]",
"formatEN": "create image repo [name]"
},
{
"api": "/api/v1/containers/repo/update",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_column": "id",
"input_value": "id",
"isList": false,
"db": "image_repos",
"output_colume": "name",
"output_value": "name"
}
],
"formatZH": "更新镜像仓库 [name]",
"formatEN": "update image repo information [name]"
},
{
"api": "/api/v1/containers/repo/del",
"method": "POST",
"bodyKeys": [
"ids"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "ids",
"isList": true,
"db": "image_repos",
"output_colume": "name",
"output_value": "names"
}
],
"formatZH": "删除镜像仓库 [names]",
"formatEN": "delete image repo [names]"
},
{
"api": "/api/v1/containers/compose",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建 compose [name]",
"formatEN": "create compose [name]"
},
{
"api": "/api/v1/containers/compose/operate",
"method": "POST",
"bodyKeys": [
"name",
"operation"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "compose [operation] [name]",
"formatEN": "compose [operation] [name]"
},
{
"api": "/api/v1/containers/compose/update",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新 compose [name]",
"formatEN": "update compose information [name]"
},
{
"api": "/api/v1/containers/template/update",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "compose_templates",
"output_colume": "name",
"output_value": "name"
}
],
"formatZH": "更新 compose 模版 [name]",
"formatEN": "update compose template information [name]"
},
{
"api": "/api/v1/containers/template",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建 compose 模版 [name]",
"formatEN": "create compose template [name]"
},
{
"api": "/api/v1/containers/template/del",
"method": "POST",
"bodyKeys": [
"ids"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "ids",
"isList": true,
"db": "compose_templates",
"output_colume": "name",
"output_value": "names"
}
],
"formatZH": "删除 compose 模版 [names]",
"formatEN": "delete compose template [names]"
},
{
"api": "/api/v1/containers/image/pull",
"method": "POST",
"bodyKeys": [
"repoID",
"imageName"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "repoID",
"isList": false,
"db": "image_repos",
"output_colume": "name",
"output_value": "reponame"
}
],
"formatZH": "镜像拉取 [reponame][imageName]",
"formatEN": "image pull [reponame][imageName]"
},
{
"api": "/api/v1/containers/image/push",
"method": "POST",
"bodyKeys": [
"repoID",
"tagName",
"name"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "repoID",
"isList": false,
"db": "image_repos",
"output_colume": "name",
"output_value": "reponame"
}
],
"formatZH": "[tagName] 推送到 [reponame][name]",
"formatEN": "push [tagName] to [reponame][name]"
},
{
"api": "/api/v1/containers/image/save",
"method": "POST",
"bodyKeys": [
"tagName",
"path",
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "保留 [tagName] 为 [path]/[name]",
"formatEN": "save [tagName] as [path]/[name]"
},
{
"api": "/api/v1/containers/image/load",
"method": "POST",
"bodyKeys": [
"path"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "从 [path] 加载镜像",
"formatEN": "load image from [path]"
},
{
"api": "/api/v1/containers/image/remove",
"method": "POST",
"bodyKeys": [
"names"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "移除镜像 [names]",
"formatEN": "remove image [names]"
},
{
"api": "/api/v1/containers/image/tag",
"method": "POST",
"bodyKeys": [
"repoID",
"targetName"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "repoID",
"isList": false,
"db": "image_repos",
"output_colume": "name",
"output_value": "reponame"
}
],
"formatZH": "tag 镜像 [reponame][targetName]",
"formatEN": "tag image [reponame][targetName]"
},
{
"api": "/api/v1/containers/image/build",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "构建镜像 [name]",
"formatEN": "build image [name]"
},
{
"api": "/api/v1/containers/network",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建容器网络 name",
"formatEN": "create container network [name]"
},
{
"api": "/api/v1/containers/network/del",
"method": "POST",
"bodyKeys": [
"names"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "删除容器网络 [names]",
"formatEN": "delete container network [names]"
},
{
"api": "/api/v1/containers/volume",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建容器存储卷 [name]",
"formatEN": "create container volume [name]"
},
{
"api": "/api/v1/containers/volume/del",
"method": "POST",
"bodyKeys": [
"names"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "删除容器存储卷 [names]",
"formatEN": "delete container volume [names]"
},
{
"api": "/api/v1/containers/docker/operate",
"method": "POST",
"bodyKeys": [
"operation"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "docker 服务 [operation]",
"formatEN": "[operation] docker service"
},
{
"api": "/api/v1/containers/daemonjson/update",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新 docker daemon.json 配置",
"formatEN": "Updated the docker daemon.json configuration"
},
{
"api": "/api/v1/containers/daemonjson/update/byfile",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新 docker daemon.json 配置",
"formatEN": "Updated the docker daemon.json configuration"
},
{
"api": "/api/v1/cronjobs/del",
"method": "POST",
"bodyKeys": [
"ids"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "ids",
"isList": true,
"db": "cronjobs",
"output_colume": "name",
"output_value": "names"
}
],
"formatZH": "删除计划任务 [names]",
"formatEN": "delete cronjob [names]"
},
{
"api": "/api/v1/cronjobs/update",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "cronjobs",
"output_colume": "name",
"output_value": "name"
}
],
"formatZH": "更新计划任务 [name]",
"formatEN": "update cronjob [name]"
},
{
"api": "/api/v1/cronjobs/status",
"method": "POST",
"bodyKeys": [
"id",
"status"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "cronjobs",
"output_colume": "name",
"output_value": "name"
}
],
"formatZH": "修改计划任务 [name] 状态为 [status]",
"formatEN": "change the status of cronjob [name] to [status]."
},
{
"api": "/api/v1/cronjobs/handle",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "cronjobs",
"output_colume": "name",
"output_value": "name"
}
],
"formatZH": "手动执行计划任务 [name]",
"formatEN": "manually execute the cronjob [name]"
},
{
"api": "/api/v1/databases",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建 mysql 数据库 [name]",
"formatEN": "create mysql database [name]"
},
{
"api": "/api/v1/databases/backup",
"method": "POST",
"bodyKeys": [
"mysqlName",
"dbName"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "备份 mysql 数据库 [mysqlName][dbName]",
"formatEN": "backup mysql database [mysqlName][dbName]"
},
{
"api": "/api/v1/databases/recover",
"method": "POST",
"bodyKeys": [
"mysqlName",
"dbName",
"backupName"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "恢复 mysql 数据库 [mysqlName][dbName] [backupName]",
"formatEN": "恢复 mysql 数据库 [mysqlName][dbName] [backupName]"
},
{
"api": "/api/v1/databases/recover/byupload",
"method": "POST",
"bodyKeys": [
"fileDir",
"fileName",
"mysqlName",
"dbName"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "mysql 数据库从 [fileDir]/[fileName] 恢复 [mysqlName][dbName]",
"formatEN": "mysql database recover [fileDir]/[fileName] from [mysqlName][dbName]"
},
{
"api": "/api/v1/databases/del",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "database_mysqls",
"output_colume": "name",
"output_value": "name"
}
],
"formatZH": "删除 mysql 数据库 [name]",
"formatEN": "delete mysql database [name]"
},
{
"api": "/api/v1/databases/description/update",
"method": "POST",
"bodyKeys": ["id", "description"],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "database_mysqls",
"output_colume": "name",
"output_value": "name"
}
],
"formatZH": "mysql 数据库 [name] 描述信息修改 [description]",
"formatEN": "The description of the mysql database [name] is modified => [description]"
},
{
"api": "/api/v1/databases/variables/update",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "调整 mysql 数据库性能参数",
"formatEN": "adjust mysql database performance parameters"
},
{
"api": "/api/v1/databases/conffile/update",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新 mysql 数据库配置信息",
"formatEN": "update the mysql database configuration information"
},
{
"api": "/api/v1/databases/redis/password",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "修改 redis 数据库密码",
"formatEN": "change the password of the redis database"
},
{
"api": "/api/v1/databases/redis/backup",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "备份 redis 数据库",
"formatEN": "backup redis database"
},
{
"api": "/api/v1/databases/redis/recover",
"method": "POST",
"bodyKeys": [
"fileDir",
"fileName"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "redis 数据库从 [fileDir]/[fileName] 恢复",
"formatEN": "redis database recover from [fileDir]/[fileName]"
},
{
"api": "/api/v1/databases/redis/conf/update",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新 redis 数据库配置信息",
"formatEN": "update the redis database configuration information"
},
{
"api": "/api/v1/databases/redis/conffile/update",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新 redis 数据库配置信息",
"formatEN": "update the redis database configuration information"
},
{
"api": "/api/v1/databases/redis/persistence/update",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "redis 数据库持久化配置更新",
"formatEN": "redis database persistence configuration update"
},
{
"api": "/api/v1/commands",
"method": "POST",
"bodyKeys": [
"name",
"command"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建快捷命令 [name][command]",
"formatEN": "create quick command [name][command]"
},
{
"api": "/api/v1/commands/del",
"method": "POST",
"bodyKeys": [
"ids"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "ids",
"isList": true,
"db": "commands",
"output_colume": "name",
"output_value": "names"
}
],
"formatZH": "删除快捷命令 [names]",
"formatEN": "delete quick command [names]"
},
{
"api": "/api/v1/commands/update",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新快捷命令 [name]",
"formatEN": "update quick command [name]"
},
{
"api": "/api/v1/backups",
"method": "POST",
"bodyKeys": [
"type"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建备份账号 [type]",
"formatEN": "create backup account [type]"
},
{
"api": "/api/v1/backups/del",
"method": "POST",
"bodyKeys": [
"ids"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "ids",
"isList": true,
"db": "backup_accounts",
"output_colume": "type",
"output_value": "types"
}
],
"formatZH": "删除备份账号 [types]",
"formatEN": "delete backup account [types]"
},
{
"api": "/api/v1/backups/update",
"method": "POST",
"bodyKeys": [
"type"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新备份账号 [types]",
"formatEN": "update backup account [types]"
},
{
"api": "/api/v1/backups/record/download",
"method": "POST",
"bodyKeys": [
"source",
"fileName"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "下载备份记录 [source][fileName]",
"formatEN": "download backup records [source][fileName]"
},
{
"api": "/api/v1/backups/record/del",
"method": "POST",
"bodyKeys": [
"ids"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "ids",
"isList": true,
"db": "backup_records",
"output_colume": "file_name",
"output_value": "files"
}
],
"formatZH": "删除备份记录 [files]",
"formatEN": "delete backup records [files]"
},
{
"api": "/api/v1/groups/del",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "groups",
"output_colume": "name",
"output_value": "name"
}
],
"formatZH": "删除组 [name]",
"formatEN": "delete group [name]"
},
{
"api": "/api/v1/groups/update",
"method": "POST",
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新组 [name][type]",
"formatEN": "update group [name][type]"
},
{
"api": "/api/v1/groups",
"method": "POST",
"bodyKeys": [
"name",
"type"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建组 [name][type]",
"formatEN": "create group [name][type]"
},
{
"api": "/api/v1/hosts/del",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "hosts",
"output_colume": "addr",
"output_value": "addr"
}
],
"formatZH": "删除主机 [addr]",
"formatEN": "delete host [addr]"
},
{
"api": "/api/v1/hosts/update",
"method": "POST",
"bodyKeys": [
"name",
"addr"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新主机信息 [name][addr]",
"formatEN": "update host [name][addr]"
},
{
"api": "/api/v1/hosts",
"method": "POST",
"bodyKeys": [
"name",
"addr"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建主机 [name][addr]",
"formatEN": "create host [name][addr]"
},
{
"api": "/api/v1/settings/expired/handle",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "重置过期密码",
"formatEN": "reset an expired Password"
},
{
"api": "/api/v1/settings/update",
"method": "POST",
"bodyKeys": [
"key",
"value"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "修改系统配置 [key] => [value]",
"formatEN": "update system setting [key] => [value]"
},
{
"api": "/api/v1/settings/password/update",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "修改系统密码",
"formatEN": "update system password"
},
{
"api": "/api/v1/settings/time/sync",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "系统时间同步",
"formatEN": "sync system time"
},
{
"api": "/api/v1/settings/monitor/clean",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "清空监控数据",
"formatEN": "clean monitor datas"
},
{
"api": "/api/v1/settings/mfa/bind",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "mfa 绑定",
"formatEN": "bind mfa"
},
{
"api": "/api/v1/apps/sync",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "应用商店同步",
"formatEN": "App store synchronization"
},
{
"api": "/api/v1/apps/install",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "name",
"input_value": "name",
"isList": false,
"db": "app_installs",
"output_colume": "app_id",
"output_value": "appId"
},
{
"info": "appId",
"isList": false,
"db": "apps",
"output_colume": "key",
"output_value": "appKey"
}
],
"formatZH": "安装应用 [appKey]-[name]",
"formatEN": "Install app [appKey]-[name]"
},
{
"api": "/api/v1/apps/installed/op",
"method": "POST",
"bodyKeys": [
"installId",
"operate"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "installId",
"isList": false,
"db": "app_installs",
"output_colume": "app_id",
"output_value": "appId"
},
{
"input_colume": "id",
"input_value": "installId",
"isList": false,
"db": "app_installs",
"output_colume": "name",
"output_value": "appName"
},
{
"input_colume": "id",
"input_value": "appId",
"isList": false,
"db": "apps",
"output_colume": "key",
"output_value": "appKey"
}
],
"formatZH": "[appKey] 应用 [appName] [operate]",
"formatEN": "[appKey] App [appName] [operate]"
},
{
"api": "/api/v1/apps/installed/sync",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "已安装应用同步",
"formatEN": "App installed synchronization"
},
{
"api": "/api/v1/apps/installed/backups/del",
"method": "POST",
"bodyKeys": [
"ids"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "ids",
"isList": true,
"db": "app_install_backups",
"output_colume": "name",
"output_value": "names"
}
],
"formatZH": "删除应用备份 [names]",
"formatEN": "Deleting an Application Backup [names]"
},
{
"api": "/api/v1/apps/installed/port/change",
"method": "POST",
"bodyKeys": [
"key",
"name",
"port"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "应用端口修改 [key]-[name] => [port]",
"formatEN": "Application port update [key]-[name] => [port]"
},
{
"api": "/api/v1/apps/installed/port/change",
"method": "POST",
"bodyKeys": [
"key",
"name",
"port"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "应用端口修改 [key]-[name] => [port]",
"formatEN": "Application port update [key]-[name] => [port]"
},
{
"api": "/api/v1/apps/files",
"method": "POST",
"bodyKeys": [
"path"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建文件/文件夹 [path]",
"formatEN": "Create dir or file [path]"
},
{
"api": "/api/v1/apps/files/del",
"method": "POST",
"bodyKeys": [
"path"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "删除文件/文件夹 [path]",
"formatEN": "Delete dir or file [path]"
},
{
"api": "/api/v1/apps/files/batch/del",
"method": "POST",
"bodyKeys": [
"paths"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "批量删除文件/文件夹 [paths]",
"formatEN": "Batch delete dir or file [paths]"
},
{
"api": "/api/v1/apps/files/mode",
"method": "POST",
"bodyKeys": [
"path",
"mode"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "修改权限 [paths] => [mode]",
"formatEN": "Change mode [paths] => [mode]"
},
{
"api": "/api/v1/apps/files/compress",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "压缩文件 [name]",
"formatEN": "Compress file [name]"
},
{
"api": "/api/v1/apps/files/decompress",
"method": "POST",
"bodyKeys": [
"path"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "解压 [path]",
"formatEN": "Decompress file [path]"
},
{
"api": "/api/v1/apps/files/upload",
"method": "POST",
"bodyKeys": [
"path"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "上传文件 [path]",
"formatEN": "Upload file [path]"
},
{
"api": "/api/v1/apps/files/rename",
"method": "POST",
"bodyKeys": [
"oldName",
"newName"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "重命名 [oldName] => [newName]",
"formatEN": "Rename [oldName] => [newName]"
},
{
"api": "/api/v1/apps/files/wget",
"method": "POST",
"bodyKeys": [
"url",
"path",
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "下载 url => [path]/[name]",
"formatEN": "Download url => [path]/[name]"
},
{
"api": "/api/v1/apps/files/move",
"method": "POST",
"bodyKeys": [
"oldPaths",
"newPath"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "移动文件 [oldPaths] => [newPath]",
"formatEN": "Move [oldPaths] => [newPath]"
},
{
"api": "/api/v1/apps/files/download",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "下载文件 [name]",
"formatEN": "Download file [name]"
},
{
"api": "/api/v1/apps/nginx/update",
"method": "POST",
"bodyKeys": [
"websiteId"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "websiteId",
"isList": false,
"db": "websites",
"output_colume": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "更新 nginx 配置 [domain]",
"formatEN": "Update nginx conf [domain]"
},
{
"api": "/api/v1/apps/nginx/file",
"method": "POST",
"bodyKeys": [],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新 nginx 配置",
"formatEN": "Update nginx conf"
},
{
"api": "/api/v1/websites/acme",
"method": "POST",
"bodyKeys": [
"email"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建网站 acme [email]",
"formatEN": "Create website acme [email]"
},
{
"api": "/api/v1/websites/acme/del",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "website_acme_accounts",
"output_colume": "email",
"output_value": "email"
}
],
"formatZH": "删除网站 acme [email]",
"formatEN": "Delete website acme [email]"
},
{
"api": "/api/v1/websites/dns",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建网站 dns [name]",
"formatEN": "Create website dns [name]"
},
{
"api": "/api/v1/websites/dns/update",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新网站 dns [name]",
"formatEN": "Update website dns [name]"
},
{
"api": "/api/v1/websites/dns/del",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "website_dns_accounts",
"output_colume": "name",
"output_value": "name"
}
],
"formatZH": "删除网站 dns [name]",
"formatEN": "Delete website dns [name]"
},
{
"api": "/api/v1/websites/groups",
"method": "POST",
"bodyKeys": [
"name"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建网站组 [name]",
"formatEN": "Create website groups [name]"
},
{
"api": "/api/v1/websites/ssl",
"method": "POST",
"bodyKeys": [
"primaryDomain"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建网站 ssl [primaryDomain]",
"formatEN": "Create website ssl [primaryDomain]"
},
{
"api": "/api/v1/websites/ssl/renew",
"method": "POST",
"bodyKeys": [
"SSLId"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "SSLId",
"isList": false,
"db": "website_ssls",
"output_colume": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "重置 ssl [domain]",
"formatEN": "Renew ssl [domain]"
},
{
"api": "/api/v1/websites",
"method": "POST",
"bodyKeys": [
"primaryDomain"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建网站 [primaryDomain]",
"formatEN": "Create website [primaryDomain]"
},
{
"api": "/api/v1/websites/update",
"method": "POST",
"bodyKeys": [
"primaryDomain"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "更新网站 [primaryDomain]",
"formatEN": "Update website [primaryDomain]"
},
{
"api": "/api/v1/websites/del",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "websites",
"output_colume": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "删除网站 [domain]",
"formatEN": "Delete website [domain]"
},
{
"api": "/api/v1/websites/recover",
"method": "POST",
"bodyKeys": [
"websiteName",
"backupName"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "[websiteName] 从备份恢复 [backupName]",
"formatEN": "[websiteName] recover from backups [backupName]"
},
{
"api": "/api/v1/websites/recover/byupload",
"method": "POST",
"bodyKeys": [
"websiteName",
"fileDir",
"fileName"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "[websiteName] 从上传恢复 [fileDir]/[fileName]",
"formatEN": "[websiteName] recover from uploads [fileDir]/[fileName]"
},
{
"api": "/api/v1/websites/domains/del",
"method": "POST",
"bodyKeys": [
"id"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "id",
"isList": false,
"db": "website_domains",
"output_colume": "domain",
"output_value": "domain"
}
],
"formatZH": "删除域名 [domain]",
"formatEN": "Delete domain [domain]"
},
{
"api": "/api/v1/websites/domains",
"method": "POST",
"bodyKeys": [
"domain"
],
"paramKeys": [],
"BeforeFuntions": [],
"formatZH": "创建域名 [domain]",
"formatEN": "Create domain [domain]"
},
{
"api": "/api/v1/websites/config/update",
"method": "POST",
"bodyKeys": [
"websiteId"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "websiteId",
"isList": false,
"db": "websites",
"output_colume": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "nginx 配置修改 [domain]",
"formatEN": "Nginx conf update [domain]"
},
{
"api": "/api/v1/websites/waf/update",
"method": "POST",
"bodyKeys": [
"websiteId"
],
"paramKeys": [],
"BeforeFuntions": [
{
"input_colume": "id",
"input_value": "websiteId",
"isList": false,
"db": "websites",
"output_colume": "primary_domain",
"output_value": "domain"
}
],
"formatZH": "WAF 配置修改 [domain]",
"formatEN": "WAF conf update [domain]"
}
]