Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 1 | = gerrit stream-events |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 2 | == NAME |
David Shevitz | c47f236 | 2018-09-27 10:55:35 -0700 | [diff] [blame] | 3 | gerrit stream-events - Monitor events occurring in real time. |
Kenny Root | 15ac1b8 | 2010-02-24 00:29:20 -0800 | [diff] [blame] | 4 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 5 | == SYNOPSIS |
Michael Ochmann | e2d76a1 | 2016-06-23 17:07:37 +0200 | [diff] [blame] | 6 | [verse] |
Yuxuan 'fishy' Wang | d85b687 | 2013-11-15 11:47:46 -0800 | [diff] [blame] | 7 | -- |
Michael Ochmann | e2d76a1 | 2016-06-23 17:07:37 +0200 | [diff] [blame] | 8 | _ssh_ -p <port> <host> _gerrit stream-events_ |
Yuxuan 'fishy' Wang | d85b687 | 2013-11-15 11:47:46 -0800 | [diff] [blame] | 9 | -- |
Kenny Root | 15ac1b8 | 2010-02-24 00:29:20 -0800 | [diff] [blame] | 10 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 11 | == DESCRIPTION |
Kenny Root | 15ac1b8 | 2010-02-24 00:29:20 -0800 | [diff] [blame] | 12 | |
Edwin Kempin | f1acbb8 | 2011-09-15 12:49:42 +0200 | [diff] [blame] | 13 | Provides a portal into the major events occurring on the server, |
David Pursehouse | 9246356 | 2013-06-24 10:16:28 +0900 | [diff] [blame] | 14 | outputting activity data in real-time to the client. Events are |
Kenny Root | 15ac1b8 | 2010-02-24 00:29:20 -0800 | [diff] [blame] | 15 | filtered by the caller's access permissions, ensuring the caller |
| 16 | only receives events for changes they can view on the web, or in |
| 17 | the project repository. |
| 18 | |
| 19 | Event output is in JSON, one event per line. |
| 20 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 21 | == ACCESS |
Ed Bartosh | d168b81 | 2013-04-13 20:15:58 +0300 | [diff] [blame] | 22 | Caller must be a member of the privileged 'Administrators' group, |
| 23 | or have been granted |
| 24 | link:access-control.html#capability_streamEvents[the 'Stream Events' global capability]. |
Kenny Root | 15ac1b8 | 2010-02-24 00:29:20 -0800 | [diff] [blame] | 25 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 26 | == SCRIPTING |
Kenny Root | 15ac1b8 | 2010-02-24 00:29:20 -0800 | [diff] [blame] | 27 | This command is intended to be used in scripts. |
| 28 | |
David Ostrovsky | 9503a2e | 2016-01-03 18:49:26 +0100 | [diff] [blame] | 29 | == OPTIONS |
| 30 | --subscribe|-s:: |
| 31 | Type of the event to subscribe to. Multiple --subscribe options |
| 32 | may be specified to subscribe to multiple events. When this option |
| 33 | is provided, only subscribed events are emitted and all other |
| 34 | events are ignored. When this option is omitted, all events are |
| 35 | emitted. |
| 36 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 37 | == EXAMPLES |
Kenny Root | 15ac1b8 | 2010-02-24 00:29:20 -0800 | [diff] [blame] | 38 | |
Michael Ochmann | b99feab | 2016-07-06 14:10:22 +0200 | [diff] [blame] | 39 | ---- |
David Shevitz | c47f236 | 2018-09-27 10:55:35 -0700 | [diff] [blame] | 40 | $ ssh -p 29418 review.example.com gerrit stream-events |
| 41 | {"type":"comment-added",change:{"project":"tools/gerrit", ...}, ...} |
| 42 | {"type":"comment-added",change:{"project":"tools/gerrit", ...}, ...} |
Michael Ochmann | b99feab | 2016-07-06 14:10:22 +0200 | [diff] [blame] | 43 | ---- |
Kenny Root | 15ac1b8 | 2010-02-24 00:29:20 -0800 | [diff] [blame] | 44 | |
David Ostrovsky | 9503a2e | 2016-01-03 18:49:26 +0100 | [diff] [blame] | 45 | Only subscribe to specific event types: |
| 46 | |
Michael Ochmann | b99feab | 2016-07-06 14:10:22 +0200 | [diff] [blame] | 47 | ---- |
David Shevitz | c47f236 | 2018-09-27 10:55:35 -0700 | [diff] [blame] | 48 | $ ssh -p 29418 review.example.com gerrit stream-events \ |
| 49 | -s patchset-created -s ref-replicated |
Michael Ochmann | b99feab | 2016-07-06 14:10:22 +0200 | [diff] [blame] | 50 | ---- |
David Ostrovsky | 9503a2e | 2016-01-03 18:49:26 +0100 | [diff] [blame] | 51 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 52 | == SCHEMA |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 53 | The JSON messages consist of nested objects referencing the *change*, |
Edwin Kempin | a19ff37 | 2012-06-14 09:04:32 +0200 | [diff] [blame] | 54 | *patchSet*, *account* involved, and other attributes as appropriate. |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 55 | |
| 56 | Note that any field may be missing in the JSON messages, so consumers of |
| 57 | this JSON stream should deal with that appropriately. |
| 58 | |
Edwin Kempin | 64059f5 | 2013-10-31 13:49:25 +0100 | [diff] [blame] | 59 | [[events]] |
David Pursehouse | d31e1d8 | 2014-12-18 16:08:19 +0900 | [diff] [blame] | 60 | == EVENTS |
Gustaf Lundh | 27b133b | 2016-09-20 17:17:41 +0200 | [diff] [blame] | 61 | === Assignee Changed |
| 62 | |
| 63 | Sent when the assignee of a change has been modified. |
| 64 | |
| 65 | type:: "assignee-changed" |
| 66 | |
| 67 | change:: link:json.html#change[change attribute] |
| 68 | |
| 69 | changer:: link:json.html#account[account attribute] |
| 70 | |
| 71 | oldAssignee:: Assignee before it was changed. |
| 72 | |
| 73 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 74 | created. |
| 75 | |
David Pursehouse | d31e1d8 | 2014-12-18 16:08:19 +0900 | [diff] [blame] | 76 | === Change Abandoned |
David Pursehouse | b2161b2 | 2014-12-18 16:05:48 +0900 | [diff] [blame] | 77 | |
| 78 | Sent when a change has been abandoned. |
| 79 | |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 80 | type:: "change-abandoned" |
| 81 | |
Shawn O. Pearce | 14760b7 | 2010-07-19 09:44:46 -0700 | [diff] [blame] | 82 | change:: link:json.html#change[change attribute] |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 83 | |
Edwin Kempin | a19ff37 | 2012-06-14 09:04:32 +0200 | [diff] [blame] | 84 | patchSet:: link:json.html#patchSet[patchSet attribute] |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 85 | |
Shawn O. Pearce | 14760b7 | 2010-07-19 09:44:46 -0700 | [diff] [blame] | 86 | abandoner:: link:json.html#account[account attribute] |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 87 | |
Edwin Kempin | a19ff37 | 2012-06-14 09:04:32 +0200 | [diff] [blame] | 88 | reason:: Reason for abandoning the change. |
| 89 | |
Hugo Arès | 3544753 | 2014-12-02 15:03:49 -0500 | [diff] [blame] | 90 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 91 | created. |
| 92 | |
Sven Selberg | 237f56d | 2019-10-09 10:21:29 +0200 | [diff] [blame] | 93 | === Change Deleted |
David Pursehouse | cc9db0f | 2018-09-12 11:43:14 +0900 | [diff] [blame] | 94 | |
| 95 | Sent when a change has been deleted. |
| 96 | |
| 97 | type:: "change-deleted" |
| 98 | |
| 99 | change:: link:json.html#change[change attribute] |
| 100 | |
| 101 | deleter:: link:json.html#account[account attribute] |
| 102 | |
David Pursehouse | d31e1d8 | 2014-12-18 16:08:19 +0900 | [diff] [blame] | 103 | === Change Merged |
David Pursehouse | b2161b2 | 2014-12-18 16:05:48 +0900 | [diff] [blame] | 104 | |
| 105 | Sent when a change has been merged into the git repository. |
| 106 | |
David Pursehouse | b954c0f | 2014-12-18 15:55:46 +0900 | [diff] [blame] | 107 | type:: "change-merged" |
| 108 | |
| 109 | change:: link:json.html#change[change attribute] |
| 110 | |
| 111 | patchSet:: link:json.html#patchSet[patchSet attribute] |
| 112 | |
| 113 | submitter:: link:json.html#account[account attribute] |
| 114 | |
Sven Selberg | 77df787 | 2019-06-27 16:39:59 +0200 | [diff] [blame] | 115 | newRev:: The state (revision) of the target branch after the operation that |
| 116 | closed the change was completed. |
Sven Selberg | 9686cf2 | 2014-11-17 12:51:06 +0100 | [diff] [blame] | 117 | |
David Pursehouse | b954c0f | 2014-12-18 15:55:46 +0900 | [diff] [blame] | 118 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 119 | created. |
| 120 | |
David Pursehouse | d31e1d8 | 2014-12-18 16:08:19 +0900 | [diff] [blame] | 121 | === Change Restored |
David Pursehouse | b2161b2 | 2014-12-18 16:05:48 +0900 | [diff] [blame] | 122 | |
| 123 | Sent when an abandoned change has been restored. |
| 124 | |
Anatol Pomazau | 3200245 | 2010-08-04 11:28:50 -0700 | [diff] [blame] | 125 | type:: "change-restored" |
| 126 | |
| 127 | change:: link:json.html#change[change attribute] |
| 128 | |
Edwin Kempin | a19ff37 | 2012-06-14 09:04:32 +0200 | [diff] [blame] | 129 | patchSet:: link:json.html#patchSet[patchSet attribute] |
Anatol Pomazau | 3200245 | 2010-08-04 11:28:50 -0700 | [diff] [blame] | 130 | |
| 131 | restorer:: link:json.html#account[account attribute] |
| 132 | |
Edwin Kempin | a19ff37 | 2012-06-14 09:04:32 +0200 | [diff] [blame] | 133 | reason:: Reason for restoring the change. |
| 134 | |
Hugo Arès | 3544753 | 2014-12-02 15:03:49 -0500 | [diff] [blame] | 135 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 136 | created. |
| 137 | |
David Pursehouse | d31e1d8 | 2014-12-18 16:08:19 +0900 | [diff] [blame] | 138 | === Comment Added |
David Pursehouse | b2161b2 | 2014-12-18 16:05:48 +0900 | [diff] [blame] | 139 | |
| 140 | Sent when a review comment has been posted on a change. |
| 141 | |
David Pursehouse | b954c0f | 2014-12-18 15:55:46 +0900 | [diff] [blame] | 142 | type:: "comment-added" |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 143 | |
Shawn O. Pearce | 14760b7 | 2010-07-19 09:44:46 -0700 | [diff] [blame] | 144 | change:: link:json.html#change[change attribute] |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 145 | |
Edwin Kempin | a19ff37 | 2012-06-14 09:04:32 +0200 | [diff] [blame] | 146 | patchSet:: link:json.html#patchSet[patchSet attribute] |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 147 | |
David Pursehouse | b954c0f | 2014-12-18 15:55:46 +0900 | [diff] [blame] | 148 | author:: link:json.html#account[account attribute] |
| 149 | |
| 150 | approvals:: All link:json.html#approval[approval attributes] granted. |
| 151 | |
David Pursehouse | 0549b36 | 2014-12-18 16:29:40 +0900 | [diff] [blame] | 152 | comment:: Review comment cover message. |
David Pursehouse | b954c0f | 2014-12-18 15:55:46 +0900 | [diff] [blame] | 153 | |
| 154 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 155 | created. |
| 156 | |
David Pursehouse | 0bff127 | 2014-12-18 16:31:39 +0900 | [diff] [blame] | 157 | === Dropped Output |
| 158 | |
| 159 | Sent to notify a client that events have been dropped. |
| 160 | |
| 161 | type:: "dropped-output" |
| 162 | |
David Pursehouse | d31e1d8 | 2014-12-18 16:08:19 +0900 | [diff] [blame] | 163 | === Hashtags Changed |
David Pursehouse | b2161b2 | 2014-12-18 16:05:48 +0900 | [diff] [blame] | 164 | |
Dave Borowitz | daf0f0f | 2018-03-15 10:37:54 -0400 | [diff] [blame] | 165 | Sent when the link:intro-user.html#hashtags[hashtags] have been added to or |
| 166 | removed from a change. |
David Pursehouse | b2161b2 | 2014-12-18 16:05:48 +0900 | [diff] [blame] | 167 | |
David Pursehouse | b954c0f | 2014-12-18 15:55:46 +0900 | [diff] [blame] | 168 | type:: "hashtags-changed" |
| 169 | |
| 170 | change:: link:json.html#change[change attribute] |
| 171 | |
| 172 | editor:: link:json.html#account[account attribute] |
| 173 | |
| 174 | added:: List of hashtags added to the change |
| 175 | |
| 176 | removed:: List of hashtags removed from the change |
| 177 | |
| 178 | hashtags:: List of hashtags on the change after tags were added or removed |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 179 | |
Hugo Arès | 3544753 | 2014-12-02 15:03:49 -0500 | [diff] [blame] | 180 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 181 | created. |
| 182 | |
Liu Forest | 53286f2 | 2015-04-15 14:20:43 +0800 | [diff] [blame] | 183 | === Project Created |
| 184 | |
| 185 | Sent when a new project has been created. |
| 186 | |
| 187 | type:: "project-created" |
| 188 | |
| 189 | projectName:: The created project name |
| 190 | |
| 191 | projectHead:: The created project head name |
| 192 | |
| 193 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 194 | created. |
| 195 | |
David Pursehouse | d31e1d8 | 2014-12-18 16:08:19 +0900 | [diff] [blame] | 196 | === Patchset Created |
David Pursehouse | b2161b2 | 2014-12-18 16:05:48 +0900 | [diff] [blame] | 197 | |
| 198 | Sent when a new change has been uploaded, or a new patch set has been uploaded |
| 199 | to an existing change. |
| 200 | |
David Pursehouse | b954c0f | 2014-12-18 15:55:46 +0900 | [diff] [blame] | 201 | type:: "patchset-created" |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 202 | |
Shawn O. Pearce | 14760b7 | 2010-07-19 09:44:46 -0700 | [diff] [blame] | 203 | change:: link:json.html#change[change attribute] |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 204 | |
Edwin Kempin | a19ff37 | 2012-06-14 09:04:32 +0200 | [diff] [blame] | 205 | patchSet:: link:json.html#patchSet[patchSet attribute] |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 206 | |
David Pursehouse | b954c0f | 2014-12-18 15:55:46 +0900 | [diff] [blame] | 207 | uploader:: link:json.html#account[account attribute] |
Kenny Root | d8dffa2 | 2010-02-25 22:28:20 -0800 | [diff] [blame] | 208 | |
Hugo Arès | 3544753 | 2014-12-02 15:03:49 -0500 | [diff] [blame] | 209 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 210 | created. |
| 211 | |
David Pursehouse | d31e1d8 | 2014-12-18 16:08:19 +0900 | [diff] [blame] | 212 | === Ref Updated |
David Pursehouse | b2161b2 | 2014-12-18 16:05:48 +0900 | [diff] [blame] | 213 | |
| 214 | Sent when a reference is updated in a git repository. |
| 215 | |
Jesse Greenwald | 6cc1190 | 2010-10-06 19:46:25 -0500 | [diff] [blame] | 216 | type:: "ref-updated" |
| 217 | |
| 218 | submitter:: link:json.html#account[account attribute] |
| 219 | |
Edwin Kempin | a19ff37 | 2012-06-14 09:04:32 +0200 | [diff] [blame] | 220 | refUpdate:: link:json.html#refUpdate[refUpdate attribute] |
Jesse Greenwald | 6cc1190 | 2010-10-06 19:46:25 -0500 | [diff] [blame] | 221 | |
Hugo Arès | 3544753 | 2014-12-02 15:03:49 -0500 | [diff] [blame] | 222 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 223 | created. |
| 224 | |
David Pursehouse | d31e1d8 | 2014-12-18 16:08:19 +0900 | [diff] [blame] | 225 | === Reviewer Added |
David Pursehouse | b2161b2 | 2014-12-18 16:05:48 +0900 | [diff] [blame] | 226 | |
| 227 | Sent when a reviewer is added to a change. |
| 228 | |
David Pursehouse | 2336bd8 | 2012-09-21 12:50:19 +0900 | [diff] [blame] | 229 | type:: "reviewer-added" |
| 230 | |
| 231 | change:: link:json.html#change[change attribute] |
| 232 | |
David Pursehouse | 1ecac16 | 2013-09-10 20:15:53 +0900 | [diff] [blame] | 233 | patchSet:: link:json.html#patchSet[patchSet attribute] |
David Pursehouse | 2336bd8 | 2012-09-21 12:50:19 +0900 | [diff] [blame] | 234 | |
| 235 | reviewer:: link:json.html#account[account attribute] |
| 236 | |
Jacek Centkowski | 1d0df4d | 2019-11-10 06:38:02 +0100 | [diff] [blame] | 237 | adder:: user that added the reviewer as link:json.html#account[account attribute] |
| 238 | |
Hugo Arès | 3544753 | 2014-12-02 15:03:49 -0500 | [diff] [blame] | 239 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 240 | created. |
| 241 | |
Khai Do | 2710a88 | 2015-12-10 10:42:03 -0800 | [diff] [blame] | 242 | === Reviewer Deleted |
| 243 | |
| 244 | Sent when a reviewer (with a vote) is removed from a change. |
| 245 | |
| 246 | type:: "reviewer-deleted" |
| 247 | |
| 248 | change:: link:json.html#change[change attribute] |
| 249 | |
| 250 | patchSet:: link:json.html#patchSet[patchSet attribute] |
| 251 | |
David Pursehouse | bb6d883 | 2017-07-20 10:39:32 +0900 | [diff] [blame] | 252 | reviewer:: reviewer that was removed as link:json.html#account[account attribute] |
Khai Do | 2710a88 | 2015-12-10 10:42:03 -0800 | [diff] [blame] | 253 | |
David Pursehouse | bb6d883 | 2017-07-20 10:39:32 +0900 | [diff] [blame] | 254 | remover:: user that removed the reviewer as link:json.html#account[account attribute] |
Khai Do | 2710a88 | 2015-12-10 10:42:03 -0800 | [diff] [blame] | 255 | |
| 256 | approvals:: All link:json.html#approval[approval attributes] removed. |
| 257 | |
| 258 | comment:: Review comment cover message. |
| 259 | |
| 260 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 261 | created. |
| 262 | |
David Pursehouse | d31e1d8 | 2014-12-18 16:08:19 +0900 | [diff] [blame] | 263 | === Topic Changed |
David Pursehouse | b2161b2 | 2014-12-18 16:05:48 +0900 | [diff] [blame] | 264 | |
| 265 | Sent when the topic of a change has been changed. |
| 266 | |
David Pursehouse | ba3e28d | 2013-07-12 14:48:51 +0900 | [diff] [blame] | 267 | type:: "topic-changed" |
| 268 | |
| 269 | change:: link:json.html#change[change attribute] |
| 270 | |
| 271 | changer:: link:json.html#account[account attribute] |
| 272 | |
| 273 | oldTopic:: Topic name before it was changed. |
Jesse Greenwald | 6cc1190 | 2010-10-06 19:46:25 -0500 | [diff] [blame] | 274 | |
Hugo Arès | 3544753 | 2014-12-02 15:03:49 -0500 | [diff] [blame] | 275 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 276 | created. |
| 277 | |
Sven Selberg | bb521dc | 2017-12-11 14:17:44 +0100 | [diff] [blame] | 278 | === Work In Progress State Changed |
| 279 | |
David Pursehouse | 0722d23 | 2018-04-19 09:32:27 +0200 | [diff] [blame] | 280 | Sent when the link:intro-user.html#wip[WIP] state of the change has changed. |
Sven Selberg | bb521dc | 2017-12-11 14:17:44 +0100 | [diff] [blame] | 281 | |
| 282 | type:: wip-state-changed |
| 283 | |
| 284 | change:: link:json.html#change[change attribute] |
| 285 | |
Paladox none | 49edfc2 | 2019-02-21 19:33:05 +0000 | [diff] [blame] | 286 | patchSet:: link:json.html#patchSet[patchSet attribute] |
| 287 | |
Sven Selberg | bb521dc | 2017-12-11 14:17:44 +0100 | [diff] [blame] | 288 | changer:: link:json.html#account[account attribute] |
| 289 | |
| 290 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 291 | created. |
| 292 | |
Sven Selberg | 05354ec | 2017-12-11 14:17:44 +0100 | [diff] [blame] | 293 | === Private State Changed |
| 294 | |
David Pursehouse | 79ea765f | 2018-04-19 09:37:19 +0200 | [diff] [blame] | 295 | Sent when the link:intro-user.html#private-changes[private] state of the |
Sven Selberg | 05354ec | 2017-12-11 14:17:44 +0100 | [diff] [blame] | 296 | change has changed. |
| 297 | |
| 298 | type:: private-state-changed |
| 299 | |
| 300 | change:: link:json.html#change[change attribute] |
| 301 | |
Paladox none | 49edfc2 | 2019-02-21 19:33:05 +0000 | [diff] [blame] | 302 | patchSet:: link:json.html#patchSet[patchSet attribute] |
| 303 | |
Sven Selberg | 05354ec | 2017-12-11 14:17:44 +0100 | [diff] [blame] | 304 | changer:: link:json.html#account[account attribute] |
| 305 | |
| 306 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 307 | created. |
| 308 | |
David Pursehouse | 94b76cf | 2017-07-19 16:19:41 +0900 | [diff] [blame] | 309 | === Vote Deleted |
| 310 | |
| 311 | Sent when a vote was removed from a change. |
| 312 | |
| 313 | type:: "vote-deleted" |
| 314 | |
| 315 | change:: link:json.html#change[change attribute] |
| 316 | |
| 317 | patchSet:: link:json.html#patchSet[patchSet attribute] |
| 318 | |
| 319 | reviewer:: user whose vote was removed as link:json.html#account[account attribute] |
| 320 | |
| 321 | remover:: user who removed the vote as link:json.html#account[account attribute] |
| 322 | |
| 323 | approvals:: all votes as link:json.html#approval[approval attributes] |
| 324 | |
| 325 | comment:: Review comment cover message. |
| 326 | |
Marcin Czech | 4a6ba23 | 2022-05-12 18:31:22 +0200 | [diff] [blame] | 327 | === Project Head Updated |
| 328 | |
| 329 | Sent when project's head is updated. |
| 330 | |
| 331 | type:: "project-head-updated" |
| 332 | |
| 333 | oldHead:: The old project head name |
| 334 | |
| 335 | newHead:: The new project head name |
| 336 | |
| 337 | eventCreatedOn:: Time in seconds since the UNIX epoch when this event was |
| 338 | created. |
| 339 | |
Yuxuan 'fishy' Wang | 61698b1 | 2013-12-20 12:55:51 -0800 | [diff] [blame] | 340 | == SEE ALSO |
Kenny Root | 15ac1b8 | 2010-02-24 00:29:20 -0800 | [diff] [blame] | 341 | |
Shawn O. Pearce | 14760b7 | 2010-07-19 09:44:46 -0700 | [diff] [blame] | 342 | * link:json.html[JSON Data Formats] |
Kenny Root | 15ac1b8 | 2010-02-24 00:29:20 -0800 | [diff] [blame] | 343 | * link:access-control.html[Access Controls] |
| 344 | |
| 345 | GERRIT |
| 346 | ------ |
| 347 | Part of link:index.html[Gerrit Code Review] |
Yuxuan 'fishy' Wang | 99cb68d | 2013-10-31 17:26:00 -0700 | [diff] [blame] | 348 | |
| 349 | SEARCHBOX |
| 350 | --------- |