99 lines
3.0 KiB
Plaintext
99 lines
3.0 KiB
Plaintext
emqx_mgmt_api_banned {
|
||
|
||
list_banned_api {
|
||
desc {
|
||
en: """List all currently banned client IDs, usernames and IP addresses."""
|
||
zh: """列出目前所有被封禁的客户端 ID、用户名和 IP 地址。"""
|
||
}
|
||
}
|
||
|
||
create_banned_api {
|
||
desc {
|
||
en: """Add a client ID, username or IP address to the blacklist."""
|
||
zh: """添加一个客户端 ID、用户名或者 IP 地址到黑名单。"""
|
||
}
|
||
}
|
||
|
||
create_banned_api_response400 {
|
||
desc {
|
||
en: """Bad request, possibly due to wrong parameters or the existence of a banned object."""
|
||
zh: """错误的请求,可能是参数错误或封禁对象已存在等原因。"""
|
||
}
|
||
}
|
||
|
||
delete_banned_api {
|
||
desc {
|
||
en: """Remove a client ID, username or IP address from the blacklist."""
|
||
zh: """将一个客户端 ID、用户名或者 IP 地址从黑名单中删除。"""
|
||
}
|
||
}
|
||
|
||
delete_banned_api_response404 {
|
||
desc {
|
||
en: """The banned object was not found in the blacklist."""
|
||
zh: """未在黑名单中找到该封禁对象。"""
|
||
}
|
||
}
|
||
|
||
as {
|
||
desc {
|
||
en: """Ban method, which can be client ID, username or IP address."""
|
||
zh: """封禁方式,可以通过客户端 ID、用户名或者 IP 地址等方式进行封禁。"""
|
||
}
|
||
label {
|
||
en: """Ban Method"""
|
||
zh: """封禁方式"""
|
||
}
|
||
}
|
||
who {
|
||
desc {
|
||
en: """Ban object, specific client ID, username or IP address."""
|
||
zh: """封禁对象,具体的客户端 ID、用户名或者 IP 地址。"""
|
||
}
|
||
label {
|
||
en: """Ban Object"""
|
||
zh: """封禁对象"""
|
||
}
|
||
}
|
||
by {
|
||
desc {
|
||
en: """Initiator of the ban."""
|
||
zh: """封禁的发起者。"""
|
||
}
|
||
label {
|
||
en: """Ban Initiator"""
|
||
zh: """封禁发起者"""
|
||
}
|
||
}
|
||
reason {
|
||
desc {
|
||
en: """Ban reason, record the reason why the current object was banned."""
|
||
zh: """封禁原因,记录当前对象被封禁的原因。"""
|
||
}
|
||
label {
|
||
en: """Ban Reason"""
|
||
zh: """封禁原因"""
|
||
}
|
||
}
|
||
at {
|
||
desc {
|
||
en: """The start time of the ban, the format is rfc3339, the default is the time when the operation was initiated."""
|
||
zh: """封禁的起始时间,格式为 rfc3339,默认为发起操作的时间。"""
|
||
}
|
||
label {
|
||
en: """Ban Time"""
|
||
zh: """封禁时间"""
|
||
}
|
||
}
|
||
until {
|
||
desc {
|
||
en: """The end time of the ban, the format is rfc3339, the default is the time when the operation was initiated + 5 minutes."""
|
||
zh: """封禁的结束时间,式为 rfc3339,默认为发起操作的时间 + 5 分钟。"""
|
||
}
|
||
label {
|
||
en: """Ban End Time"""
|
||
zh: """封禁结束时间"""
|
||
}
|
||
}
|
||
}
|