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)

清單中的項目類型。