Hi all,
I need to show the versions on specific environments for specific applications (ex. I need the versions of application A on dev, test and prod).I looked into the LifeTime API, but I can't seem to find an action where I can get the most recent version based on applicationKey and environmentKey.
Can someone please help?Thanks in advance
Hi @Jasper
Please look into it below post
https://www.outsystems.com/forums/discussion/72648/how-to-get-the-version-of-specific-environment-of-application/#:~:text=Just%20logged%2DIn%20to%20your,published%20version%20in%20the%20list.
https://success.outsystems.com/documentation/11/managing_the_applications_lifecycle/deploy_applications/tag_a_version/
Component Link to get Application version information
https://www.outsystems.com/forge/component-overview/12301/application-version-information
Hope this will help you :)
Thanks,
AV
Hi Amit,
Thanks for your reply. I did find the answer by digging through some applications which do the same thing.
So in the LifetimeAPI there is an action (Applications_List) which calls the applications. In the response, there is an statusInEnvironments list. Loop through that one to call the action Applications_Versions_Get with the BaseApplicationVersionKey from statusInEnvironments. This way you can get the desired version of a specific application with a specific environment.
Thanks again, Amit :)
Glad to help :)