diff --git a/templates/index.rs.html b/templates/index.rs.html index 5d23dd2..075b0c4 100644 --- a/templates/index.rs.html +++ b/templates/index.rs.html @@ -46,17 +46,18 @@ alt="example badge" />

-You can also request the HoC as JSON by appending /json to the request path. This will return a JSON -object with two fields: count and head with count being the HoC value and head being the -commit ref of HEAD. Requesting -https://@domain/github/vbrandl/hoc/json might return something -along the lines of +You can also request the HoC as JSON by appending /json to the request path. This will return a JSON object +with three fields: count (the HoC value), commits (the number of commits) and +head (the commit ref of HEAD). Requesting https://@domain/github/vbrandl/hoc/json might return something along +the lines of

 {
-    "head" : "05736ee3ba256ec9a7227c436aef2bf43db109ab",
-    "count": 7582
+    "head": "1f01c3b964b018fb0c0c2c5b572bf4ace2968546",
+    "count": 8324,
+    "commits": 223
 }