docs(status_api): add remark about feature introduction versions

This commit is contained in:
Thales Macedo Garitezi 2022-10-31 14:02:55 -03:00
parent 935513d38c
commit 198ddda8bc
2 changed files with 8 additions and 2 deletions

View File

@ -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, []}},

View File

@ -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开始就有了。"
}
}