Type user_timeline

Discussion

This type describes public actions a User has taken.

Fields

badge_id
integer, refers to a badge
may be absent

comment_id
integer, refers to a comment
may be absent

creation_date

detail
string
unchanged in unsafe filters
may be absent

link
string
unchanged in unsafe filters

post_id
integer, refers to a post
may be absent

post_type
one of question, answer, or article

suggested_edit_id
integer, refers to a suggested_edit
may be absent

timeline_type
one of commented, asked, answered, badge, revision, accepted, reviewed, or suggested

title
string
may be absent

user_id
integer, refers to a user

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

Examples

Accepted An Answer

{"post_id":2,"user_id":1,"timeline_type":"accepted","post_type":"answer","creation_date":1711692102,"link":"http://example.stackexchange.com/questions/1/question-title/2#2","title":"Question Title"}

Posted An Answer

{"post_id":2,"user_id":1,"timeline_type":"answered","post_type":"answer","creation_date":1711692102,"link":"http://example.stackexchange.com/questions/1/question-title/2#2","title":"Question Title"}

Asked A Question

{"post_id":1,"user_id":1,"timeline_type":"asked","post_type":"question","creation_date":1711692102,"link":"http://example.stackexchange.com/questions/1/question-title","title":"Question Title"}

Earned A Badge

{"badge_id":1,"post_id":1,"user_id":1,"timeline_type":"badge","post_type":"question","creation_date":1711692102,"link":"http://example.stackexchange.com/questions/1/question-title","detail":"Badge Name","title":"Question Title"}

Posted A Comment

{"comment_id":1,"post_id":1,"user_id":1,"timeline_type":"commented","post_type":"question","creation_date":1711692102,"link":"http://example.stackexchange.com/questions/1/question-title#comment1_1","detail":"Comment Body","title":"Question Title"}

Reviewed A Suggested Edit

{"suggested_edit_id":1,"post_id":1,"user_id":1,"timeline_type":"reviewed","post_type":"question","creation_date":1711692102,"link":"http://example.stackexchange.com/suggested-edit/1","detail":"Suggested Edit Comment","title":"Question Title"}

Edited A Post

{"post_id":1,"user_id":1,"timeline_type":"revision","post_type":"question","creation_date":1711692102,"link":"http://example.stackexchange.com/questions/1/question-title","detail":"Edit Comment","title":"Question Title"}

Suggested An Edit

{"suggested_edit_id":1,"post_id":1,"user_id":1,"timeline_type":"suggested","post_type":"question","creation_date":1711692102,"link":"http://example.stackexchange.com/suggested-edit/1","detail":"pending","title":"Question Title"}

Methods That Return This Type