File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ kind : change
3
+ title : New Attributes for Issue Events API
4
+ created_at : 2014-10-06
5
+ author_name : jdpace
6
+ ---
7
+
8
+ We've made it easier to track changes to issues. The Issue Events API now provides more context for several event types:
9
+
10
+ - ` assigned ` and ` unassigned ` events now include an ` assignee ` object so you can see just who was assigned or unassigned.
11
+ - ` labeled ` and ` unlabeled ` events include a ` label ` object.
12
+ - ` milestoned ` and ` demilesoned ` events include a ` milestone ` object.
13
+ - ` renamed ` events include a ` rename ` object with the title before and after the rename.
14
+
15
+ Check out the [ Issue Events API documentation] [ issue-events ] for a full list of supported events. If you have
16
+ any questions or feedback, please [ drop us a line] [ contact ] .
17
+
18
+ [ issue-events ] : /v3/issues/events/
19
+ [ contact ] : https://github.com/contact?form[subject]=New+Attrs+for+Issue+Events+API
Original file line number Diff line number Diff line change @@ -13,6 +13,12 @@ determine who should be notified of comments.
13
13
14
14
### Attributes
15
15
16
+ id
17
+ : The Integer ID of the event.
18
+
19
+ url
20
+ : The API URL for fetching the event.
21
+
16
22
actor
17
23
: Always the User that generated the event.
18
24
@@ -22,6 +28,25 @@ commit_id
22
28
event
23
29
: Identifies the actual type of Event that occurred.
24
30
31
+ created_at
32
+ : The timestamp indicating when the event occurred.
33
+
34
+ label
35
+ : The Label object including 'name' and 'color' attributes. Only provided for 'labeled'
36
+ and 'unlabeled' events.
37
+
38
+ assignee
39
+ : The User object which was assigned to (or unassigned from) this Issue. Only provided for 'assigned'
40
+ and 'unassigned' events.
41
+
42
+ milestone
43
+ : The Milestone object including a 'title' attribute. Only provided for 'milestoned' and
44
+ 'demilestoned' events.
45
+
46
+ rename:
47
+ : An object containing rename details including 'from' and 'to' attributes. Only
48
+ provided for 'renamed' events.
49
+
25
50
### Events
26
51
27
52
closed
You can’t perform that action at this time.
0 commit comments