Skip to navigation

/diseases/countries/{country_code}/all

View as Markdown

Returns every disease in the GIDEON disease catalog scoped to a country: each row identifies the disease, whether a country distribution note exists, whether the disease is endemic in that country (from incidence data), an optional annual rate, and an href to GET /diseases/{disease_code}/distribution/{country_code} (same path shape as elsewhere in this collection).

This differs from GET /diseases/countries/{country_code}, which returns only diseases that have a country note for that country.

Path parameters

NameDescription
country_codeGIDEON country code.

Query parameters

NameDescription
returnsimple (default) or detailed. simple returns compact rows (id, name, has_country_note, href, is_endemic, annual_rate). detailed returns the full disease-record projection used elsewhere in the Diseases API (restructured to lowercase JSON keys), with pagination fields total, offset, and limit.
searchOptional prefix filter on disease name (case-sensitive on the server; empty means no name filter).
limit / offsetPagination for return=detailed (ignored for simple). limit is capped by the server max records setting for the caller.

Response (return=simple)

{ "data": [ … ] } — no top-level timestamp. Each item: id (disease id), name, boolean has_country_note, href, boolean is_endemic, annual_rate (number or null when absent).

Authentication

Authorizationstring
API Key authentication via header

Response

OK
datalist of objects