tById: Discourse Topic by ID
read only REST
- Catálogo:
Discourse - Esquema:
Topics - Label: Topic by ID
Get a single topic
Solo puede recuperar datos.
Resumen
Get a single topic
Fuente de la API
- Punto final:
/t/{id}.json - Operación:
get /t/{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 |
`` | |||
print |
`` | Will return up to 1000 posts in a topic |
Columnas de la Tabla
A continuación se muestran las columnas de la tabla tById. 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 |
|---|---|---|---|---|---|
archetype |
varchar2 |
Archetype | filters on the platform, writable, archetype |
||
archived |
char |
Archived | filters on the platform, writable, archived |
||
bookmarked |
varchar2 |
Bookmarked | writable | The JSON text of the nested object. | |
category_ |
decimal |
ID de Categoría | filters on the platform, writable, category_ |
||
chunk_ |
decimal |
Tamaño del fragmento | filters on the platform, writable, chunk_ |
||
closed |
char |
Closed | filters on the platform, writable, closed |
||
created_ |
varchar2 |
Creado en | filters on the platform, writable, created_ |
||
deleted_ |
varchar2 |
Eliminado el | writable | The JSON text of the nested object. | |
deleted_ |
varchar2 |
Eliminado por | writable | The JSON text of the nested object. | |
details_ |
varchar2 |
itgen_dce_details_auto_close_at | writable | The JSON text of the nested object. | |
details_ |
char |
Detalle: cierre automático en función de la última publicación | filters on the platform, writable, details. |
||
details_ |
varchar2 |
itgen_dce_details_auto_close_hours | writable | The JSON text of the nested object. | |
details_ |
char |
Detalle: Se puede marcar como tema destacado | filters on the platform, writable, details. |
||
details_ |
varchar2 |
Detalle creado con la plantilla «Avatar» | filters on the platform, writable, details. |
||
details_ |
decimal |
Detalle creado por ID | filters on the platform, writable, details. |
||
details_ |
varchar2 |
Detalle creado por [nombre de usuario] | filters on the platform, writable, details. |
||
details_ |
varchar2 |
Detalles de la última plantilla de avatar de usuario | filters on the platform, writable, details. |
||
details_ |
decimal |
Detalle del último ID de usuario | filters on the platform, writable, details. |
||
details_ |
varchar2 |
Detalles del último usuario que publicó un mensaje: Nombre de usuario | filters on the platform, writable, details. |
||
details_ |
decimal |
Nivel de notificación detallado | filters on the platform, writable, details. |
||
draft |
varchar2 |
Draft | writable | The JSON text of the nested object. | |
draft_ |
varchar2 |
Clave de Borrador | filters on the platform, writable, draft_ |
||
draft_ |
varchar2 |
Secuencia de Borrador | writable | The JSON text of the nested object. | |
fancy_ |
varchar2 |
Título llamativo | filters on the platform, writable, fancy_ |
||
has_ |
char |
Resumen | filters on the platform, writable, has_ |
||
highest_ |
decimal |
Número de publicaciones más alto | filters on the platform, writable, highest_ |
||
id |
decimal |
ID | filters on the platform, writable, id |
||
last_ |
varchar2 |
Última publicación el | writable | The JSON text of the nested object. | |
like_ |
decimal |
#Likes | filters on the platform, writable, like_ |
||
participant_ |
decimal |
Número de participantes | filters on the platform, writable, participant_ |
||
pinned |
char |
Pinned | filters on the platform, writable, pinned |
||
pinned_ |
varchar2 |
Fijado en | filters on the platform, writable, pinned_ |
||
pinned_ |
char |
Destacado a nivel mundial | filters on the platform, writable, pinned_ |
||
pinned_ |
varchar2 |
Fijado hasta el | writable | The JSON text of the nested object. | |
posts_ |
decimal |
#Posts | filters on the platform, writable, posts_ |
||
reply_ |
decimal |
#Replies | filters on the platform, writable, reply_ |
||
slug |
varchar2 |
Slug | filters on the platform, writable, slug |
||
title |
varchar2 |
Title | filters on the platform, writable, title |
||
unpinned |
varchar2 |
Unpinned | writable | The JSON text of the nested object. | |
user_ |
decimal |
Identificación de Usuario | filters on the platform, writable, user_ |
||
views |
decimal |
Views | filters on the platform, writable, views |
||
visible |
char |
Visible | filters on the platform, writable, visible |
||
word_ |
varchar2 |
Cuenta de Palabras | writable | The JSON text of the nested object. |
Notas de la Versión
Cambios introducidos en cada versión en las tablas, columnas, atributos y capacidades del controlador:
Modificaciones de esta tabla, De 26.0 a 27.0
~bookmarked(database_data_type:varchar2→char)~bookmarked(dotnet_data_type:string→boolean)~category_id(database_data_type:decimal→int64)~category_id(dotnet_data_type:decimal→int64)~chunk_size(database_data_type:decimal→int64)~chunk_size(dotnet_data_type:decimal→int64)-details_auto_close_at-details_auto_close_based_on_last_post-details_auto_close_hours~details_created_by_id(database_data_type:decimal→int64)~details_created_by_id(dotnet_data_type:decimal→int64)~details_last_poster_id(database_data_type:decimal→int64)~details_last_poster_id(dotnet_data_type:decimal→int64)~details_notification_level(database_data_type:decimal→int64)~details_notification_level(dotnet_data_type:decimal→int64)
53 cambios más
Se ha eliminado la impresión de parámetros de Discourse.Topics.tById
Una llamada que pasa el parámetro falla tras la actualización.
Qué hacer
Comprueba las sentencias, Views y scripts que la utilicen antes de la actualización.
- puede interrumpir una instrucción
- importancia 4
~draft_sequence(database_data_type:varchar2→int64)~draft_sequence(dotnet_data_type:string→int64)~highest_post_number(database_data_type:decimal→int64)~highest_post_number(dotnet_data_type:decimal→int64)~id(database_data_type:decimal→int64)~id(dotnet_data_type:decimal→int64)~like_count(database_data_type:decimal→int64)~like_count(dotnet_data_type:decimal→int64)~participant_count(database_data_type:decimal→int64)~participant_count(dotnet_data_type:decimal→int64)~posts_count(database_data_type:decimal→int64)~posts_count(dotnet_data_type:decimal→int64)~reply_count(database_data_type:decimal→int64)~reply_count(dotnet_data_type:decimal→int64)~user_id(database_data_type:decimal→int64)~user_id(dotnet_data_type:decimal→int64)~views(database_data_type:decimal→int64)~views(dotnet_data_type:decimal→int64)~word_count(database_data_type:varchar2→int64)~word_count(dotnet_data_type:string→int64)+current_post_number(int64)+details_can_archive_topic(char)+details_can_banner_topic(char)+details_can_close_topic(char)+details_can_convert_topic(char)+details_can_create_post(char)+details_can_delete(char)+details_can_edit(char)+details_can_edit_staff_notes(char)+details_can_invite_to(char)+details_can_invite_via_email(char)+details_can_moderate_category(char)+details_can_move_posts(char)+details_can_pin_unpin_topic(char)+details_can_remove_allowed_users(char)+details_can_remove_self_id(int64)+details_can_reply_as_new_topic(char)+details_can_review_topic(char)+details_can_split_merge_topic(char)+details_can_toggle_topic_visibility(char)+details_created_by_name(varchar2)+details_last_poster_name(varchar2)+featured_link(varchar2)+has_deleted(char)+image_url(varchar2)+message_bus_last_id(int64)+show_read_indicator(char)+slow_mode_enabled_until(varchar2)+slow_mode_seconds(int64)+tags_descriptions(varchar2)+thumbnails(varchar2)+topic_timer(varchar2)