v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1351327.4 KB
hashList

Gets the latest contents of a hash list. A hash list may either by a threat list or a non-threat list such as the Global Cache. This is a standard Get method as defined by https://google.aip.dev/131 and the HTTP method is also GET.

get/v5/hashList/{name}

Path parameters

namestring required

Required. The name of this particular hash list. It may be a threat list, or it may be the Global Cache.

Query parameters

sizeConstraints.maxDatabaseEntriesinteger

Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client to store less than this number of entries.) If omitted or zero, no database size limit is set.

sizeConstraints.maxUpdateEntriesinteger

The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will contain fewer entries than this value. This MUST be at least 1024. If omitted or zero, no update size limit is set.

versionstring

The version of the hash list that the client already has. If this is the first time the client is fetching the hash list, this field MUST be left empty. Otherwise, the client SHOULD supply the version previously received from the server. The client MUST NOT manipulate those bytes. What's new in V5: in V4 of the API, this was called states; it is now renamed to version for clarity.

Response

Successful response