Type event

Discussion

This type describes an event that has recently occurred on a Stack Exchange site.

A minimal ammount of information is present in these events for scaling purposes. It is expected that most applications will make follow up calls to the API to "flesh out" the event objects for their own purposes.

Fields

creation_date

event_id
the id of the object (answer, comment, question, or user) the event describes

event_type
one of question_posted, answer_posted, comment_posted, post_edited, or user_created

excerpt
string
unchanged in unsafe filters

link
string
unchanged in unsafe filters

Fields marked with are included in the default filter, those marked with are excluded in the default filter.

Examples

Comment Posted

{"creation_date":1406836459,"event_id":1,"event_type":"comment_posted","excerpt":"part of the example comment","link":"http://example.stackexchange.com/questions/1/example-title#comment1_1"}

Answer Post

{"creation_date":1406836459,"event_id":1,"event_type":"answer_posted","excerpt":"part of the example answer","link":"http://example.stackexchange.com/questions/1/example-title/1#1"}

Post Edited

{"creation_date":1406836459,"event_id":1,"event_type":"post_edited","excerpt":"part of the example post","link":"http://example.stackexchange.com/questions/1/example-title"}

Question Post

{"creation_date":1406836459,"event_id":1,"event_type":"question_posted","excerpt":"part of the example question","link":"http://example.stackexchange.com/questions/1/example-title/1"}

User Created

{"creation_date":1406836459,"event_id":1,"event_type":"user_created","excerpt":"Example User Name","link":"http://example.stackexchange.com/users/1/example-user-name"}

Methods That Return This Type