Skip to main content

logo_matches

Creates, updates, deletes, gets or lists a logo_matches resource.

Overview

Namelogo_matches
TypeResource
Idcloudflare.brand_protection.logo_matches

Fields

The following fields are returned by SELECT queries:

Successfully retrieved logo matches

NameDatatypeDescription
idinteger
query_idinteger
url_scan_idstring
content_typestring
domainstring
image_datastring
matched_atstring
registrarstring
similarity_scorenumber

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idoffset, limit, query_id, download, orderBy, orderGet paginated list of logo matches for a specific brand protection logo query

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
downloadstring
limitstring
offsetstring
orderstring
orderBystring
query_idstring

SELECT examples

Get paginated list of logo matches for a specific brand protection logo query

SELECT
id,
query_id,
url_scan_id,
content_type,
domain,
image_data,
matched_at,
registrar,
similarity_score
FROM cloudflare.brand_protection.logo_matches
WHERE account_id = '{{ account_id }}' -- required
AND offset = '{{ offset }}'
AND limit = '{{ limit }}'
AND query_id = '{{ query_id }}'
AND download = '{{ download }}'
AND orderBy = '{{ orderBy }}'
AND order = '{{ order }}'
;