# Getting old form description over API

**URL:** <https://forum.dimagi.com/t/getting-old-form-description-over-api/3734>\
**Category:** Developers\
**Created:** [September 27, 2017, 3:22pm UTC](https://forum.dimagi.com/t/getting-old-form-description-over-api/3734 "2017-09-27T15:22:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Selim](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/s/51bf81/32.png) [@Selim](https://forum.dimagi.com/u/Selim)\
**Post date:** [September 27, 2017, 3:22pm UTC](https://forum.dimagi.com/t/getting-old-form-description-over-api/3734/1 "2017-09-27T15:22:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Simon\_Kelly](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/simon_kelly/32/494_2.png) [@Simon\_Kelly](https://forum.dimagi.com/u/Simon_Kelly)\
**Post date:** [September 28, 2017, 8:23am UTC](https://forum.dimagi.com/t/getting-old-form-description-over-api/3734/2 "2017-09-28T08:23:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Selim](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/s/51bf81/32.png) [@Selim](https://forum.dimagi.com/u/Selim)\
**Post date:** [September 29, 2017, 6:41am UTC](https://forum.dimagi.com/t/getting-old-form-description-over-api/3734/3 "2017-09-29T06:41:40Z")

</div>

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. \>\> \> \>

---

<div class="post-metadata">

**Author:** ![Simon\_Kelly](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/simon_kelly/32/494_2.png) [@Simon\_Kelly](https://forum.dimagi.com/u/Simon_Kelly)\
**Post date:** [October 5, 2017, 8:11am UTC](https://forum.dimagi.com/t/getting-old-form-description-over-api/3734/4 "2017-10-05T08:11:23Z")

</div>

Hi Selim

These changes have now been deployed. I've updated the documentation with  
details: [Log In - Dimagi Confluence](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

> **···**
>
> 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](mailto: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](mailto:commcare-developers+unsubscribe@googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/d/optout](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](mailto:commcare-developers+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
