I am trying to use the Logs API to request logs in my application. However, I would like to request logs for ALL versions of my application. The log service has a request parameter called majorVersionIds, which you can set to the list of versions for which you want to request, or null for the current current version.
I would like to request for ALL versions, but I do not have a static list of all versions that will be presented as a parameter. Any idea if there is a software way to get all versions of the application?
My current solution would be to add a filter to all my versions that add the current version to the list of all versions and use this, but it seems to be hackey.
source
share