Query IP blacklist and whitelist


Request URL
  • {{adminHost:8181}}/sysIp/search
Request Method
  • get
Header
Field Name Sample Required Type Note
adminKey 603284317954637824 Yes string This parameter is for backend management access credentials, which can be viewed in LarkXR3.3 backend access management
timestamp 8641706679604867 Yes string The timestamp when sending a request, in milliseconds
signature 9A02B47AE67664D80A2ED13FC2B1691512613790 Yes string This parameter is a key signature. Sort the adminKey (viewed in LarkXR3.2 backend access management), adminSecret (viewed in LarkXR3.3 backend access management), and current timestamp (long value) in alphabetical order, and then perform SHA-1 summary signature. Please refer to the example of [Obtaining Voucher Signature]
Request Query Parameters
Field Name Sample Required Type Note
page   Yes string Page number, default to 1
pageSize   Yes string How many pieces of data are there on each page, default to 15
请求参数示例


请求json字段Note
Field Name Required Type Note
id Yes string Prohibit modification, pass fixed parameter
ssKey Yes string Prohibit modification, pass fixed parameter
ssValue Yes string None
updateDate Yes string Prohibit modification, retrieve the updateDate returned in the query
Success Response Example
{
  "code": 1000,
  "message": "Success",
  "result": {
    "records": [
      {
        "id": "1192769209893912576",
        "type": 1,
        "ip": "192.168.0",
        "note": "中心管理节点的IP网段",
        "status": 1,
        "createDate": "1704419940219"
      }
    ],
    "total": "1",
    "size": "15",
    "current": "1",
    "orders": [],
    "optimizeCountSql": true,
    "searchCount": true,
    "pages": "1"
  }
}
Parameter Note for Success Response Example
Field Name Type Note
code string None
message string None
result object None
records array None
records.id string None
records.type string IP Type 1: Whitelist, 0: Blacklist
records.ip string None
records.note string None
records.status string State 1: Valid, otherwise invalid
records.createDate string None
total string None
size string None
current string None
orders array None
optimizeCountSql string None
searchCount string None
pages string None
Note

admin 2025年4月8日 14:54 收藏文档