You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for basic http helpers for these methods:
GET
POST
PUT
Note that we'll revisit the existing functions like getSubmissions(...) later as Joe wants to revisit the signature and develop more of a spec for #603.
GET /api/v2/assets/{uid}/deployment/ --> this will return the deployment status of this form(which basically says whether or not this form is deployed already).
You can try with this form with uid aNxSba2DYAF3wm8hLyGUxK --> you should find that this form is not yet deployed
To get other form examples, run GET /api/v2/assets/ to query a list of kobo forms in this account
POST /api/v2/assets/{uid}/deployment/ --> run this to try to deploy the form
PUT /api/v2/assets/{uid}/deployment/ --> run this to try updating the status to deploy the form
The text was updated successfully, but these errors were encountered:
fyi @hunterachieng - synced with @josephjclark on this recently, and we think that actually #603 is not ready to be worked on... so we'll do this instead in the next kobo sprint. Ahead of the meeting Monday, please review this issue and provide estimates
Request
Add support for basic
http
helpers for these methods:Note that we'll revisit the existing functions like
getSubmissions(...)
later as Joe wants to revisit the signature and develop more of a spec for #603.API docs
https://kf.kobotoolbox.org/api/v2/assets/
fyi
assets
in the API language are the same thing as koboforms
Credentials
See LP
openfn demo Kobo Account
Testing Guidance
Make sure the helpers can support these requests:
GET /api/v2/assets/{uid}/deployment/
--> this will return the deployment status of this form(which basically says whether or not this form is deployed already).aNxSba2DYAF3wm8hLyGUxK
--> you should find that this form is not yet deployedGET /api/v2/assets/
to query a list of kobo forms in this accountPOST /api/v2/assets/{uid}/deployment/
--> run this to try to deploy the formPUT /api/v2/assets/{uid}/deployment/
--> run this to try updating the status to deploy the formThe text was updated successfully, but these errors were encountered: