Monitor and query changes across a collection of Git repositories
The introductory blog post can be found here - https://mikefourie.wordpress.com/2016/04/24/gitmonitor/
Returns commits from now over the previous specified days.
-
URL /api/commits/[days]
-
Required Params
days=[int]
-
Sample Calls
- 10 days commits in default monitoredPathName:
/api/commits/10
- 10 days commits in default monitoredPathName:
Returns commits between the provided dates (inclusive).
-
URL /api/commits/[startdate]/[enddate]
-
Required Params
startdate=[datetime]
-
Sample Calls
- Commits between 1 Jan 2015 and today:
/api/commits/1 Jan 2015
- Commits between 1 Jan 2016 and 30 Jan 2016 today:
/api/commits/1 Jan 2016/30 Jan 2016
- Commits between 1 Jan 2015 and today:
Returns commits between the provided dates (inclusive).
-
URL /api/search/[monitoredPathName]/[commit]
-
Required Params
commit=[sha1]
-
Sample Calls
- Find commit in default monitoredPathName:
/api/search/a3er4w
- Find commit in work monitoredPathName:
/api/search/work/a3er4w
- Find commit in all paths:
/api/search/*/a3er4w
- Find commit in default monitoredPathName: