docs(status_api): add remark about feature introduction versions
This commit is contained in:
parent
935513d38c
commit
198ddda8bc
|
@ -1,7 +1,7 @@
|
||||||
%% -*- mode: erlang -*-
|
%% -*- mode: erlang -*-
|
||||||
{application, emqx_exhook, [
|
{application, emqx_exhook, [
|
||||||
{description, "EMQX Extension for Hook"},
|
{description, "EMQX Extension for Hook"},
|
||||||
{vsn, "5.0.5"},
|
{vsn, "5.0.6"},
|
||||||
{modules, []},
|
{modules, []},
|
||||||
{registered, []},
|
{registered, []},
|
||||||
{mod, {emqx_exhook_app, []}},
|
{mod, {emqx_exhook_app, []}},
|
||||||
|
|
|
@ -8,13 +8,19 @@ emqx_mgmt_api_status {
|
||||||
"Returns status code 200 if the EMQX application is up and running, "
|
"Returns status code 200 if the EMQX application is up and running, "
|
||||||
"503 otherwise."
|
"503 otherwise."
|
||||||
"\n"
|
"\n"
|
||||||
|
"This API was introduced in v5.0.10."
|
||||||
|
"\n"
|
||||||
"The GET `/status` endpoint (without the `/api/...` prefix) is also an alias"
|
"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"
|
zh: "作为节点的健康检查。 返回一个纯文本的响应,描述节点的状态。\n"
|
||||||
"\n"
|
"\n"
|
||||||
"如果 EMQX 应用程序已经启动并运行,返回状态代码 200,否则返回 503。\n"
|
"如果 EMQX 应用程序已经启动并运行,返回状态代码 200,否则返回 503。\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
"这个API是在v5.0.10中引入的。"
|
||||||
|
"\n"
|
||||||
"GET `/status`端点(没有`/api/...`前缀)也是这个端点的一个别名,工作方式相同。"
|
"GET `/status`端点(没有`/api/...`前缀)也是这个端点的一个别名,工作方式相同。"
|
||||||
|
" 这个别名从v5.0.0开始就有了。"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue