+1
Answered

API - list models / documents IDs

Mikael COUMET 4 years ago updated by Mick Flynn 3 years ago 7
Hi,

is there any way to list using API the model ids, in order to use it in API: 

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

It's a key feature for our use case.

Thank in advance,

Regards

Under review

Hi,

There is no public API to fetch model IDs. I'll add your request to our backlog. 

Do you need any other functionality to be provided by API?

I would like to query the document tree structure in order to retrieve the name, path and model ID associated with each document in the tree.

+1
Answered

Hi,


Please use following command to fetch list of all documents:

curl -H "Accept: application/json" -u $VERTABELO_API_TOKEN: https://my.vertabelo.com/drive

VERTABELO_API_TOKEN is available here https://my.vertabelo.com/my-account (see Settings)

Hi Rafal,

Fantastic, this works :-)

Is there any chance of also returning the path of the document in the My Vertabelo tree?

/Mick

Hi Mick,

It's on our backlog. We'll notice you when it will be available.

/drive returns unsupported message:


{
"http-status": 404,
"message": "Unsupported API call.",
"status": "error"
}

has it changed name ?

Hi there,

Not sure what you mean, but I can imagine that this response gets generated when my browser session has timed out. Most mornings when I open my computer my initial Vertabelo browser tab shows "Oops, something went wrong", it could be that. No problem for me, I just refresh the browser and I'm logged in again automatically.

Regarding the document path feature I requested... I lost interest in this when I realised that the document tree is unique for each user. You would need to implement a common document folder structure for all project users, only then would the document path be relevant for us.

/Mick