github/developer.github.com — pull request #335 by claudiob (2013-10-21 16:02:54+00:00)
Title: 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, ...
}
]