---
title: "Posts (Discourse)"
description: "\u6295\u7A3F"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/discourse/Discourse.Posts.Posts
original: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.Posts.Posts
updated: 2026-12-04T05:14:27Z
license: https://documentation.invantive.eu/ja/
---

# Posts: Discourse Posts

`insert` `REST`

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

Get a list of the latest posts across topics

`insert` を使用して、データの取得や変更を行うことができます。

## 概要

Get a list of the latest posts across topics

## APIソース

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

## 性能特性

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

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

## 表の列

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

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `accepted_answer` | `char` | 採用された回答 | [ ] | プラットフォーム上のフィルター、書き込み可能、`accepted_answer` |  |
| `action_code` | `varchar2` | アクションコード | [ ] | プラットフォーム上のフィルター、書き込み可能、`action_code` |  |
| `admin` | `char` | 管理者 | [ ] | プラットフォーム上のフィルター、書き込み可能、`admin` |  |
| `avatar_template` | `varchar2` | アバターテンプレート | [ ] | プラットフォーム上のフィルター、書き込み可能、`avatar_template` |  |
| `avg_time` | `varchar2` | itgen_dce_avg_time | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `bookmarked` | `char` | ブックマークした | [ ] | プラットフォーム上のフィルター、書き込み可能、`bookmarked` |  |
| `can_accept_answer` | `char` | 回答を承認できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`can_accept_answer` |  |
| `can_delete` | `char` | 削除可能 | [ ] | プラットフォーム上のフィルター、書き込み可能、`can_delete` |  |
| `can_edit` | `char` | 編集可能 | [ ] | プラットフォーム上のフィルター、書き込み可能、`can_edit` |  |
| `can_recover` | `varchar2` | 復旧可能 | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `can_unaccept_answer` | `char` | 「回答を却下」は可能ですか | [ ] | プラットフォーム上のフィルター、書き込み可能、`can_unaccept_answer` |  |
| `can_view_edit_history` | `char` | View編集履歴を表示できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`can_view_edit_history` |  |
| `can_vote` | `char` | 投票可能 | [ ] | プラットフォーム上のフィルター、書き込み可能、`can_vote` |  |
| `can_wiki` | `char` | ウィキ化できるか | [ ] | プラットフォーム上のフィルター、書き込み可能、`can_wiki` |  |
| `category_id` | `decimal` | カテゴリID | [ ] | プラットフォーム上のフィルター、書き込み可能、`category_id` |  |
| `cooked` | `varchar2` | 調理済み | [ ] | プラットフォーム上のフィルター、書き込み可能、`cooked` |  |
| `created_at` | `varchar2` | 作成日： | [ ] | プラットフォーム上のフィルター、書き込み可能、`created_at` |  |
| `deleted_at` | `varchar2` | 削除日時 | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `display_username` | `varchar2` | ユーザー名を表示する | [ ] | プラットフォーム上のフィルター、書き込み可能、`display_username` |  |
| `edit_reason` | `varchar2` | 編集理由 | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `hidden` | `char` | 非表示 | [ ] | プラットフォーム上のフィルター、書き込み可能、`hidden` |  |
| `id` | `decimal` | ID | [ ] | プラットフォーム上のフィルター、書き込み可能、`id` |  |
| `incoming_link_count` | `decimal` | #被リンク | [ ] | プラットフォーム上のフィルター、書き込み可能、`incoming_link_count` |  |
| `moderator` | `char` | モデレーター | [ ] | プラットフォーム上のフィルター、書き込み可能、`moderator` |  |
| `name` | `varchar2` | 名前 | [ ] | プラットフォーム上のフィルター、書き込み可能、`name` |  |
| `notice_type` | `varchar2` | 通知の種類 | [ ] | プラットフォーム上のフィルター、書き込み可能、`notice.type` |  |
| `post_number` | `decimal` | 投稿番号 | [ ] | プラットフォーム上のフィルター、書き込み可能、`post_number` |  |
| `post_type` | `decimal` | 投稿の種類 | [ ] | プラットフォーム上のフィルター、書き込み可能、`post_type` |  |
| `primary_group_flair_bg_color` | `varchar2` | itgen_dce_primary_group_flair_bg_color | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `primary_group_flair_color` | `varchar2` | itgen_dce_primary_group_flair_color | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `primary_group_flair_url` | `varchar2` | itgen_dce_primary_group_flair_url | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `primary_group_name` | `varchar2` | プライマリグループ名 | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `quote_count` | `decimal` | #Quotes | [ ] | プラットフォーム上のフィルター、書き込み可能、`quote_count` |  |
| `raw` | `varchar2` | 生 | [ ] | プラットフォーム上のフィルター、書き込み可能、`raw` |  |
| `readers_count` | `int32` | 読者数 | [ ] | プラットフォーム上のフィルター、書き込み可能、`readers_count` |  |
| `reads` | `decimal` | #Reads | [ ] | プラットフォーム上のフィルター、書き込み可能、`reads` |  |
| `reply_count` | `decimal` | #Replies | [ ] | プラットフォーム上のフィルター、書き込み可能、`reply_count` |  |
| `reply_to_post_number` | `varchar2` | 投稿番号への返信 | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `reply_to_user_avatar_template` | `varchar2` | ユーザーのアバターテンプレートへの返信 | [ ] | プラットフォーム上のフィルター、書き込み可能、`reply_to_user.avatar_template` |  |
| `reply_to_user_username` | `varchar2` | ユーザー「ユーザー名」への返信 | [ ] | プラットフォーム上のフィルター、書き込み可能、`reply_to_user.username` |  |
| `reviewable_score_count` | `int32` | 審査対象のスコア数 | [ ] | プラットフォーム上のフィルター、書き込み可能、`reviewable_score_count` |  |
| `reviewable_score_pending_count` | `int32` | 審査対象のスコア　保留中の件数 | [ ] | プラットフォーム上のフィルター、書き込み可能、`reviewable_score_pending_count` |  |
| `score` | `decimal` | スコア | [ ] | プラットフォーム上のフィルター、書き込み可能、`score` |  |
| `staff` | `char` | スタッフ | [ ] | プラットフォーム上のフィルター、書き込み可能、`staff` |  |
| `static_doc` | `char` | 静的ドキュメント | [ ] | プラットフォーム上のフィルター、書き込み可能、`static_doc` |  |
| `title_is_group` | `char` | タイトルは「グループ」です | [ ] | プラットフォーム上のフィルター、書き込み可能、`title_is_group` |  |
| `topic_html_title` | `varchar2` | トピック HTML タイトル | [ ] | プラットフォーム上のフィルター、書き込み可能、`topic_html_title` |  |
| `topic_id` | `decimal` | トピックID | [ ] | プラットフォーム上のフィルター、書き込み可能、`topic_id` |  |
| `topic_slug` | `varchar2` | トピック・スラッグ | [ ] | プラットフォーム上のフィルター、書き込み可能、`topic_slug` |  |
| `topic_title` | `varchar2` | トピックタイトル | [ ] | プラットフォーム上のフィルター、書き込み可能、`topic_title` |  |
| `trust_level` | `decimal` | 信頼度 | [ ] | プラットフォーム上のフィルター、書き込み可能、`trust_level` |  |
| `updated_at` | `varchar2` | 更新日時： | [ ] | プラットフォーム上のフィルター、書き込み可能、`updated_at` |  |
| `user_deleted` | `char` | ユーザーによって削除されました | [ ] | プラットフォーム上のフィルター、書き込み可能、`user_deleted` |  |
| `user_id` | `decimal` | ユーザーID | [ ] | プラットフォーム上のフィルター、書き込み可能、`user_id` |  |
| `user_title` | `varchar2` | ユーザーのタイトル | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `username` | `varchar2` | ユーザー名 | [ ] | プラットフォーム上のフィルター、書き込み可能、`username` |  |
| `version` | `decimal` | バージョン | [ ] | プラットフォーム上のフィルター、書き込み可能、`version` |  |
| `via_email` | `char` | メールにて | [ ] | プラットフォーム上のフィルター、書き込み可能、`via_email` |  |
| `wiki` | `char` | Wiki | [ ] | プラットフォーム上のフィルター、書き込み可能、`wiki` |  |
| `yours` | `char` | 敬具 | [ ] | プラットフォーム上のフィルター、書き込み可能、`yours` |  |

