Many users draw diagrams in seperate branches and commit/merge their work by using branches into the trunk. So we are interested in exporting or reading the latest versions of the diagrams (entity,column,description,stereotype etc) in order to integrate the latest work to the outside world (triggering from command line on the server side).
It seems that there are 2 ways:
1 - Export XML of a diagram or project of the latest version (trunk) from the teamserver by a batch job. The job can run on the teamserver. The exported XML should be the latest version.
2- Write a openAPI script in order to retrieve the latest version . But as far as I understood there is no API call to retieve the latest version (trunk) ? Is that correct? There is also a need to switch between project , is that possible?
Are those 2 ways doable or can you suggest the ideal way to implement this requirement.