Switch to a branch by Open API

Hello,

is it possible to use Open API for a specific Branch. The aim is to read the contents within Branch and export the contents. If not is it possible we’ll appreciate if you could make it possible or suggest a workaround to make it happen.

Best Regards
seyhmus

Hi seyhmus,

Thank you for your inquiry. I’m wondering what kind of “content” you are referring to? Diagram / Model data? Or something else?

Best regards,
Jick Yeung

Hi Jick.

Thanks for your response. ERD Model, Diagram, Entity and the related info like Stereotype, Comments etc. Actually the aim is to get the contents within branch before they are merged to trunc. We would like to trigger the CI/CD process for the ERD in VP automatically before the model is merged to the trunc.

Hi seyhmus,

The following post shows the code needed to retrieve stereotypes in a project:

If that’s not what you’re looking for, could you suggest a use case so we can prepare the code you need?

Best regards,
Jick Yeung