Wanting to start an execution from a particular state of files of a git based project
This has been tested via swagger :
The endpoint consumed is
There's 2 parameters which accepts a commit Id as an argument (both part of the json payload). One is through a string attribute and the other via a struct/dict. If you are using the string as per :
It only accepts local commits, you could get those by printing out what master is pointing to or by executing commits_list() method from the dominodatalab package. These commits always point to the remote master/main branch.
But if you'd want to run it off of a different branch, other than main, then it would be done via the struct as per :
It accepts commit id from the git provider and also works with the shorter version of the Id.