Latest_Topic_listTopics: Discourse Latest Topics
read only REST
- Catalogo:
Discourse - Schema:
Topics - Label: Latest Topics
Get the latest topics
È possibile solo recuperare i dati.
Riepilogo
Get the latest topics
Codice sorgente dell'API
- Punto finale:
/latest.json - Operazione:
get /latest.json
Caratteristiche prestazionali
| Characteristic | Value |
|---|---|
| Latenza media di accesso (ms) | 243 |
| Scrittura di righe al minuto | 219 |
Il risultato può essere memorizzato nella memoria cache sul client.
Parametri
| Name | Tipo di dati | 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. |
Colonne della tabella
Di seguito sono riportate le colonne della tabella Latest_Topic_listTopics. Ogni colonna ha un tipo di dati SQL. Un nuovo valore non nullo deve essere fornito per ogni colonna richiesta in ogni momento durante l'inserimento e l'aggiornamento.
| Name | Tipo di dati | 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 |
Urtato a | writable, bumped_ |
||
can_ |
char |
Può creare un argomento | writable, ::ancestor. |
||
can_ |
char |
Potrebbe esserci una risposta | filters on the platform, writable, can_ |
||
can_ |
char |
Può votare | filters on the platform, writable, can_ |
||
category_ |
int64 |
ID categoria | writable, category_ |
||
closed |
char |
Closed | writable, closed |
||
created_ |
varchar2 |
Creato il | writable, created_ |
||
draft |
varchar2 |
Draft | writable | The JSON text of the nested object. | |
draft_ |
varchar2 |
Chiave di Bozza | writable, ::ancestor. |
||
draft_ |
varchar2 |
Sequenza di bozza | writable | The JSON text of the nested object. | |
excerpt |
varchar2 |
Excerpt | writable, excerpt |
||
fancy_ |
varchar2 |
Titolo fantasioso | writable, fancy_ |
||
has_ |
char |
Risposta accettata | filters on the platform, writable, has_ |
||
has_ |
char |
Riepilogo | writable, has_ |
||
highest_ |
int64 |
Numero postale più alto | writable, highest_ |
||
id |
int64 |
ID | writable, id |
||
image_ |
varchar2 |
URL dell'immagine | writable | The JSON text of the nested object. | |
last_ |
varchar2 |
Ultimo aggiornamento alle | writable, last_ |
||
last_ |
varchar2 |
Nome utente dell'ultimo poster | writable, last_ |
||
last_ |
int32 |
Numero dell'ultimo post letto | filters on the platform, writable, last_ |
||
like_ |
int64 |
#Likes | writable, like_ |
||
liked |
varchar2 |
Liked | writable | The JSON text of the nested object. | |
new_ |
int32 |
Nuovi post | filters on the platform, writable, new_ |
||
notification_ |
int32 |
Livello di notifica | filters on the platform, writable, notification_ |
||
per_ |
int64 |
Per pagina | writable, ::ancestor. |
||
pinned |
char |
Pinned | writable, pinned |
||
pinned_ |
char |
In evidenza a livello globale | 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 |
Votato dagli utenti | filters on the platform, writable, user_ |
||
views |
int64 |
Views | writable, views |
||
visible |
char |
Visible | writable, visible |
||
vote_ |
int32 |
Conteggio dei voti | filters on the platform, writable, vote_ |
Note di rilascio
Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver:
Modifiche apportate a questa tabella, da 26.0 a 27.0
Ordinamento ascendente del parametro Discourse.Topics.Latest_Topic_listTopics: modifiche ai tipi di dati .NET
Il tipo di dati .NET passa da booleano a stringa.
Cosa fare
Verificare le istruzioni, le Views e gli script che la utilizzano prima dell’aggiornamento.
- può interrompere un'istruzione
boolean→string- importanza 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 ulteriori modifiche
Il parametro per_page è stato aggiunto a Discourse.Topics.Latest_Topic_listTopics
Facoltativo.
- importanza 2