Skip to main content
1 of 2

Include Full Post Details In /users/{id}/timeline

I have a feature request. I'm trying to pull the recent activity about a user from the API. So I'm parsing /users/{id}/timeline. But that only gives me meta-information about the activity. So then, for each result I need to re-call the /questions/{id}, /answers/{id} and /comments/{id} calls to get the actual data about what happened.

This is causing me to hit the rate-limit because instead of getting everything I need in 1 api call for the past 100 items, I need to hit the API 101 times...

So, I'm requesting a configuration parameter added to the timeline api call to allow the API to return the details of the referenced post for the following types:

  • askoranswered
  • comment

Basically, the containing information should be similar to calling the appropriate API (/questions/{id}, /answers/{id} and /comments/{id}) with both body=true and comments=true (for questions and answers).

I'd suggest: fullposts=true for the API parameter, and add it to the result under post: {}, the type for which can be determined by the post_type that's already in the result.