For ODK collect we use either xformList or formList url to fetch the blank forms from server.
-
xformList url is mainly for debugging and demonstrating the differences. Also it includes an additional “majorMinorVersion” tag that is a legacy of the pre-standardized implementation (https://opendatakit.appspot.com/xformsList)
Sample Response:
<xforms xmlns=“http://openrosa.org/xforms/xformsList”>
<xform>all-widgets
<name>All widgets
<majorMinorVersion>2018081601
<version>2018081601
<hash>md5:b2b43e2b439d7181dfeb9edc540c25f6
<downloadUrl>https://opendatakit.appspot.com/formXml?formId=all-widgets
<manifestUrl>https://opendatakit.appspot.com/xformsManifest?formId=all-widgets
</xform>
</xforms>
-
formList (http://opendatakit.appspot.com/formList)
Sample Response:
<forms>
<form url=“https://opendatakit.appspot.com/formXml?formId=all-widgets”>All widgets
</forms>
Reference: Redirecting to Google Groups | Setting form list and upload parameters for connecting ODK Collect to OpenMRS - #7 by W_Brunette - Support - ODK Forum
What should be the API and response pattern for ODK2, ODK Survey? Can anyone please share the sample response to understand the difference between ODK1 and ODK2.