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)

清單中包含的項目類型。