---
title: "PostsById (Discourse)"
description: "Post by ID"
language: es
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/es/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/es/
---

# PostsById: Discourse Post by ID

`read only` `REST`

- Catálogo: `Discourse`
- Esquema: `Posts`
- Label: Post by ID

Get a single post

Solo puede recuperar datos.

## Resumen

Get a single post

## Fuente de la API

- Punto final: `/posts/{id}.json`
- Operación: `get /posts/{id}.json`

## Características de rendimiento

| Characteristic | Value |
|---|---:|
| Latencia media de acceso (ms) | 243 |
| Escribir filas por minuto | 219 |

El resultado se puede almacenar en la Caché del cliente.

## Parámetros

| Name | Tipo de Datos | Required | Default | Documentation |
|---|---|:---:|---|---|
| `id` | `` | [x] |  |  |

## Columnas de la Tabla

A continuación se muestran las columnas de la tabla `PostsById`. Cada columna tiene un tipo de datos SQL. Se debe proporcionar un nuevo valor no nulo para cada columna requerida en todo momento durante la inserción y la actualización.

| Name | Tipo de Datos | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `admin` | `char` | Administrator | [ ] | filters on the platform, writable, `admin` |  |
| `avatar_template` | `varchar2` | Plantilla de avatar | [ ] | 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` | Se puede eliminar | [ ] | filters on the platform, writable, `can_delete` |  |
| `can_edit` | `char` | Se puede editar | [ ] | filters on the platform, writable, `can_edit` |  |
| `can_recover` | `char` | Se puede recuperar | [ ] | filters on the platform, writable, `can_recover` |  |
| `can_view_edit_history` | `char` | Se puede ver el historial de modificaciones | [ ] | filters on the platform, writable, `can_view_edit_history` |  |
| `can_wiki` | `char` | ¿Se puede convertir en un artículo de la Wikipedia? | [ ] | filters on the platform, writable, `can_wiki` |  |
| `cooked` | `varchar2` | Cooked | [ ] | filters on the platform, writable, `cooked` |  |
| `created_at` | `varchar2` | Creado en | [ ] | filters on the platform, writable, `created_at` |  |
| `deleted_at` | `varchar2` | Eliminado el | [ ] | writable | The JSON text of the nested object. |
| `display_username` | `varchar2` | Mostrar nombre de usuario | [ ] | filters on the platform, writable, `display_username` |  |
| `edit_reason` | `varchar2` | Motivo de la edición | [ ] | 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` | #Enlaces entrantes | [ ] | 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` | Número de publicación | [ ] | filters on the platform, writable, `post_number` |  |
| `post_type` | `decimal` | Tipo de entrada | [ ] | 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` | Nombre del grupo principal | [ ] | 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` | Responder al mensaje número | [ ] | 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` | ID del Tema | [ ] | filters on the platform, writable, `topic_id` |  |
| `topic_slug` | `varchar2` | Slug del tema | [ ] | filters on the platform, writable, `topic_slug` |  |
| `trust_level` | `decimal` | Nivel de confianza | [ ] | filters on the platform, writable, `trust_level` |  |
| `updated_at` | `varchar2` | Actualizado en | [ ] | filters on the platform, writable, `updated_at` |  |
| `user_deleted` | `char` | Usuario eliminado | [ ] | filters on the platform, writable, `user_deleted` |  |
| `user_id` | `decimal` | Identificación de Usuario | [ ] | filters on the platform, writable, `user_id` |  |
| `user_title` | `varchar2` | Título de usuario | [ ] | writable | The JSON text of the nested object. |
| `username` | `varchar2` | Nombre de Usuario | [ ] | 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` |  |


## Notas de la Versión

Cambios introducidos en cada versión en las tablas, columnas, atributos y capacidades del controlador:

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

### Modificaciones de esta tabla, De 26.0 a 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 cambios más

</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>

[Todos los cambios del conductor, De 26.0 a 27.0](/es/release-notes/drivers?driver=discourse&step=26.0-to-27.0#discourse-26.0-to-27.0)
