You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Triggered when an <a href="/enterprise/2.0/v3/issues">issue</a> is assigned, unassigned, labeled, unlabeled, opened, closed, or reopened.</p>
1680
+
<p>Triggered when an <a href="/enterprise/2.0/v3/issues">issue</a> is assigned, unassigned, labeled, unlabeled, opened, edited, closed, or reopened.</p>
1671
1681
<h3>
1672
1682
<a id="events-api-payload-12" class="anchor" href="#events-api-payload-12" aria-hidden="true"><span class="octicon octicon-link"></span></a>Events API payload</h3>
1673
1683
<table>
@@ -1680,14 +1690,29 @@ <h3>
1680
1690
<tr>
1681
1691
<td><code>action</code></td>
1682
1692
<td><code>string</code></td>
1683
-
<td>The action that was performed. Can be one of "assigned", "unassigned", "labeled", "unlabeled", "opened", "closed", or "reopened".</td>
1693
+
<td>The action that was performed. Can be one of "assigned", "unassigned", "labeled", "unlabeled", "opened", "edited", "closed", or "reopened".</td>
<p>Represents an attempted build of a GitHub Pages site, whether successful or not.</p>
2125
2150
<p>Triggered on push to a GitHub Pages enabled branch (<code>gh-pages</code> for project pages, <code>master</code> for user and organization pages).</p>
2126
-
<p>Events of this type are not visible in timelines, they are only used to trigger hooks.</p>
2151
+
<p>Events of this type are not visible in timelines. These events are only used to trigger hooks.</p>
2127
2152
<h3>
2128
2153
<a id="events-api-payload-15" class="anchor" href="#events-api-payload-15" aria-hidden="true"><span class="octicon octicon-link"></span></a>Events API payload</h3>
<p>Triggered when a <a href="/enterprise/2.0/v3/pulls">pull request</a> is assigned, unassigned, labeled, unlabeled, opened, closed, reopened, or synchronized.</p>
2432
+
<p>Triggered when a <a href="/enterprise/2.0/v3/pulls">pull request</a> is assigned, unassigned, labeled, unlabeled, opened, edited, closed, reopened, or synchronized.</p>
2408
2433
<h3>
2409
2434
<a id="events-api-payload-17" class="anchor" href="#events-api-payload-17" aria-hidden="true"><span class="octicon octicon-link"></span></a>Events API payload</h3>
2410
2435
<table>
@@ -2417,14 +2442,29 @@ <h3>
2417
2442
<tr>
2418
2443
<td><code>action</code></td>
2419
2444
<td><code>string</code></td>
2420
-
<td>The action that was performed. Can be one of "assigned", "unassigned", "labeled", "unlabeled", "opened", "closed", or "reopened", or "synchronize". If the action is "closed" and the <code>merged</code> key is <code>false</code>, the pull request was closed with unmerged commits. If the action is "closed" and the <code>merged</code> key is <code>true</code>, the pull request was merged.</td>
2445
+
<td>The action that was performed. Can be one of "assigned", "unassigned", "labeled", "unlabeled", "opened", "edited", "closed", or "reopened", or "synchronize". If the action is "closed" and the <code>merged</code> key is <code>false</code>, the pull request was closed with unmerged commits. If the action is "closed" and the <code>merged</code> key is <code>true</code>, the pull request was merged.</td>
2421
2446
</tr>
2422
2447
<tr>
2423
2448
<td><code>number</code></td>
2424
2449
<td><code>integer</code></td>
2425
2450
<td>The pull request number.</td>
2426
2451
</tr>
2427
2452
<tr>
2453
+
<td><code>changes</code></td>
2454
+
<td><code>object</code></td>
2455
+
<td>The changes to the comment if the action was "edited".</td>
2456
+
</tr>
2457
+
<tr>
2458
+
<td><code>changes[title][from]</code></td>
2459
+
<td><code>string</code></td>
2460
+
<td>The previous version of the title if the action was "edited".</td>
2461
+
</tr>
2462
+
<tr>
2463
+
<td><code>changes[body][from]</code></td>
2464
+
<td><code>string</code></td>
2465
+
<td>The previous version of the body if the action was "edited".</td>
<p>Triggered when a <a href="/enterprise/2.0/v3/pulls/comments">comment is created on a portion of the unified diff</a> of a pull request.</p>
2894
+
<p>Triggered when a <a href="/enterprise/2.0/v3/pulls/comments">comment on a Pull Request's unified diff</a> is created, edited, or deleted (in the Files Changed tab).</p>
2855
2895
<h3>
2856
2896
<a id="events-api-payload-18" class="anchor" href="#events-api-payload-18" aria-hidden="true"><span class="octicon octicon-link"></span></a>Events API payload</h3>
2857
2897
<table>
@@ -2864,7 +2904,17 @@ <h3>
2864
2904
<tr>
2865
2905
<td><code>action</code></td>
2866
2906
<td><code>string</code></td>
2867
-
<td>The action that was performed on the comment. Currently, can only be "created".</td>
2907
+
<td>The action that was performed on the comment. Can be one of <code>created</code>, <code>edited</code>, or <code>deleted</code>.</td>
2908
+
</tr>
2909
+
<tr>
2910
+
<td><code>changes</code></td>
2911
+
<td><code>object</code></td>
2912
+
<td>The changes to the comment if the action was "edited".</td>
2913
+
</tr>
2914
+
<tr>
2915
+
<td><code>changes[body][from]</code></td>
2916
+
<td><code>string</code></td>
2917
+
<td>The previous version of the body if the action was "edited".</td>
<p>Events of this type are not visible in timelines, they are only used to trigger organization webhooks.</p>
3809
+
<p>Triggered when a repository is created, deleted, made public, or made private.</p>
3810
+
<p>Events of this type are not visible in timelines. These events are only used to trigger hooks.</p>
3759
3811
<h3>
3760
3812
<a id="events-api-payload-21" class="anchor" href="#events-api-payload-21" aria-hidden="true"><span class="octicon octicon-link"></span></a>Events API payload</h3>
3761
3813
<table>
@@ -3768,12 +3820,12 @@ <h3>
3768
3820
<tr>
3769
3821
<td><code>action</code></td>
3770
3822
<td><code>string</code></td>
3771
-
<td>The action that was performed. Currently, can only be "created".</td>
3823
+
<td>The action that was performed. This can be one of <code>created</code>, <code>deleted</code>, <code>publicized</code>, or <code>privatized</code>.</td>
3772
3824
</tr>
3773
3825
<tr>
3774
3826
<td><code>repository</code></td>
3775
3827
<td><code>object</code></td>
3776
-
<td>The <a href="/enterprise/2.0/v3/repos/">repository</a> that was created.</td>
0 commit comments