# get all commits of an app

**URL:** <https://forums.balena.io/t/get-all-commits-of-an-app/215780>\
**Category:** openBalena\
**Tags:** api\
**Created:** [November 24, 2020, 5:51pm UTC](https://forums.balena.io/t/get-all-commits-of-an-app/215780 "2020-11-24T17:51:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![matteopeluso](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@matteopeluso](https://forums.balena.io/u/matteopeluso)\
**Post date:** [November 24, 2020, 5:51pm UTC](https://forums.balena.io/t/get-all-commits-of-an-app/215780/1 "2020-11-24T17:51:45Z")

</div>

Hi!

I am an openBalena(2.0) user.

It is possible to get all the uuid commits of each application by exploiting the api? I couldn’t find it on the documentation…  
If a commit to an application goes wrong how would you do a revert if the olds commit are not saved?

If I am not wrong the versioning of the deploy of each application isn’t available, or not?

Thanks

Matteo

---

<div class="post-metadata">

**Author:** ![gelbal](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/gelbal/32/1109_2.png) [@gelbal](https://forums.balena.io/u/gelbal)\
**Post date:** [November 25, 2020, 1:37pm UTC](https://forums.balena.io/t/get-all-commits-of-an-app/215780/3 "2020-11-25T13:37:41Z")

</div>

Hi Matteo,

I believe you could query the `release` endpoint to retrieve all the UUID commit values as well as some more metadata about the releases to an application. The docs reference: [https://www.balena.io/docs/reference/api/resources/release/](https://www.balena.io/docs/reference/api/resources/release/)

Then I don’t think openBalena does anything extra to guarantee availability of the actual code history (past versions that are no longer running in an application). Maintaining the git repository of an application is the application developer’s responsibility.

Let us know how is your openBalena experience and if we could help out further.

---

<div class="post-metadata">

**Author:** ![matteopeluso](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@matteopeluso](https://forums.balena.io/u/matteopeluso)\
**Post date:** [November 25, 2020, 2:20pm UTC](https://forums.balena.io/t/get-all-commits-of-an-app/215780/5 "2020-11-25T14:20:07Z")

</div>

Thanks gelbal for the documentation!

yes I was wondering if it was possible to deploy the App:x.y.z directly from balena

I will take my responsibilities no worries hahaha 😂
