invantive documentation
Invantive SupportforenAnmelden / Eintragen

Top_Topic_listTopics: Discourse Top Topics

read only REST

  • Katalog: Discourse
  • Schema: Topics
  • Label: Top Topics

Get the top topics

Es können nur Daten abgerufen werden.

Zusammenfassung

Get the top topics

API-Quelle

  • Endpunkt: /top.json
  • Operation: get /top.json

Leistungsmerkmale

Characteristic Value
Durchschnittliche Zugriffsverzögerung (ms) 243
Zeilen pro Minute schreiben 219

Das Ergebnis kann auf dem Client im Cache zwischengespeichert werden.

Tabellenspalten

Die Spalten der Tabelle Top_Topic_listTopics sind unten aufgeführt. Jede Spalte hat einen SQL-Datentyp. Beim Einfügen und Aktualisieren muss für jede erforderliche Spalte jederzeit ein neuer Wert angegeben werden der nicht Null ist.

Name Datentyp Label Required Marks Documentation
archetype varchar2 Archetype writable, archetype
archived char Archived writable, archived
bookmarked char Bookmarked writable, bookmarked
bumped char Bumped writable, bumped
bumped_at varchar2 Gepostet am writable, bumped_at
can_create_topic char Thema erstellen writable, ::ancestor.can_create_topic
can_have_answer char Möglicherweise gibt es eine Antwort filters on the platform, writable, can_have_answer
can_vote char Ist wahlberechtigt filters on the platform, writable, can_vote
category_id decimal Kategorie-ID writable, category_id
closed char Closed writable, closed
created_at varchar2 Erstellt bei writable, created_at
draft varchar2 Draft writable The JSON text of the nested object.
draft_key varchar2 Entwurfsschlüssel writable, ::ancestor.draft_key
draft_sequence decimal Entwurfssequenz writable, ::ancestor.draft_sequence
fancy_title varchar2 Ausgefallener Titel writable, fancy_title
for_period varchar2 Für Zeitraum writable, ::ancestor.for_period
has_accepted_answer char Wurde als Antwort akzeptiert filters on the platform, writable, has_accepted_answer
has_summary char Enthält eine Zusammenfassung writable, has_summary
highest_post_number decimal Höchste Beitragszahl writable, highest_post_number
id decimal ID writable, id
image_url varchar2 Bild (URL) writable The JSON text of the nested object.
last_posted_at varchar2 Zuletzt gepostet am writable, last_posted_at
last_poster_username varchar2 Benutzername des letzten Verfassers writable, last_poster_username
last_read_post_number decimal Nummer des zuletzt gelesenen Beitrags writable, last_read_post_number
like_count decimal #Likes writable, like_count
liked char Liked writable, liked
new_posts decimal Neue Beiträge writable, new_posts
notification_level decimal Benachrichtigungsstufe writable, notification_level
per_page decimal Pro Seite writable, ::ancestor.per_page
pinned char Pinned writable, pinned
pinned_globally char Weltweit angeheftet writable, pinned_globally
posts_count decimal #Posts writable, posts_count
reply_count decimal #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 decimal Unread writable, unread
unseen char Unseen writable, unseen
user_voted char Von Nutzern gewählt filters on the platform, writable, user_voted
views decimal Views writable, views
visible char Visible writable, visible
vote_count int32 Stimmenauszählung filters on the platform, writable, vote_count

Tasten

Key Column Bezieht sich auf Kind Description
Top_Topic_listTopics_category_id_cnd category_id Categories.id Candidate Not stated by Discourse; found on the data of the smoke forum on 2026-10-31, where every filled value is in the referenced table.
Top_Topic_listTopics_last_poster_username_cnd last_poster_username Top_Users.username Candidate Not stated by Discourse; found on the data of the smoke forum on 2026-10-31, where every filled value is in the referenced table.

Verwiesen von

Anmerkungen zu dieser Version

Was hat sich in den Tabellen, Spalten, Attributen und Funktionen des Treibers mit jeder neuen Version geändert:

Änderungen an dieser Tabelle, 26.0 bis 27.0

  • ~ category_id (database_data_type: decimal → int64)
  • ~ category_id (dotnet_data_type: decimal → int64)
  • ~ draft_sequence (database_data_type: decimal → int64)
  • ~ draft_sequence (dotnet_data_type: decimal → int64)
  • ~ highest_post_number (database_data_type: decimal → int64)
  • ~ highest_post_number (dotnet_data_type: decimal → int64)
  • ~ id (database_data_type: decimal → int64)
  • ~ id (dotnet_data_type: decimal → int64)
  • ~ last_read_post_number (database_data_type: decimal → int64)
  • ~ last_read_post_number (dotnet_data_type: decimal → int64)
  • ~ like_count (database_data_type: decimal → int64)
  • ~ like_count (dotnet_data_type: decimal → int64)
  • - new_posts
  • ~ notification_level (database_data_type: decimal → int64)
  • ~ notification_level (dotnet_data_type: decimal → int64)

17 weitere Änderungen

Discourse.Topics.Top_Topic_listTopics: Typänderungen

Der Typ von „Discourse.Topics.Top_Topic_listTopics“ ändert sich von einer Tabelle zu einer Tabellenfunktion.

Was ist zu tun?

Überprüfen Sie vor dem Upgrade alle Statements, Views und Skripte, die diese Spalte verwenden.

  • kann ein Statement unterbrechen
  • table → tablefunction
  • Bedeutung 3
Der Parameter per_page wird zu „Discourse.Topics.Top_Topic_listTopics“ hinzugefügt.

Optional.

  • Bedeutung 2
Der Parameter „period“ wurde zu „Discourse.Topics.Top_Topic_listTopics“ hinzugefügt.

Optional.

  • Bedeutung 2

  • ~ per_page (database_data_type: decimal → int64)
  • ~ per_page (dotnet_data_type: decimal → int64)
  • ~ posts_count (database_data_type: decimal → int64)
  • ~ posts_count (dotnet_data_type: decimal → int64)
  • ~ reply_count (database_data_type: decimal → int64)
  • ~ reply_count (dotnet_data_type: decimal → int64)
  • ~ unpinned (database_data_type: varchar2 → char)
  • ~ unpinned (dotnet_data_type: string → boolean)
  • - unread
  • ~ views (database_data_type: decimal → int64)
  • ~ views (dotnet_data_type: decimal → int64)
  • + featured_link (varchar2)
  • + op_like_count (int64)
  • + unread_posts (int64)

Alle Treiberwechsel, 26.0 bis 27.0