Topics

Get the top topics filtered by period

GET
https://discourse.example.com/top.json

Parameters

Api-Keystringrequiredheader
Api-Usernamestringrequiredheader
periodstringquery

Enum: all, yearly, quarterly, monthly, weekly, daily

per_pageintegerquery

Maximum number of topics returned, between 1-100

Response

200OKobject

response

Response fields application/json
usersArray<object>
Show child attributes
idinteger
usernamestring
namestring
avatar_templatestring
primary_groupsArray<any>
topic_listobject
Show child attributes
can_create_topicboolean
draftstring | null
draft_keystring
draft_sequenceinteger
for_periodstring
per_pageinteger
topicsArray<object>
Show child attributes
idinteger
titlestring
fancy_titlestring
slugstring
posts_countinteger
reply_countinteger
highest_post_numberinteger
image_urlstring | null
created_atstring
last_posted_atstring
bumpedboolean
bumped_atstring
archetypestring
unseenboolean
last_read_post_numberinteger
unread_postsinteger
pinnedboolean
unpinnedboolean
visibleboolean
closedboolean
archivedboolean
notification_levelinteger
bookmarkedboolean
likedboolean
viewsinteger
like_countinteger
has_summaryboolean
last_poster_usernamestring
category_idinteger
op_like_countinteger
pinned_globallyboolean
postersArray<object>
Show child attributes
extrasstring | null
descriptionstring
user_idinteger
primary_group_idinteger | null