Skip to content

[hma] Match Lookup API that provides more metadata #1681

@Dcallies

Description

@Dcallies

Today's Lookup APIs

https://github.com/haianhng31/ThreatExchange/blob/8d10599cda78afa49f763c08ca556db94f4ae332/hasher-matcher-actioner/src/OpenMediaMatch/blueprints/matching.py

Ideal Usecase - Reddit Request

@aokolish representing request:

Input:

  1. Required
    1. Signal type
      1 .hash
  2. Optional
    1. Resolve 3P record json

Output:
List of match objects:

   Bank: [
       bank_content_id: {
          distance
          // Example
          3P_exchange_type:  exchange_type: NCMEC
          3P_Records: {3p_id: NCMEC_ID        
              exchange_data: {  // Specific to exchange type
                  member_entries: {
                     member_id: [tags]
              }
          } 
       }
   ]

Notes:

  • Do not return disabled hashes or banks

Metadata

Metadata

Assignees

Labels

hmaItems related to the hasher-matcher-actioner system

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions