I have a usecase where i’m fetching all schema versions of a KoBo survey and combining the questions of all versions in a single survey in a different format to show it in my dashboard with charts and filters. And i’m also making a map
of version id → response key, for correctly transforming the responses to my format.
So the survey that i’m trying to transform have 4 schema versions and most of the same questions across different versions have different $kuid
s. And the $xpath
is also missing from every question.
I’ve created a new survey and it’s working as expected. it’s returning the same $kuid
for same questions across versiosns.
Endpoint: https://kf.kobotoolbox.org/api/v2/assets/:assetID/versions/:versionID/?format=json