Get the top topics filtered by period
GET/top.json
Get the top topics filtered by period
Request
Query Parameters
period string
Enum: all
, yearly
, quarterly
, monthly
, weekly
, daily
Header Parameters
Api-Key stringrequired
Api-Username stringrequired
Responses
- 200
response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- Array [
- ]
- ]
users object[]
id integerrequired
username stringrequired
name stringrequired
avatar_template stringrequired
primary_groups undefined[]required
topic_list object
can_create_topic booleanrequired
draft stringnullrequired
draft_key stringrequired
draft_sequence integerrequired
for_period stringrequired
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 stringnullrequired
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 booleanrequired
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 stringnullrequired
description stringrequired
user_id integerrequired
primary_group_id stringnullrequired
{
"users": [
{
"id": 0,
"username": "string",
"name": "string",
"avatar_template": "string"
}
],
"primary_groups": [
null
],
"topic_list": {
"can_create_topic": true,
"draft_key": "string",
"draft_sequence": 0,
"for_period": "string",
"per_page": 0,
"topics": [
{
"id": 0,
"title": "string",
"fancy_title": "string",
"slug": "string",
"posts_count": 0,
"reply_count": 0,
"highest_post_number": 0,
"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,
"unpinned": 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": [
{
"description": "string",
"user_id": 0
}
]
}
]
}
}
Loading...