Просмотр исходного кода

docs(status_api): add remark about feature introduction versions

Thales Macedo Garitezi 3 лет назад
Родитель
Сommit
198ddda8bc

+ 1 - 1
apps/emqx_exhook/src/emqx_exhook.app.src

@@ -1,7 +1,7 @@
 %% -*- mode: erlang -*-
 {application, emqx_exhook, [
     {description, "EMQX Extension for Hook"},
-    {vsn, "5.0.5"},
+    {vsn, "5.0.6"},
     {modules, []},
     {registered, []},
     {mod, {emqx_exhook_app, []}},

+ 7 - 1
apps/emqx_management/i18n/emqx_mgmt_api_status_i18n.conf

@@ -8,13 +8,19 @@ emqx_mgmt_api_status {
           "Returns status code 200 if the EMQX application is up and running, "
           "503 otherwise."
           "\n"
+          "This API was introduced in v5.0.10."
+          "\n"
           "The GET `/status` endpoint (without the `/api/...` prefix) is also an alias"
-          " to this endpoint and works in the same way."
+          " to this endpoint and works in the same way.  This alias has been available since"
+          " v5.0.0."
       zh: "作为节点的健康检查。 返回一个纯文本的响应,描述节点的状态。\n"
           "\n"
           "如果 EMQX 应用程序已经启动并运行,返回状态代码 200,否则返回 503。\n"
           "\n"
+          "这个API是在v5.0.10中引入的。"
+          "\n"
           "GET `/status`端点(没有`/api/...`前缀)也是这个端点的一个别名,工作方式相同。"
+          " 这个别名从v5.0.0开始就有了。"
     }
   }