Skip to navigation

/diseases/outbreaks/population

View as Markdown

Returns the reference list of outbreak populations (human and animal host or cohort labels attached to outbreak records). Each item has population_code (numeric id), population (label), and is_human (1 = human population, 0 = animal population).

On GET /diseases/outbreaks/filter, pass population_code as population for the human population field, or as animalPopulation for the animal population field (the same ids appear in outbreak rows and in filter facets). For values already constrained by other outbreak filters, GET /diseases/outbreaks/filter-options returns overlapping options under data.populations / data.animal_populations (with population_code / animal_population_code respectively).

Query parameters

NameRequiredDescription
searchNoIf set, only rows whose population label starts with this string are returned (prefix match).

Authentication

Authorizationstring
API Key authentication via header

Response

OK
datalist of objects