invantive documentation
Forum di supporto InvantiveAccedi / Registrati

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.

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_at varchar2 Urtato a writable, bumped_at
can_create_topic char Può creare un argomento writable, ::ancestor.can_create_topic
can_have_answer char Potrebbe esserci una risposta filters on the platform, writable, can_have_answer
can_vote char Può votare filters on the platform, writable, can_vote
category_id int64 ID categoria writable, category_id
closed char Closed writable, closed
created_at varchar2 Creato il writable, created_at
draft varchar2 Draft writable The JSON text of the nested object.
draft_key varchar2 Chiave di Bozza writable, ::ancestor.draft_key
draft_sequence varchar2 Sequenza di bozza writable The JSON text of the nested object.
excerpt varchar2 Excerpt writable, excerpt
fancy_title varchar2 Titolo fantasioso writable, fancy_title
has_accepted_answer char Risposta accettata filters on the platform, writable, has_accepted_answer
has_summary char Riepilogo writable, has_summary
highest_post_number int64 Numero postale più alto writable, highest_post_number
id int64 ID writable, id
image_url varchar2 URL dell'immagine writable The JSON text of the nested object.
last_posted_at varchar2 Ultimo aggiornamento alle writable, last_posted_at
last_poster_username varchar2 Nome utente dell'ultimo poster writable, last_poster_username
last_read_post_number int32 Numero dell'ultimo post letto filters on the platform, writable, last_read_post_number
like_count int64 #Likes writable, like_count
liked varchar2 Liked writable The JSON text of the nested object.
new_posts int32 Nuovi post filters on the platform, writable, new_posts
notification_level int32 Livello di notifica filters on the platform, writable, notification_level
per_page int64 Per pagina writable, ::ancestor.per_page
pinned char Pinned writable, pinned
pinned_globally char In evidenza a livello globale writable, pinned_globally
posts_count int64 #Posts writable, posts_count
reply_count int64 #Replies writable, reply_count
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_voted char Votato dagli utenti filters on the platform, writable, user_voted
views int64 Views writable, views
visible char Visible writable, visible
vote_count int32 Conteggio dei voti filters on the platform, writable, vote_count

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

Tutte le sostituzioni del conducente, da 26.0 a 27.0