---
title: "Top_Topic_listTopics (Discourse)"
description: "Top Topics"
language: it
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/it/datamodels/discourse/Discourse.Topics.Top_Topic_listTopics
original: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.Topics.Top_Topic_listTopics
updated: 2026-11-16T20:47:33Z
license: https://documentation.invantive.eu/it/
---

# Top_Topic_listTopics: Discourse Top Topics

`read only` `REST`

- Catalogo: `Discourse`
- Schema: `Topics`
- Label: Top Topics

Get the top topics

È possibile solo recuperare i dati.

## Riepilogo

Get the top topics

## Codice sorgente dell'API

- Punto finale: `/top.json`
- Operazione: `get /top.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.

## Colonne della tabella

Di seguito sono riportate le colonne della tabella `Top_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` | `char` | Bookmarked | [ ] | writable, `bookmarked` |  |
| `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` | `decimal` | 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` | `decimal` | Sequenza di bozza | [ ] | writable, `::ancestor.draft_sequence` |  |
| `fancy_title` | `varchar2` | Titolo fantasioso | [ ] | writable, `fancy_title` |  |
| `for_period` | `varchar2` | Per il periodo | [ ] | writable, `::ancestor.for_period` |  |
| `has_accepted_answer` | `char` | Risposta accettata | [ ] | filters on the platform, writable, `has_accepted_answer` |  |
| `has_summary` | `char` | Riepilogo | [ ] | writable, `has_summary` |  |
| `highest_post_number` | `decimal` | Numero postale più alto | [ ] | writable, `highest_post_number` |  |
| `id` | `decimal` | 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` | `decimal` | Numero dell'ultimo post letto | [ ] | writable, `last_read_post_number` |  |
| `like_count` | `decimal` | #Likes | [ ] | writable, `like_count` |  |
| `liked` | `char` | Liked | [ ] | writable, `liked` |  |
| `new_posts` | `decimal` | Nuovi post | [ ] | writable, `new_posts` |  |
| `notification_level` | `decimal` | Livello di notifica | [ ] | writable, `notification_level` |  |
| `per_page` | `decimal` | Per pagina | [ ] | writable, `::ancestor.per_page` |  |
| `pinned` | `char` | Pinned | [ ] | writable, `pinned` |  |
| `pinned_globally` | `char` | In evidenza a livello globale | [ ] | 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` | Votato dagli utenti | [ ] | filters on the platform, writable, `user_voted` |  |
| `views` | `decimal` | Views | [ ] | writable, `views` |  |
| `visible` | `char` | Visible | [ ] | writable, `visible` |  |
| `vote_count` | `int32` | Conteggio dei voti | [ ] | filters on the platform, writable, `vote_count` |  |

## Chiavi

| Key | Column | Si riferisce a | Kind | Description |
|---|---|---|---|---|
| `Top_Topic_listTopics_category_id_cnd` | `category_id` | [Categories](Discourse.Categories.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](Discourse.Topics.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. |

## Riferito da

- [Top_Topic_listTopicsPosters](Discourse.Topics.Top_Topic_listTopicsPosters) `id` (Candidate)


## Note di rilascio

Cosa è cambiato, versione per versione, nelle tabelle, nelle colonne, negli attributi e nelle funzionalità del driver:

- [Discourse](/it/release-notes/drivers?driver=discourse)

### Modifiche apportate a questa tabella, da 26.0 a 27.0

<a id="DCE-27.0-D548"></a><a id="DCE-27.0-D549"></a><a id="DCE-27.0-D550"></a><a id="DCE-27.0-D551"></a><a id="DCE-27.0-D552"></a><a id="DCE-27.0-D553"></a><a id="DCE-27.0-D554"></a><a id="DCE-27.0-D555"></a><a id="DCE-27.0-D556"></a><a id="DCE-27.0-D557"></a><a id="DCE-27.0-D558"></a><a id="DCE-27.0-D559"></a><a id="DCE-27.0-D560"></a><a id="DCE-27.0-D561"></a><a id="DCE-27.0-D562"></a>

- `~` `category_id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `category_id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `draft_sequence` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `draft_sequence` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `highest_post_number` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `highest_post_number` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `last_read_post_number` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `last_read_post_number` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `like_count` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `like_count` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `-` `new_posts`
- `~` `notification_level` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `notification_level` (`dotnet_data_type`: `decimal` &rarr; `int64`)

<details>
<summary>

17 ulteriori modifiche

</summary>

<div class="rn-item" id="DCE-27.0-D1079">

##### Discourse.Topics.Top_Topic_listTopics: modifiche al tipo

Il tipo di Discourse.Topics.Top_Topic_listTopics cambia da tabella a tabella.

<div class="rn-action">

**Cosa fare**

Verificare le istruzioni, le Views e gli script che la utilizzano prima dell’aggiornamento.

</div>

<div class="rn-chips">

- **può interrompere un'istruzione**
- `table` &rarr; `tablefunction`
- importanza 3

</div>

</div>

<div class="rn-item" id="DCE-27.0-D2385">

##### Il parametro per_page è stato aggiunto a Discourse.Topics.Top_Topic_listTopics

Facoltativo.

<div class="rn-chips">

- importanza 2

</div>

</div>

<div class="rn-item" id="DCE-27.0-D2386">

##### Il parametro «period» è stato aggiunto a Discourse.Topics.Top_Topic_listTopics

Facoltativo.

<div class="rn-chips">

- importanza 2

</div>

</div>

<a id="DCE-27.0-D563"></a><a id="DCE-27.0-D564"></a><a id="DCE-27.0-D565"></a><a id="DCE-27.0-D566"></a><a id="DCE-27.0-D567"></a><a id="DCE-27.0-D568"></a><a id="DCE-27.0-D569"></a><a id="DCE-27.0-D570"></a><a id="DCE-27.0-D571"></a><a id="DCE-27.0-D572"></a><a id="DCE-27.0-D573"></a><a id="DCE-27.0-D1591"></a><a id="DCE-27.0-D1592"></a><a id="DCE-27.0-D1593"></a>

- `~` `per_page` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `per_page` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `posts_count` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `posts_count` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `reply_count` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `reply_count` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `unpinned` (`database_data_type`: `varchar2` &rarr; `char`)
- `~` `unpinned` (`dotnet_data_type`: `string` &rarr; `boolean`)
- `-` `unread`
- `~` `views` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `views` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `+` `featured_link` (`varchar2`)
- `+` `op_like_count` (`int64`)
- `+` `unread_posts` (`int64`)

</details>

[Tutte le sostituzioni del conducente, da 26.0 a 27.0](/it/release-notes/drivers?driver=discourse&step=26.0-to-27.0#discourse-26.0-to-27.0)
