---
title: "PostsById (Discourse)"
description: "Post by ID"
language: de
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/de/datamodels/discourse/Discourse.Posts.PostsById
original: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.Posts.PostsById
updated: 2026-11-16T20:47:12Z
license: https://documentation.invantive.eu/de/
---

# PostsById: Discourse Post by ID

`read only` `REST`

- Katalog: `Discourse`
- Schema: `Posts`
- Label: Post by ID

Get a single post

Es können nur Daten abgerufen werden.

## Zusammenfassung

Get a single post

## API-Quelle

- Endpunkt: `/posts/{id}.json`
- Operation: `get /posts/{id}.json`

## Leistungsmerkmale

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

Das Ergebnis kann auf dem Client im Cache zwischengespeichert werden.

## Parameter

| Name | Datentyp | Required | Default | Documentation |
|---|---|:---:|---|---|
| `id` | `` | [x] |  |  |

## Tabellenspalten

Die Spalten der Tabelle `PostsById` 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 |
|---|---|---|:---:|---|---|
| `admin` | `char` | Administrator | [ ] | filters on the platform, writable, `admin` |  |
| `avatar_template` | `varchar2` | Avatar-Schablone | [ ] | filters on the platform, writable, `avatar_template` |  |
| `avg_time` | `varchar2` | itgen_dce_avg_time | [ ] | writable | The JSON text of the nested object. |
| `can_delete` | `char` | Kann löschen | [ ] | filters on the platform, writable, `can_delete` |  |
| `can_edit` | `char` | Kann bearbeiten | [ ] | filters on the platform, writable, `can_edit` |  |
| `can_recover` | `char` | Kann wiederhergestellt werden | [ ] | filters on the platform, writable, `can_recover` |  |
| `can_view_edit_history` | `char` | View, Bearbeiten, Verlauf | [ ] | filters on the platform, writable, `can_view_edit_history` |  |
| `can_wiki` | `char` | Kann man das in ein Wiki-Format umwandeln? | [ ] | filters on the platform, writable, `can_wiki` |  |
| `cooked` | `varchar2` | Cooked | [ ] | filters on the platform, writable, `cooked` |  |
| `created_at` | `varchar2` | Erstellt bei | [ ] | filters on the platform, writable, `created_at` |  |
| `deleted_at` | `varchar2` | Gelöscht am | [ ] | writable | The JSON text of the nested object. |
| `display_username` | `varchar2` | Benutzernamen anzeigen | [ ] | filters on the platform, writable, `display_username` |  |
| `edit_reason` | `varchar2` | Grund für die Bearbeitung | [ ] | writable | The JSON text of the nested object. |
| `hidden` | `char` | Hidden | [ ] | filters on the platform, writable, `hidden` |  |
| `hidden_reason_id` | `varchar2` | itgen_dce_hidden_reason_id | [ ] | writable | The JSON text of the nested object. |
| `id` | `decimal` | ID | [ ] | filters on the platform, writable, `id` |  |
| `incoming_link_count` | `decimal` | #Eingehende Links | [ ] | filters on the platform, writable, `incoming_link_count` |  |
| `moderator` | `char` | Moderator | [ ] | filters on the platform, writable, `moderator` |  |
| `name` | `varchar2` | Name | [ ] | filters on the platform, writable, `name` |  |
| `post_number` | `decimal` | Beitragsnummer | [ ] | filters on the platform, writable, `post_number` |  |
| `post_type` | `decimal` | Beitragstyp | [ ] | filters on the platform, writable, `post_type` |  |
| `primary_group_flair_bg_color` | `varchar2` | itgen_dce_primary_group_flair_bg_color | [ ] | writable | The JSON text of the nested object. |
| `primary_group_flair_color` | `varchar2` | itgen_dce_primary_group_flair_color | [ ] | writable | The JSON text of the nested object. |
| `primary_group_flair_url` | `varchar2` | itgen_dce_primary_group_flair_url | [ ] | writable | The JSON text of the nested object. |
| `primary_group_name` | `varchar2` | Name der Hauptgruppe | [ ] | writable | The JSON text of the nested object. |
| `quote_count` | `decimal` | #Quotes | [ ] | filters on the platform, writable, `quote_count` |  |
| `raw` | `varchar2` | Raw | [ ] | filters on the platform, writable, `raw` |  |
| `reads` | `decimal` | #Reads | [ ] | filters on the platform, writable, `reads` |  |
| `reply_count` | `decimal` | #Replies | [ ] | filters on the platform, writable, `reply_count` |  |
| `reply_to_post_number` | `varchar2` | Auf Beitrag Nummer antworten | [ ] | writable | The JSON text of the nested object. |
| `score` | `decimal` | Score | [ ] | filters on the platform, writable, `score` |  |
| `staff` | `char` | Staff | [ ] | filters on the platform, writable, `staff` |  |
| `topic_id` | `decimal` | Themen-ID | [ ] | filters on the platform, writable, `topic_id` |  |
| `topic_slug` | `varchar2` | Themen-Slug | [ ] | filters on the platform, writable, `topic_slug` |  |
| `trust_level` | `decimal` | Vertrauensstufe | [ ] | filters on the platform, writable, `trust_level` |  |
| `updated_at` | `varchar2` | Aktualisiert am | [ ] | filters on the platform, writable, `updated_at` |  |
| `user_deleted` | `char` | Benutzer wurde gelöscht | [ ] | filters on the platform, writable, `user_deleted` |  |
| `user_id` | `decimal` | Benutzer-Kennung | [ ] | filters on the platform, writable, `user_id` |  |
| `user_title` | `varchar2` | Titel des Benutzers | [ ] | writable | The JSON text of the nested object. |
| `username` | `varchar2` | Benutzername | [ ] | filters on the platform, writable, `username` |  |
| `version` | `decimal` | Version | [ ] | filters on the platform, writable, `version` |  |
| `wiki` | `char` | Wiki | [ ] | filters on the platform, writable, `wiki` |  |
| `yours` | `char` | Yours | [ ] | filters on the platform, writable, `yours` |  |


