From 092c6d51bb9d356e80adb0d8ef7f3470f813098d Mon Sep 17 00:00:00 2001 From: zhangshenghang Date: Mon, 21 Oct 2024 23:24:33 +0800 Subject: [PATCH] init --- docs/en/seatunnel-engine/rest-api-v2.md | 12 +++++++----- docs/zh/seatunnel-engine/rest-api-v2.md | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/en/seatunnel-engine/rest-api-v2.md b/docs/en/seatunnel-engine/rest-api-v2.md index c21d0531221..acd8bd636de 100644 --- a/docs/en/seatunnel-engine/rest-api-v2.md +++ b/docs/en/seatunnel-engine/rest-api-v2.md @@ -17,8 +17,9 @@ The v2 version of the api uses jetty support. It is the same as the interface sp seatunnel: engine: - enable-http: true - port: 8080 + http: + enable-http: true + port: 8080 ``` Context-path can also be configured as follows: @@ -27,9 +28,10 @@ Context-path can also be configured as follows: seatunnel: engine: - enable-http: true - port: 8080 - context-path: /seatunnel + http: + enable-http: true + port: 8080 + context-path: /seatunnel ``` ## API reference diff --git a/docs/zh/seatunnel-engine/rest-api-v2.md b/docs/zh/seatunnel-engine/rest-api-v2.md index 50f7eef3b10..26ca116845e 100644 --- a/docs/zh/seatunnel-engine/rest-api-v2.md +++ b/docs/zh/seatunnel-engine/rest-api-v2.md @@ -13,8 +13,9 @@ v2版本的api使用jetty支持,与v1版本的接口规范相同 ,可以通过 seatunnel: engine: - enable-http: true - port: 8080 + http: + enable-http: true + port: 8080 ``` 同时也可以配置context-path,配置如下: @@ -23,9 +24,10 @@ seatunnel: seatunnel: engine: - enable-http: true - port: 8080 - context-path: /seatunnel + http: + enable-http: true + port: 8080 + context-path: /seatunnel ``` ## API参考