Commit 5c0c84e
committed
Thread IDs are Strings, not Integer
The THREAD resource (used to document Notifications) states that the ID is returned as an Integer, where in fact is returned as a String.
For instance, if I run
curl -u [KEY]:x-oauth-basic https://api.github.com/notifications
I obtain the following result (truncated):
[
{
"id": "18765913",
"unread": true,
"reason": "mention",
"updated_at": "2013-10-21T15:52:16Z",
"last_read_at": null, ...
}
]1 parent e68bb06 commit 5c0c84e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1535 | 1535 | | |
1536 | 1536 | | |
1537 | 1537 | | |
1538 | | - | |
| 1538 | + | |
1539 | 1539 | | |
1540 | 1540 | | |
1541 | 1541 | | |
| |||
0 commit comments