Does kobo support paginated call api
Hi Musa, it does. Iām actually working on a project right now (using OpenFn) that makes use of this feature to query for new submissions periodically, clean them, and load them into another database. Check out the API docs below:
Pagination
Two parameters can be used to control pagination.
start
: Index (zero-based) from which the results startlimit
: Number of results per page Maximum results per page is 30000
Example: The first ten results
curl -X GET https://[kpi]/api/v2/assets/aSAvYreNzVEkrWg5Gdcvg/data/?start=0&limit=10
Query submitted data
Provides a list of submitted data for a specific form. Use query
parameter to apply form data specific, see [KOBO FORUM IS BLOCKING THIS LINK TO MONGODB!?].
For more details see API Parameters. [KOBO FORUM IS BLOCKING THIS LINK TO FORMHUB!?]. API parameter count
is not implemented
GET /api/v2/assets/
{asset_uid}
/data/?query={āfieldā:āvalueā} GET /api/v2/assets/
{asset_uid}
/data/?query={āfieldā:{āopā: āvalueā}}"
Example
curl -X GET 'https://[kpi]/api/v2/assets/aSAvYreNzVEkrWg5Gdcvg/data/?query={"__version__": "vWvkKzNE8xCtfApJvabfjG"}'
curl -X GET āhttps://[kpi]/api/v2/assets/aSAvYreNzVEkrWg5Gdcvg/data/?query={ā_submission_timeā: {ā$gtā: ā2019-09-01T01:02:03ā}}ā
Hi @taylordowns2000,
Welcome to the community! Thank you for providing the solution to the query and making the community rich with KoBoToolbox documentation
Expecting the same in the upcoming days as well.
Have a great day!
Thanks, Kal! Pleasure to be here. Just FYI, I ran into a problemāwhen I tried to paste from the Kobo docs the reply was blocked because it contained āmore than 2 linksā. Do you know if thereās a way to lift that limit? (Or do I need to accrue a certain number of āpointsā before I can make posts with >2 links?)
Hi @taylordowns2000,
You should now be able to smoothly make post within the community. The community should be able to learn a lot from your posts.
Have a great day!