Skip to main content

With GET /repositories/< repository >/items/< item >

you can get information about items in a repository, in my case I am retrieving a workspace.

In the response there's one tag named 'history', but this is not the comment you enter when committing a workspace.

 

Sub-type: Workspace

workspace {

...

history (string, optional),

...

}

 

Can I find this history I am looking for through the API? Or at least a timestamp of when the workspace was committed?

Hi @merel​, there isn't a Flow REST API to do this. FME Flow uses git for version control though, so you can install git and use standard git commands like git log to get the history outside of FME.  

gitYou could run git commands via a System Caller and pipe the results to a txt file that could be read by FME or another program. In Windows, it would look something like:

git log --name-only --oneline --pretty=fuller > C:\Data\history.txt

 

 


Reply