hashes
Gets the full hashes that match the requested hash prefix. This is used after a hash prefix is looked up in a threatList and there is a match. The client side threatList only holds partial hashes so the client must query this method to determine if there is a full hash match of a threat.
get/v1/hashes:search
Request
- Base URL: https://webrisk.googleapis.com
- URL: https://webrisk.googleapis.com/v1/hashes:search
- Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)
Query parameters
hashPrefixstring
A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. For JSON requests, this field is base64-encoded. Note that if this parameter is provided by a URI, it must be encoded using the web safe base64 variant (RFC 4648).
threatTypesstring[]
Required. The ThreatLists to search in. Multiple ThreatLists may be specified.
Response
Successful response
Changes
- breaking
removed the media type
*/*for the response with the status
- breaking