Join us on August 26th to develop an interactive Credit Scoring web application and deploy it on a Kubernetes cluster Learn more

Is it possible to access an object Git history using the API?

Level 3
Is it possible to access an object Git history using the API?
I'd like to know if a project has been modified during a given period of time (to manage version control in an automatic way). Is it possible to access projects elements using the API to know if they have been modified?
0 Kudos
2 Replies
Dataiker
Dataiker

Hi,



When GETting some objects, you may have a versionTag in the response with a lastModifiedOn timestamp. However, this is not available at project level. It would be possible to reconstruct it by iterating over all objects within a project, but is more involved.



A simpler approach would be to use the internal commits database, as shown below:





This dataset has all the commits by date for all projects. It can be used in a Scenario to automate the identification of recently modified vs "stale" projects.



Hope it helps, 



Alex

0 Kudos
Level 3
Author
Thanks!
0 Kudos
Labels (2)