Context: I'm building a Node app to backup our Podio apps' calculation fields via the Podio API; they are saved as flat files and version controlled with Git. We want to have the possibility to edit the text files locally, commit and then push back the modified files.
I've been inspecting the object's keys returned but can't find a way to determine the latest revision date for the app (not the item).
- I came across the 'current_revision' when polling the app (/app/{app_id}/) but can't figure out how to use a revision number for an app.
- I also noted (very hopeful) the wording "This method will always return the latest revision of the app definition." on the page https://developers.podio.com/doc/applications/get-app-22349 but I couldn't find any other mention of this… Can I get to the date via some meta information on an app's revisions?
Ideally, I would like to compare the last modification date of a local file (fs.stat) with the last revision date from the app (or from the app's field).
Any insights appreciated; thanks!