Get a single topic
GET/t/:id.json
Get a single topic
Request
Path Parameters
id stringrequired
Header Parameters
Api-Key stringrequired
Api-Username stringrequired
Responses
- 200
specific posts
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
post_stream objectrequired
posts object[]required
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
display_username stringrequired
primary_group_name stringnullrequired
flair_name stringnullrequired
flair_url stringnullrequired
flair_bg_color stringnullrequired
flair_color stringnullrequired
version integerrequired
can_edit booleanrequired
can_delete booleanrequired
can_recover booleanrequired
can_see_hidden_post booleanrequired
can_wiki booleanrequired
link_counts object[]required
url stringrequired
internal booleanrequired
reflection booleanrequired
title stringrequired
clicks integerrequired
read booleanrequired
user_title stringnullrequired
bookmarked booleanrequired
actions_summary object[]required
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 integerrequired
reviewable_score_count integerrequired
reviewable_score_pending_count integerrequired
stream undefined[]required
timeline_lookup undefined[]required
suggested_topics object[]required
id integerrequired
title stringrequired
fancy_title stringrequired
slug stringrequired
posts_count integerrequired
reply_count integerrequired
highest_post_number integerrequired
image_url stringnullrequired
created_at stringrequired
last_posted_at stringnullrequired
bumped booleanrequired
bumped_at stringrequired
archetype stringrequired
unseen booleanrequired
pinned booleanrequired
unpinned stringnullrequired
excerpt stringrequired
visible booleanrequired
closed booleanrequired
archived booleanrequired
bookmarked stringnullrequired
liked stringnullrequired
tags undefined[]required
tags_descriptions objectrequired
like_count integerrequired
views integerrequired
category_id integerrequired
featured_link stringnullrequired
posters object[]required
extras stringrequired
description stringrequired
user objectrequired
id integerrequired
username stringrequired
name stringrequired
avatar_template stringrequired
tags undefined[]required
tags_descriptions objectrequired
id integerrequired
title stringrequired
fancy_title stringrequired
posts_count integerrequired
created_at stringrequired
views integerrequired
reply_count integerrequired
like_count integerrequired
last_posted_at stringnullrequired
visible booleanrequired
closed booleanrequired
archived booleanrequired
has_summary booleanrequired
archetype stringrequired
slug stringrequired
category_id integerrequired
word_count integernullrequired
deleted_at stringnullrequired
user_id integerrequired
featured_link stringnullrequired
pinned_globally booleanrequired
pinned_at stringnullrequired
pinned_until stringnullrequired
image_url stringnullrequired
slow_mode_seconds integerrequired
draft stringnullrequired
draft_key stringrequired
draft_sequence integerrequired
unpinned stringnullrequired
pinned booleanrequired
current_post_number integerrequired
highest_post_number integernullrequired
deleted_by stringnullrequired
has_deleted booleanrequired
actions_summary object[]required
id integerrequired
count integerrequired
hidden booleanrequired
can_act booleanrequired
chunk_size integerrequired
bookmarked booleanrequired
bookmarks undefined[]required
topic_timer stringnullrequired
message_bus_last_id integerrequired
participant_count integerrequired
show_read_indicator booleanrequired
thumbnails stringnullrequired
slow_mode_enabled_until stringnullrequired
summarizable booleanrequired
details objectrequired
can_edit booleanrequired
notification_level integerrequired
can_move_posts booleanrequired
can_delete booleanrequired
can_remove_allowed_users booleanrequired
can_create_post booleanrequired
can_reply_as_new_topic booleanrequired
can_invite_to booleanrequired
can_invite_via_email booleanrequired
can_flag_topic booleanrequired
can_convert_topic booleanrequired
can_review_topic booleanrequired
can_close_topic booleanrequired
can_archive_topic booleanrequired
can_split_merge_topic booleanrequired
can_edit_staff_notes booleanrequired
can_toggle_topic_visibility booleanrequired
can_pin_unpin_topic booleanrequired
can_moderate_category booleanrequired
can_remove_self_id integerrequired
participants object[]
id integerrequired
username stringrequired
name stringrequired
avatar_template stringrequired
post_count integerrequired
primary_group_name stringnullrequired
flair_name stringnullrequired
flair_url stringnullrequired
flair_color stringnullrequired
flair_bg_color stringnullrequired
flair_group_id stringnullrequired
admin booleanrequired
moderator booleanrequired
trust_level integerrequired
created_by objectrequired
id integerrequired
username stringrequired
name stringrequired
avatar_template stringrequired
last_poster objectrequired
id integerrequired
username stringrequired
name stringrequired
avatar_template stringrequired
{
"post_stream": {
"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",
"display_username": "string",
"version": 0,
"can_edit": true,
"can_delete": true,
"can_recover": true,
"can_see_hidden_post": true,
"can_wiki": true,
"link_counts": [
{
"url": "string",
"internal": true,
"reflection": true,
"title": "string",
"clicks": 0
}
],
"read": true,
"bookmarked": true,
"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_id": 0,
"reviewable_score_count": 0,
"reviewable_score_pending_count": 0
}
],
"stream": [
null
]
},
"timeline_lookup": [
null
],
"suggested_topics": [
{
"id": 0,
"title": "string",
"fancy_title": "string",
"slug": "string",
"posts_count": 0,
"reply_count": 0,
"highest_post_number": 0,
"created_at": "string",
"bumped": true,
"bumped_at": "string",
"archetype": "string",
"unseen": true,
"pinned": true,
"excerpt": "string",
"visible": true,
"closed": true,
"archived": true,
"tags": [
null
],
"tags_descriptions": {},
"like_count": 0,
"views": 0,
"category_id": 0,
"posters": [
{
"extras": "string",
"description": "string",
"user": {
"id": 0,
"username": "string",
"name": "string",
"avatar_template": "string"
}
}
]
}
],
"tags": [
null
],
"tags_descriptions": {},
"id": 0,
"title": "string",
"fancy_title": "string",
"posts_count": 0,
"created_at": "string",
"views": 0,
"reply_count": 0,
"like_count": 0,
"visible": true,
"closed": true,
"archived": true,
"has_summary": true,
"archetype": "string",
"slug": "string",
"category_id": 0,
"user_id": 0,
"pinned_globally": true,
"slow_mode_seconds": 0,
"draft_key": "string",
"draft_sequence": 0,
"pinned": true,
"current_post_number": 0,
"has_deleted": true,
"actions_summary": [
{
"id": 0,
"count": 0,
"hidden": true,
"can_act": true
}
],
"chunk_size": 0,
"bookmarked": true,
"bookmarks": [
null
],
"message_bus_last_id": 0,
"participant_count": 0,
"show_read_indicator": true,
"summarizable": true,
"details": {
"can_edit": true,
"notification_level": 0,
"can_move_posts": true,
"can_delete": true,
"can_remove_allowed_users": true,
"can_create_post": true,
"can_reply_as_new_topic": true,
"can_invite_to": true,
"can_invite_via_email": true,
"can_flag_topic": true,
"can_convert_topic": true,
"can_review_topic": true,
"can_close_topic": true,
"can_archive_topic": true,
"can_split_merge_topic": true,
"can_edit_staff_notes": true,
"can_toggle_topic_visibility": true,
"can_pin_unpin_topic": true,
"can_moderate_category": true,
"can_remove_self_id": 0,
"participants": [
{
"id": 0,
"username": "string",
"name": "string",
"avatar_template": "string",
"post_count": 0,
"admin": true,
"moderator": true,
"trust_level": 0
}
],
"created_by": {
"id": 0,
"username": "string",
"name": "string",
"avatar_template": "string"
},
"last_poster": {
"id": 0,
"username": "string",
"name": "string",
"avatar_template": "string"
}
}
}
Loading...