List latest posts across topics
GET/posts.json
List latest posts across topics
Request
Query Parameters
before stringrequired
Load posts with an id lower than this value. Useful for pagination.
Header Parameters
Api-Key stringrequired
Api-Username stringrequired
Responses
- 200
latest posts
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
latest_posts object[]
id integerrequired
name stringrequired
username stringrequired
avatar_template stringrequired
created_at stringrequired
cooked stringrequired
post_number integerrequired
post_type integerrequired
updated_at stringrequired
reply_count integerrequired
reply_to_post_number stringnullrequired
quote_count integerrequired
incoming_link_count integerrequired
reads integerrequired
readers_count integerrequired
score numberrequired
yours booleanrequired
topic_id integerrequired
topic_slug stringrequired
topic_title stringrequired
topic_html_title stringrequired
category_id integerrequired
display_username stringrequired
primary_group_name stringnullrequired
flair_name stringnullrequired
flair_url stringnullrequired
flair_bg_color stringnullrequired
flair_color stringnullrequired
flair_group_id stringnullrequired
version integerrequired
can_edit booleanrequired
can_delete booleanrequired
can_recover booleanrequired
can_see_hidden_post booleanrequired
can_wiki booleanrequired
user_title stringnullrequired
raw stringrequired
actions_summary object[]
id integerrequired
can_act booleanrequired
moderator booleanrequired
admin booleanrequired
staff booleanrequired
user_id integerrequired
hidden booleanrequired
trust_level integerrequired
deleted_at stringnullrequired
user_deleted booleanrequired
edit_reason stringnullrequired
can_view_edit_history booleanrequired
wiki booleanrequired
reviewable_id stringnullrequired
reviewable_score_count integerrequired
reviewable_score_pending_count integerrequired
{
"latest_posts": [
{
"id": 0,
"name": "string",
"username": "string",
"avatar_template": "string",
"created_at": "string",
"cooked": "string",
"post_number": 0,
"post_type": 0,
"updated_at": "string",
"reply_count": 0,
"quote_count": 0,
"incoming_link_count": 0,
"reads": 0,
"readers_count": 0,
"score": 0,
"yours": true,
"topic_id": 0,
"topic_slug": "string",
"topic_title": "string",
"topic_html_title": "string",
"category_id": 0,
"display_username": "string",
"version": 0,
"can_edit": true,
"can_delete": true,
"can_recover": true,
"can_see_hidden_post": true,
"can_wiki": true,
"raw": "string",
"actions_summary": [
{
"id": 0,
"can_act": true
}
],
"moderator": true,
"admin": true,
"staff": true,
"user_id": 0,
"hidden": true,
"trust_level": 0,
"user_deleted": true,
"can_view_edit_history": true,
"wiki": true,
"reviewable_score_count": 0,
"reviewable_score_pending_count": 0
}
]
}
Loading...