0
Answered

Get Logical Model from API

Mikael COUMET 4 years ago updated by Mick Flynn 4 years ago 4

Hi,

we are using the API to extract schema information:

https://my.vertabelo.com/api/xml/<MODEL_ID>


But it works only for Physical model, not Logical model.

Is there any way to get a Logical model from API ?

(Transform from Logical to Physical it's not acceptable for us but we will need to transform after each update)

Thank in advance,

Regards

Answered

Hi,

Right now, there is not.
We are going to extend our API. We will keep you posted.

Best regards,
Adam

Hi,

Any news on this?

In general it would be great to have the product roadmap published and regularly updated to see what features are on the way in so we can plan accordingly.

Hi Mikael.


We're working on documentation. There is a new way to fetch documents.


You can download a logical model as an XML file:

curl -H "Accept: text/xml" -u $VERTABELO_API_TOKEN: https://my.vertabelo.com/logical/model/MODEL_ID


This also works for physical model: 

curl -H "Accept: text/xml" -u $VERTABELO_API_TOKEN: https://my.vertabelo.com/model/MODEL_ID

Thanks Rafal, all of the calls worked with no need to a password :-)

/Mick