[tor-commits] [metrics-web/master] Document newly added index.json fields.

karsten at torproject.org karsten at torproject.org
Mon Nov 11 14:12:40 UTC 2019


commit 4259a6dffe28ad26a3b50c079e155e57b40388a9
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Mon Nov 11 15:06:25 2019 +0100

    Document newly added index.json fields.
    
    Still part of #31204.
---
 src/main/resources/web/jsps/collector.jsp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/main/resources/web/jsps/collector.jsp b/src/main/resources/web/jsps/collector.jsp
index 414b23f..d56bdfe 100644
--- a/src/main/resources/web/jsps/collector.jsp
+++ b/src/main/resources/web/jsps/collector.jsp
@@ -913,6 +913,10 @@ Index files use the following custom JSON data format that might still be extend
 <li><code>"path"</code>: Relative path of the file.</li>
 <li><code>"size"</code>: Size of the file in bytes.</li>
 <li><code>"last_modified"</code>: Timestamp when the file was last modified using pattern <code>"YYYY-MM-DD HH:MM"</code> in the UTC timezone.</li>
+<li><code>"types"</code>: Descriptor types as found in <code>@type</code> annotations of contained descriptors.</li>
+<li><code>"first_published"</code>: Earliest publication timestamp of contained descriptors using pattern <code>"YYYY-MM-DD HH:MM"</code> in the UTC timezone.</li>
+<li><code>"last_published"</code>: Latest publication timestamp of contained descriptors using pattern <code>"YYYY-MM-DD HH:MM"</code> in the UTC timezone.</li>
+<li><code>"sha256"</code>: SHA-256 digest of this file.</li>
 </ul></li>
 </ul>
 



More information about the tor-commits mailing list