The "Event" object doesn't have an easy way for getting at the object relating to the event. There's a
link field, but I don't fancy having to parse the information out of that (although I could).
It'd be nice if the "Event" object had an
object_id field. This
object_id would have a different meaning depending on the
question_posted=> the id of the question
answer_posted=> the id of the answer
comment_posted=> the id of the comment
post_edited=> the id of the post
user_created=> the id of the user
This would be much nicer than trying to retrieve the id from the link.
Alternatively, if the
event_id field already fulfills this purpose, then the documentation really needs to be updated to reflect that and not simply say:
event_id - integer, refers to an event