## Anmerkungen zu dieser Version

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

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

### Änderungen an dieser Tabelle, 26.0 bis 27.0

<a id="DCE-27.0-D249"></a><a id="DCE-27.0-D250"></a><a id="DCE-27.0-D251"></a><a id="DCE-27.0-D252"></a><a id="DCE-27.0-D253"></a><a id="DCE-27.0-D254"></a><a id="DCE-27.0-D255"></a><a id="DCE-27.0-D256"></a><a id="DCE-27.0-D257"></a><a id="DCE-27.0-D258"></a><a id="DCE-27.0-D259"></a><a id="DCE-27.0-D260"></a><a id="DCE-27.0-D261"></a><a id="DCE-27.0-D262"></a><a id="DCE-27.0-D263"></a>

- `-` `avg_time`
- `-` `hidden_reason_id`
- `~` `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`
- `-` `primary_group_flair_url`
- `~` `quote_count` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `quote_count` (`dotnet_data_type`: `decimal` &rarr; `int64`)

<details>
<summary>

25 weitere Änderungen

</summary>

<a id="DCE-27.0-D264"></a><a id="DCE-27.0-D265"></a><a id="DCE-27.0-D266"></a><a id="DCE-27.0-D267"></a><a id="DCE-27.0-D268"></a><a id="DCE-27.0-D269"></a><a id="DCE-27.0-D270"></a><a id="DCE-27.0-D271"></a><a id="DCE-27.0-D272"></a><a id="DCE-27.0-D273"></a><a id="DCE-27.0-D274"></a><a id="DCE-27.0-D275"></a><a id="DCE-27.0-D1492"></a><a id="DCE-27.0-D1493"></a><a id="DCE-27.0-D1494"></a><a id="DCE-27.0-D1495"></a><a id="DCE-27.0-D1496"></a><a id="DCE-27.0-D1497"></a><a id="DCE-27.0-D1498"></a><a id="DCE-27.0-D1499"></a><a id="DCE-27.0-D1500"></a><a id="DCE-27.0-D1501"></a><a id="DCE-27.0-D1502"></a><a id="DCE-27.0-D1503"></a><a id="DCE-27.0-D1504"></a>

- `~` `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`)
- `~` `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`)
- `+` `bookmarked` (`char`)
- `+` `can_see_hidden_post` (`char`)
- `+` `flair_bg_color` (`varchar2`)
- `+` `flair_color` (`varchar2`)
- `+` `flair_group_id` (`int64`)
- `+` `flair_name` (`varchar2`)
- `+` `flair_url` (`varchar2`)
- `+` `post_url` (`varchar2`)
- `+` `posts_count` (`int64`)
- `+` `readers_count` (`int64`)
- `+` `reviewable_id` (`int64`)
- `+` `reviewable_score_count` (`int64`)
- `+` `reviewable_score_pending_count` (`int64`)

</details>

[Alle Treiberwechsel, 26.0 bis 27.0](/de/release-notes/drivers?driver=discourse&step=26.0-to-27.0#discourse-26.0-to-27.0)
