Usage of /posts
Fetches all posts (questions and answers) on the site.
Most applications should use the question or answer specific methods, but
/posts is available for those
rare cases where any activity is of intereset. Examples of such queries would be: "all posts on Jan. 1st 2011" or "top 10 posts by score
of all time".
The sorts accepted by this method operate on the follow fields of the post object:
- activity –
- creation –
- votes –
activityis the default sort.
It is possible to create moderately complex queries using
This method returns a list of posts.