From 198ddda8bc4d83de5776bbf47e28c18a2a4ee3c0 Mon Sep 17 00:00:00 2001 From: Thales Macedo Garitezi Date: Mon, 31 Oct 2022 14:02:55 -0300 Subject: [PATCH] docs(status_api): add remark about feature introduction versions --- apps/emqx_exhook/src/emqx_exhook.app.src | 2 +- apps/emqx_management/i18n/emqx_mgmt_api_status_i18n.conf | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/emqx_exhook/src/emqx_exhook.app.src b/apps/emqx_exhook/src/emqx_exhook.app.src index 3f844f61d..4e8abef81 100644 --- a/apps/emqx_exhook/src/emqx_exhook.app.src +++ b/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, []}}, diff --git a/apps/emqx_management/i18n/emqx_mgmt_api_status_i18n.conf b/apps/emqx_management/i18n/emqx_mgmt_api_status_i18n.conf index 9c09806cd..fae17b35d 100644 --- a/apps/emqx_management/i18n/emqx_mgmt_api_status_i18n.conf +++ b/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开始就有了。" } }