Several questions regarding version control

Hello

Regarding version control I looked to previous posts but most of them are from several year ago, so I tougth maybe they are outdated:

  1. Is there a way of comparing a project with its previous (or different) versions and get the diffrences via API? The reason why I’m asking is to get the differences between two versions and reflect only the changes to outside (like BigQuery) via API
  2. What kind of version control does Team Server use? Does it have an API in order to read the versions and their contents, differences etc.

Thanks again for your answers and this productive forum

Regards
seyhmus

Hi Seyhmus,

Thank you for your inquiry. We develop our version control system ourselves. About your first question, you can compare revision visually with the Visual History feature. The following article describes the concept and steps in detail:
https://www.visual-paradigm.com/tutorials/visual-history.jsp

About the capability of Open API related to teamwork operation, let me consult our developers first. I will give you a reply as fast as I can.

Best regards,
Jick Yeung

1 Like

Hi Seyhmus,

Regarding to the two questions:

  1. Currently, the Open API does not support operating the Visual History feature.

  2. You can use ProjectManager.getProjectTeamworkInfo(IProject) to get the information about a teamwork project. by calling getRevisions() : IProjectTeamworkRevision[], you can get the revision number, date, user, description.

However, you cannot get the content modified (e.g. model elements, diagrams, diagram elements, etc…)

Best regards,
Jick Yeung

1 Like