Monitor changes across a collection of Git repositories
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Export
packages/Newtonsoft.Json.9.0.1/tools
src/GitMonitor
.gitignore
GitMonitor.sln
LICENSE.md
README.md
Settings.StyleCop

README.md

GitMonitor

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/

Web Api

Query commits by previous days

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

Query commits by date range

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

Find a commit

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