Latest_Topic_listTopics: Discourse Latest Topics
read only REST
- Catalog:
Discourse - Schema:
Topics - Label: Latest Topics
Get the latest topics
Can only retrieve data.
Summary
Get the latest topics
API Source
- Endpoint:
/latest.json - Operation:
get /latest.json
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 243 |
| Write rows per minute | 219 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
ascending |
`` | defaults to desc, add ascending=true to sort asc |
||
order |
`` | Values: default, created, activity, views, posts, category, likes, op_likes, posters. |
Table Columns
The columns of the table Latest_Topic_listTopics are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
archetype |
varchar2 |
Archetype | writable, archetype |
||
archived |
char |
Archived | writable, archived |
||
bookmarked |
varchar2 |
Bookmarked | writable | The JSON text of the nested object. | |
bumped |
char |
Bumped | writable, bumped |
||
bumped_ |
varchar2 |
Bumped at | writable, bumped_ |
||
can_ |
char |
Can Create Topic | writable, ::ancestor. |
||
can_ |
char |
Can Have Answer | filters on the platform, writable, can_ |
||
can_ |
char |
Can Vote | filters on the platform, writable, can_ |
||
category_ |
int64 |
Category ID | writable, category_ |
||
closed |
char |
Closed | writable, closed |
||
created_ |
varchar2 |
Created at | writable, created_ |
||
draft |
varchar2 |
Draft | writable | The JSON text of the nested object. | |
draft_ |
varchar2 |
Draft Key | writable, ::ancestor. |
||
draft_ |
varchar2 |
Draft Sequence | writable | The JSON text of the nested object. | |
excerpt |
varchar2 |
Excerpt | writable, excerpt |
||
fancy_ |
varchar2 |
Fancy Title | writable, fancy_ |
||
has_ |
char |
Has Accepted Answer | filters on the platform, writable, has_ |
||
has_ |
char |
Has Summary | writable, has_ |
||
highest_ |
int64 |
Highest Post Number | writable, highest_ |
||
id |
int64 |
ID | writable, id |
||
image_ |
varchar2 |
Image URL | writable | The JSON text of the nested object. | |
last_ |
varchar2 |
Last Posted at | writable, last_ |
||
last_ |
varchar2 |
Last Poster Username | writable, last_ |
||
last_ |
int32 |
Last Read Post Number | filters on the platform, writable, last_ |
||
like_ |
int64 |
#Likes | writable, like_ |
||
liked |
varchar2 |
Liked | writable | The JSON text of the nested object. | |
new_ |
int32 |
New Posts | filters on the platform, writable, new_ |
||
notification_ |
int32 |
Notification Level | filters on the platform, writable, notification_ |
||
per_ |
int64 |
Per Page | writable, ::ancestor. |
||
pinned |
char |
Pinned | writable, pinned |
||
pinned_ |
char |
Pinned Globally | writable, pinned_ |
||
posts_ |
int64 |
#Posts | writable, posts_ |
||
reply_ |
int64 |
#Replies | writable, reply_ |
||
slug |
varchar2 |
Slug | writable, slug |
||
title |
varchar2 |
Title | writable, title |
||
unpinned |
varchar2 |
Unpinned | writable | The JSON text of the nested object. | |
unread |
int32 |
Unread | filters on the platform, writable, unread |
||
unseen |
char |
Unseen | writable, unseen |
||
user_ |
char |
User Voted | filters on the platform, writable, user_ |
||
views |
int64 |
Views | writable, views |
||
visible |
char |
Visible | writable, visible |
||
vote_ |
int32 |
Vote Count | filters on the platform, writable, vote_ |
Release Notes
What changed per release in the tables, columns, attributes and capabilities of the driver:
Changes of This Table, 26.0 to 27.0
Parameter ascending of Discourse.Topics.Latest_Topic_listTopics: dotnet data type changes
Dotnet data type changes from boolean to string.
What to Do
Check statements, views and scripts that use it before the upgrade.
- can break a statement
boolean→string- importance 3
~bookmarked(database_data_type:varchar2→char)~bookmarked(dotnet_data_type:string→boolean)~draft_sequence(database_data_type:varchar2→int64)~draft_sequence(dotnet_data_type:string→int64)-excerpt~last_read_post_number(database_data_type:int32→int64)~last_read_post_number(dotnet_data_type:int32→int64)~liked(database_data_type:varchar2→char)~liked(dotnet_data_type:string→boolean)~notification_level(database_data_type:int32→int64)~notification_level(dotnet_data_type:int32→int64)+featured_link(varchar2)+op_like_count(int64)+unread_posts(int64)
1 more changes
Parameter per_page is added to Discourse.Topics.Latest_Topic_listTopics
Optional.
- importance 2