Skip to content

searchParticipants

Query

Polymorphic name-search across participants of one type. ILIKE filter on name, alias-aware (merged rows are excluded). Returns the Entity interface — callers spread ...EntityBase plus subtype-specific inline fragments to pick the fields each surface needs in one document. Drives the racing-registry table page + the possible-duplicates directory-search + autocomplete inputs.

Returns: [Entity!]!

NameTypeDescription
entityTypeParticipantEntityType!
queryString!
limitInt
offsetInt
sportCodeSportCodeOptional sport scope (POD-354). participants / teams / competitions are shared across sports, so the TEAM + COMPETITION surfaces otherwise mix sports (a football Team list shows racing ownership syndicates). When set (e.g. RACING / FOOTBALL) results are restricted to that sport’s code; omitted → no filter (unchanged). An unknown code is rejected.