Endpoint Method Rule Purpose
add POST /patient/add Adds or updates one patient by submitting a json payload structured as described in the MME API.
delete DELETE patient/delete/<patient_id> Deletes the patient with the given ID and all its matching results from the database.
heartbeat † GET /heartbeat Returns a heartbeat response as defined in the MME API.
match_external POST /match/external/<patient_id> Matches data from a patient already stored in PatientMatcher with a given ID against connected MME nodes.
match_internal POST /match Matches json data received from a request sent from a connected node against the patients stored in PatientMatcher’s database. Returns a response to the requester with eventual matches.
matches GET /matches/<patient_id> Returns all positive matches stored in the database for the patient with a given ID.
metrics † GET /metrics Returns a json object with server statistics described in the MME API.
nodes GET /nodes Returns a response describing all connected nodes to the server.