Getting old form description over API

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.

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-developers@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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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+unsubscribe@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >

Hi Selim

These changes have now been deployed. I've updated the documentation with
details: Log In - Dimagi Confluence

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

··· On 29 September 2017 at 08:41, 'Selim' via CommCare Developers < commcare-developers@googlegroups.com> wrote:

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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--


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.