I want to get all the changes from Gerrit using Gerrit rest API given
so far I have tried this:
rest = GerritRestAPI(url=gerrit_url)
changes = rest.get('projects/{project name}')
but this is giving me the project information but I want the changes.
I want something like this
changes = rest.get('projects/{project name}/branch/{branchname}/startdate/{startdate}/enddate/{enddate}')
Please help me with this.
Use the following:
changes = rest.get('changes/?q=project:{projectname}+branch:{branchnme}+after:{startdate}+before:{enddate}')