Get the latest topics
GET/latest.json
Get the latest topics
Request
Query Parameters
order string
Enum: default
, created
, activity
, views
, posts
, category
, likes
, op_likes
, posters
ascending string
Defaults to desc
, add ascending=true
to sort asc
Header Parameters
Api-Key stringrequired
Api-Username stringrequired
Responses
- 200
topic updated
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
users object[]
id integerrequired
username stringrequired
name stringnullrequired
avatar_template stringrequired
primary_groups undefined[]required
topic_list object
can_create_topic booleanrequired
draft stringnullrequired
draft_key stringrequired
draft_sequence integerrequired
per_page integerrequired
topics object[]
id integerrequired
title stringrequired
fancy_title stringrequired
slug stringrequired
posts_count integerrequired
reply_count integerrequired
highest_post_number integerrequired
image_url stringrequired
created_at stringrequired
last_posted_at stringrequired
bumped booleanrequired
bumped_at stringrequired
archetype stringrequired
unseen booleanrequired
last_read_post_number integerrequired
unread_posts integerrequired
pinned booleanrequired
unpinned stringnullrequired
visible booleanrequired
closed booleanrequired
archived booleanrequired
notification_level integerrequired
bookmarked booleanrequired
liked booleanrequired
views integerrequired
like_count integerrequired
has_summary booleanrequired
last_poster_username stringrequired
category_id integerrequired
op_like_count integerrequired
pinned_globally booleanrequired
featured_link stringnullrequired
posters object[]
extras stringrequired
description stringrequired
user_id integerrequired
primary_group_id stringnullrequired
{
"users": [
{
"id": 0,
"username": "string",
"avatar_template": "string"
}
],
"primary_groups": [
null
],
"topic_list": {
"can_create_topic": true,
"draft_key": "string",
"draft_sequence": 0,
"per_page": 0,
"topics": [
{
"id": 0,
"title": "string",
"fancy_title": "string",
"slug": "string",
"posts_count": 0,
"reply_count": 0,
"highest_post_number": 0,
"image_url": "string",
"created_at": "string",
"last_posted_at": "string",
"bumped": true,
"bumped_at": "string",
"archetype": "string",
"unseen": true,
"last_read_post_number": 0,
"unread_posts": 0,
"pinned": true,
"visible": true,
"closed": true,
"archived": true,
"notification_level": 0,
"bookmarked": true,
"liked": true,
"views": 0,
"like_count": 0,
"has_summary": true,
"last_poster_username": "string",
"category_id": 0,
"op_like_count": 0,
"pinned_globally": true,
"posters": [
{
"extras": "string",
"description": "string",
"user_id": 0
}
]
}
]
}
}
Loading...