getting old form description over API

17 views
Skip to first unread message

Selim

unread,
Sep 27, 2017, 11:22:18 AM9/27/17
to CommCare Developers
Hi,

How can i get the older description of a changed form over the api?

api/v0.5/application/[id] returns only the newest form. If my app has changed (for example: i deleted one question), i must still get the form description for old submissions.

Thank you.

Simon Kelly

unread,
Sep 28, 2017, 4:23:56 AM9/28/17
to CommCare Developers
Hi Selim

You can get the detail for old version of the app by using the ID of an application version instead of the ID of the development version of the app.

At the moment it's hard to find the ID of application versions but we'll be releasing a change in the next few days that will add a fields to the application detail view related to application versions.

I will respond to this thread again once that has been released.

Simon Kelly
Director of Server Engineer | Dimagi

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Selim

unread,
Sep 29, 2017, 2:41:40 AM9/29/17
to CommCare Developers
Hi Simon,

just for your information, I'm following this topic and looking for updates.

Thank you very much.


Am Donnerstag, 28. September 2017 11:23:56 UTC+3 schrieb Simon Kelly:
Hi Selim

You can get the detail for old version of the app by using the ID of an application version instead of the ID of the development version of the app.

At the moment it's hard to find the ID of application versions but we'll be releasing a change in the next few days that will add a fields to the application detail view related to application versions.

I will respond to this thread again once that has been released.

Simon Kelly
Director of Server Engineer | Dimagi

On 27 September 2017 at 17:22, 'Selim' via CommCare Developers <commcare-...@googlegroups.com> wrote:
Hi,

How can i get the older description of a changed form over the api?

api/v0.5/application/[id] returns only the newest form. If my app has changed (for example: i deleted one question), i must still get the form description for old submissions.

Thank you.

--

---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsub...@googlegroups.com.

Simon Kelly

unread,
Oct 5, 2017, 4:11:45 AM10/5/17
to CommCare Developers
Hi Selim

These changes have now been deployed. I've updated the documentation with details: https://confluence.dimagi.com/pages/editpage.action?pageId=18907643

But here's the gist:

Added a 'versions' property to the API output which lists all the application versions (builds).

You can get the application structure by using the same API and supply the ID of an application version.

Simon Kelly
Director of Server Engineer | Dimagi

To unsubscribe from this group and stop receiving emails from it, send an email to commcare-developers+unsubscribe...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages