Message List

This site provides an API to fetch a (nearly) endless stream of messages.

Request

GET /messages

Optional parameters

limit
Specifies the number of results to fetch, up to 100.
pageToken
A token provided by the previous response to fetch the next page.

Response

JSON structure of the form:
{
    'count': number of messages,
    'messages': {
        'id': integer message ID
        'author': {
            'name': name of the message author,
            'photoUrl': photo of the message author,
        },
        'updated': UTC timestamp of the messages creation time,
        'content': message content,
    },
    'pageToken': a continuation token for the next page of messages
}

To get the next page, use the continuation token, i.e.:

GET /messages?pageToken=page token provided by the previous response