Method: threatLists.list

列出可供下载的安全浏览威胁列表。

HTTP 请求

GET https://safebrowsing.googleapis.com/v4/threatLists

网址采用 gRPC 转码语法。

请求正文

请求正文必须为空。

响应正文

如果成功,响应正文将包含结构如下的数据:

JSON 表示法
{
  "threatLists": [
    {
      object (ThreatListDescriptor)
    }
  ]
}
字段
threatLists[]

object (ThreatListDescriptor)

可供客户下载的列表。

ThreatListDescriptor

描述单个威胁列表。列表由三个参数定义:所设威胁的类型、威胁所针对的平台类型,以及列表中的条目类型。

JSON 表示法
{
  "threatType": enum (ThreatType),
  "platformType": enum (PlatformType),
  "threatEntryType": enum (ThreatEntryType)
}
字段
threatType

enum (ThreatType)

列表条目带来的威胁类型。

platformType

enum (PlatformType)

列表条目定位的平台类型。

threatEntryType

enum (ThreatEntryType)

列表中包含的条目类型。