8000 Merge pull request #611 from github/update-1412620545 · YouthLab/developer.github.com@7296b73 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7296b73

Browse files
author
hubot
committed
Merge pull request github#611 from github/update-1412620545
2 parents c76d35c + 4157438 commit 7296b73

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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

content/v3/issues/events.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ determine who should be notified of comments.
1313

1414
### Attributes
1515

16+
id
17+
: The Integer ID of the event.
18+
19+
url
20+
: The API URL for fetching the event.
21+
1622
actor
1723
: Always the User that generated the event.
1824

@@ -22,6 +28,25 @@ commit_id
2228
event
2329
: Identifies the actual type of Event that occurred.
2430

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+
2550
### Events
2651

2752
closed

0 commit comments

Comments
 (0)
0