Add author and size information to output of query.
Add author information to output of query options:
'--patch-sets'.
'--current-patch-set'.
Add size information to output of query options:
'--patch-sets'.
'--current-patch-set'.
'--files'.
This information can now be retrieved by both SSH and
the HTTP REST API.
Change-Id: I7ef0f2dce6a4d2bd2dd2532e4bb48a22522b659a
Signed-off-by: Bruce Zu <bruce.zu@sonymobile.com>
diff --git a/Documentation/json.txt b/Documentation/json.txt
index aea9bac..4f86a9d 100644
--- a/Documentation/json.txt
+++ b/Documentation/json.txt
@@ -107,6 +107,8 @@
uploader:: Uploader of the patch set in <<account,account attribute>>.
+author:: Author of this patchset in <<account,account attribute>>.
+
createdOn:: Time in seconds since the UNIX epoch when this patchset
was created.
@@ -116,6 +118,10 @@
files:: All changed files in this patchset in <<patch,patch attributes>>.
+sizeInsertions:: Size information of insertions of this patchset.
+
+sizeDeletions:: Size information of deletions of this patchset.
+
[[approval]]
approval
--------
@@ -257,6 +263,9 @@
REWRITE;; Sufficient amount of content changed to claim the file was rewritten.
+insertions:: number of insertions of this patch.
+
+deletions:: number of deletions of this patch.
SEE ALSO
--------