## キー

| キー | コラム | 「～を指す」 | 種類 | 説明 |
|---|---|---|---|---|
| `Posts_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. |

## 参照元

- [Posts_Latest_postsActions_summary](Discourse.Posts.Posts_Latest_postsActions_summary) `id_2` (Candidate)


## リリース情報

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

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

### このテーブルの変更点、26.0 ～ 27.0

<a id="DCE-27.0-D212"></a><a id="DCE-27.0-D213"></a><a id="DCE-27.0-D214"></a><a id="DCE-27.0-D215"></a><a id="DCE-27.0-D216"></a><a id="DCE-27.0-D217"></a><a id="DCE-27.0-D218"></a><a id="DCE-27.0-D219"></a><a id="DCE-27.0-D220"></a><a id="DCE-27.0-D221"></a><a id="DCE-27.0-D222"></a><a id="DCE-27.0-D223"></a><a id="DCE-27.0-D224"></a><a id="DCE-27.0-D225"></a><a id="DCE-27.0-D226"></a>

- `-` `avg_time`
- `~` `can_recover` (`database_data_type`: `varchar2` &rarr; `char`)
- `~` `can_recover` (`dotnet_data_type`: `string` &rarr; `boolean`)
- `~` `category_id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `category_id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `incoming_link_count` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `incoming_link_count` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `post_number` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `post_number` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `post_type` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `post_type` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `-` `primary_group_flair_bg_color`
- `-` `primary_group_flair_color`

<details>
<summary>

42 件の変更

</summary>

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

##### Discourse.Posts.Posts: type changes

Type of Discourse.Posts.Posts 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-D2377">

##### Parameter before is added to Discourse.Posts.Posts

任意項目です。

<div class="rn-chips">

- 重要性 2

</div>

</div>

<a id="DCE-27.0-D227"></a><a id="DCE-27.0-D228"></a><a id="DCE-27.0-D229"></a><a id="DCE-27.0-D230"></a><a id="DCE-27.0-D231"></a><a id="DCE-27.0-D232"></a><a id="DCE-27.0-D233"></a><a id="DCE-27.0-D234"></a><a id="DCE-27.0-D235"></a><a id="DCE-27.0-D236"></a><a id="DCE-27.0-D237"></a><a id="DCE-27.0-D238"></a><a id="DCE-27.0-D239"></a><a id="DCE-27.0-D240"></a><a id="DCE-27.0-D241"></a><a id="DCE-27.0-D242"></a><a id="DCE-27.0-D243"></a><a id="DCE-27.0-D244"></a><a id="DCE-27.0-D245"></a><a id="DCE-27.0-D246"></a><a id="DCE-27.0-D247"></a><a id="DCE-27.0-D248"></a><a id="DCE-27.0-D1474"></a><a id="DCE-27.0-D1475"></a><a id="DCE-27.0-D1476"></a><a id="DCE-27.0-D1477"></a><a id="DCE-27.0-D1478"></a><a id="DCE-27.0-D1479"></a><a id="DCE-27.0-D1480"></a><a id="DCE-27.0-D1481"></a><a id="DCE-27.0-D1482"></a><a id="DCE-27.0-D1483"></a><a id="DCE-27.0-D1484"></a><a id="DCE-27.0-D1485"></a><a id="DCE-27.0-D1486"></a><a id="DCE-27.0-D1487"></a><a id="DCE-27.0-D1488"></a><a id="DCE-27.0-D1489"></a><a id="DCE-27.0-D1490"></a><a id="DCE-27.0-D1491"></a>

- `-` `primary_group_flair_url`
- `~` `quote_count` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `quote_count` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `readers_count` (`database_data_type`: `int32` &rarr; `int64`)
- `~` `readers_count` (`dotnet_data_type`: `int32` &rarr; `int64`)
- `~` `reads` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `reads` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `reply_count` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `reply_count` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `reviewable_score_count` (`database_data_type`: `int32` &rarr; `int64`)
- `~` `reviewable_score_count` (`dotnet_data_type`: `int32` &rarr; `int64`)
- `~` `reviewable_score_pending_count` (`database_data_type`: `int32` &rarr; `int64`)
- `~` `reviewable_score_pending_count` (`dotnet_data_type`: `int32` &rarr; `int64`)
- `-` `static_doc`
- `~` `topic_id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `topic_id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `trust_level` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `trust_level` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `user_id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `user_id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `version` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `version` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `+` `archetype` (`varchar2`)
- `+` `auto_track` (`char`)
- `+` `can_see_hidden_post` (`char`)
- `+` `category` (`int32`)
- `+` `embed_url` (`varchar2`)
- `+` `excerpt` (`varchar2`)
- `+` `external_id` (`varchar2`)
- `+` `flair_bg_color` (`varchar2`)
- `+` `flair_color` (`varchar2`)
- `+` `flair_group_id` (`varchar2`)
- `+` `flair_name` (`varchar2`)
- `+` `flair_url` (`varchar2`)
- `+` `post_url` (`varchar2`)
- `+` `posts_count` (`int64`)
- `+` `reviewable_id` (`varchar2`)
- `+` `target_recipients` (`varchar2`)
- `+` `title` (`varchar2`)
- `+` `truncated` (`char`)

</details>

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