---
title: "Top_Topic_listTopics (Discourse)"
description: "\u6CE8\u76EE\u306E\u30C8\u30D4\u30C3\u30AF"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/discourse/Discourse.Topics.Top_Topic_listTopics
original: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.Topics.Top_Topic_listTopics
updated: 2026-12-04T06:05:39Z
license: https://documentation.invantive.eu/ja/
---

# Top_Topic_listTopics: Discourse Top Topics

`read only` `REST`

- カタログ：`Discourse`
- スキーマ: `Topics`
- Label: Top Topics

Get the top topics

データの取得のみ可能です。

## 概要

Get the top topics

## APIソース

- エンドポイント: `/top.json`
- 作戦名：`get /top.json`

## 性能特性

| 特徴 | 値 |
|---|---:|
| 平均アクセス遅延（ms） | 243 |
| 書き込みの毎分行数 | 219 |

結果はクライアント側でキャッシュすることができます。

## 表の列

テーブル `Top_Topic_listTopics` の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `archetype` | `varchar2` | アーキタイプ | [ ] | 書き込み可能, `archetype` |  |
| `archived` | `char` | アーカイブ済み | [ ] | 書き込み可能, `archived` |  |
| `bookmarked` | `char` | ブックマークした | [ ] | 書き込み可能, `bookmarked` |  |
| `bumped` | `char` | 再投稿 | [ ] | 書き込み可能, `bumped` |  |
| `bumped_at` | `varchar2` | 投稿日時： | [ ] | 書き込み可能, `bumped_at` |  |
| `can_create_topic` | `char` | トピックを作成できます | [ ] | 書き込み可能, `::ancestor.can_create_topic` |  |
| `can_have_answer` | `char` | 答えが出るかもしれない | [ ] | プラットフォーム上のフィルター、書き込み可能、`can_have_answer` |  |
| `can_vote` | `char` | 投票可能 | [ ] | プラットフォーム上のフィルター、書き込み可能、`can_vote` |  |
| `category_id` | `decimal` | カテゴリID | [ ] | 書き込み可能, `category_id` |  |
| `closed` | `char` | 終了 | [ ] | 書き込み可能, `closed` |  |
| `created_at` | `varchar2` | 作成日： | [ ] | 書き込み可能, `created_at` |  |
| `draft` | `varchar2` | ドラフト | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `draft_key` | `varchar2` | ドラフトキー | [ ] | 書き込み可能, `::ancestor.draft_key` |  |
| `draft_sequence` | `decimal` | ドラフトシーケンス | [ ] | 書き込み可能, `::ancestor.draft_sequence` |  |
| `fancy_title` | `varchar2` | 派手なタイトル | [ ] | 書き込み可能, `fancy_title` |  |
| `for_period` | `varchar2` | 期間について | [ ] | 書き込み可能, `::ancestor.for_period` |  |
| `has_accepted_answer` | `char` | 「正解」として承認されました | [ ] | プラットフォーム上のフィルター、書き込み可能、`has_accepted_answer` |  |
| `has_summary` | `char` | 概要あり | [ ] | 書き込み可能, `has_summary` |  |
| `highest_post_number` | `decimal` | 投稿数が最も多い | [ ] | 書き込み可能, `highest_post_number` |  |
| `id` | `decimal` | ID | [ ] | 書き込み可能, `id` |  |
| `image_url` | `varchar2` | 画像のURL | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `last_posted_at` | `varchar2` | 最終投稿日時： | [ ] | 書き込み可能, `last_posted_at` |  |
| `last_poster_username` | `varchar2` | 最後の投稿者のユーザー名 | [ ] | 書き込み可能, `last_poster_username` |  |
| `last_read_post_number` | `decimal` | 最後に読んだ投稿番号 | [ ] | 書き込み可能, `last_read_post_number` |  |
| `like_count` | `decimal` | #Likes | [ ] | 書き込み可能, `like_count` |  |
| `liked` | `char` | 「いいね！」 | [ ] | 書き込み可能, `liked` |  |
| `new_posts` | `decimal` | 新しい投稿 | [ ] | 書き込み可能, `new_posts` |  |
| `notification_level` | `decimal` | 通知レベル | [ ] | 書き込み可能, `notification_level` |  |
| `per_page` | `decimal` | Per Page | [ ] | 書き込み可能, `::ancestor.per_page` |  |
| `pinned` | `char` | 固定済み | [ ] | 書き込み可能, `pinned` |  |
| `pinned_globally` | `char` | グローバルで固定済み | [ ] | 書き込み可能, `pinned_globally` |  |
| `posts_count` | `decimal` | #Posts | [ ] | 書き込み可能, `posts_count` |  |
| `reply_count` | `decimal` | #Replies | [ ] | 書き込み可能, `reply_count` |  |
| `slug` | `varchar2` | スラグ | [ ] | 書き込み可能, `slug` |  |
| `title` | `varchar2` | タイトル | [ ] | 書き込み可能, `title` |  |
| `unpinned` | `varchar2` | ピンが外された | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `unread` | `decimal` | 未読 | [ ] | 書き込み可能, `unread` |  |
| `unseen` | `char` | 未公開 | [ ] | 書き込み可能, `unseen` |  |
| `user_voted` | `char` | ユーザー投票 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user_voted` |  |
| `views` | `decimal` | Views | [ ] | 書き込み可能, `views` |  |
| `visible` | `char` | 表示中 | [ ] | 書き込み可能, `visible` |  |
| `vote_count` | `int32` | 得票数 | [ ] | プラットフォーム上のフィルター、書き込み可能、`vote_count` |  |

## キー

| キー | コラム | 「～を指す」 | 種類 | 説明 |
|---|---|---|---|---|
| `Top_Topic_listTopics_category_id_cnd` | `category_id` | [Categories](Discourse.Categories.Categories)`.id` | 候補者 | 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` | 候補者 | 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_listTopicsPosters](Discourse.Topics.Top_Topic_listTopicsPosters) `id` (Candidate)


## リリース情報

各リリースごとに、ドライバのテーブル、列、属性、および機能にどのような変更があったか：

- [Discourse](/ja/release-notes/drivers/discourse)

### このテーブルの変更点、26.0 ～ 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 件の変更

</summary>

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

##### Discourse.Topics.Top_Topic_listTopics: type changes

Type of Discourse.Topics.Top_Topic_listTopics changes from table to tablefunction.

<div class="rn-action">

**どうすればいいか**

Check statements, views and scripts that use it before the upgrade.

</div>

<div class="rn-chips">

- **文を中断させることができる**
- `table` &rarr; `tablefunction`
- 重要性 3

</div>

</div>

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

##### Parameter per_page is added to Discourse.Topics.Top_Topic_listTopics

任意項目です。

<div class="rn-chips">

- 重要性 2

</div>

</div>

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

##### Parameter period is added to Discourse.Topics.Top_Topic_listTopics

任意項目です。

<div class="rn-chips">

- 重要性 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>

[ドライバーの変更はすべて、26.0 ～ 27.0](/ja/release-notes/drivers/discourse?step=26.0-to-27.0#discourse-26.0-to-27.0)
