Skip to content

Create a public API to get the activity of a team between 2 dates

Latest
Compare
Choose a tag to compare
@Gotier Gotier released this 17 Jan 14:42
· 1 commit to releaseRedoute since this release

You can get the activity of a team by the following URL (replace the paramaters with yours) :
http://your-host:8080/api/activity/public?name=myproject&begin=2018-01-01&end=2018-01-08

The response is JSON formatted (e.g) :
{"nbCommit":13,"nbCommitApproved":1,"nbCommitWithComments":2,"nbCommitWithoutReview":11}

"nbCommit" parameter gives you the number of commits between the dates
"nbCommitApproved" parameter gives you the number of commits approved between the dates
"nbCommitWithComments" parameter gives you the number of commits with comments between the dates
"nbCommitWithoutReview" parameter gives you the number of commits that are neither approved nor commented between the dates