---
title: "tById (Discourse)"
description: "Topic by ID"
language: nl
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/nl/datamodels/discourse/Discourse.Topics.tById
original: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.Topics.tById
updated: 2026-11-16T20:47:34Z
license: https://documentation.invantive.eu/nl/
---

# tById: Discourse Topic by ID

`read only` `REST`

- Catalogus: `Discourse`
- Schema: `Topics`
- Label: Topic by ID

Get a single topic

Kan alleen gegevens ophalen.

## Samenvatting

Get a single topic

## API-bron

- Eindpunt: `/t/{id}.json`
- Operatie: `get /t/{id}.json`

## Prestatiekenmerken

| Characteristic | Value |
|---|---:|
| Gemiddelde toegangsvertraging (ms) | 243 |
| Aantal rijen per minuut schrijven | 219 |

Het resultaat kan op de client in de Cache worden opgeslagen.

## Parameters

| Name | Datatype | Required | Default | Documentation |
|---|---|:---:|---|---|
| `id` | `` | [x] |  |  |
| `print` | `` | [ ] |  | Will return up to 1000 posts in a topic |

## Tabelkolommen

De kolommen van de tabel `tById` worden hieronder weergegeven. Elke kolom heeft een SQL-gegevenstype. Voor elke vereiste kolom moet bij het invoegen en bijwerken steeds een nieuwe, niet-lege waarde worden opgegeven.

| Name | Datatype | 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_id` | `decimal` | Categorie ID | [ ] | filters on the platform, writable, `category_id` |  |
| `chunk_size` | `decimal` | Blokformaat | [ ] | filters on the platform, writable, `chunk_size` |  |
| `closed` | `char` | Closed | [ ] | filters on the platform, writable, `closed` |  |
| `created_at` | `varchar2` | Aangemaakt op | [ ] | filters on the platform, writable, `created_at` |  |
| `deleted_at` | `varchar2` | Verwijderd op | [ ] | writable | The JSON text of the nested object. |
| `deleted_by` | `varchar2` | Verwijderd door | [ ] | writable | The JSON text of the nested object. |
| `details_auto_close_at` | `varchar2` | itgen_dce_details_auto_close_at | [ ] | writable | The JSON text of the nested object. |
| `details_auto_close_based_on_last_post` | `char` | Detail Automatisch Sluiten op Laatste Bericht | [ ] | filters on the platform, writable, `details.auto_close_based_on_last_post` |  |
| `details_auto_close_hours` | `varchar2` | itgen_dce_details_auto_close_hours | [ ] | writable | The JSON text of the nested object. |
| `details_can_flag_topic` | `char` | Detail kan Onderwerp Markeren | [ ] | filters on the platform, writable, `details.can_flag_topic` |  |
| `details_created_by_avatar_template` | `varchar2` | Detail Gemaakt door Avatarsjabloon | [ ] | filters on the platform, writable, `details.created_by.avatar_template` |  |
| `details_created_by_id` | `decimal` | Detail Gemaakt door ID | [ ] | filters on the platform, writable, `details.created_by.id` |  |
| `details_created_by_username` | `varchar2` | Detail Aangemaakt door Gebruiker | [ ] | filters on the platform, writable, `details.created_by.username` |  |
| `details_last_poster_avatar_template` | `varchar2` | Detail Laatste Poster Avatar-sjabloon | [ ] | filters on the platform, writable, `details.last_poster.avatar_template` |  |
| `details_last_poster_id` | `decimal` | Detail Laatste Poster ID | [ ] | filters on the platform, writable, `details.last_poster.id` |  |
| `details_last_poster_username` | `varchar2` | Detail Laatste Poster Gebruikersnaam | [ ] | filters on the platform, writable, `details.last_poster.username` |  |
| `details_notification_level` | `decimal` | Detailmeldingsniveau | [ ] | filters on the platform, writable, `details.notification_level` |  |
| `draft` | `varchar2` | Draft | [ ] | writable | The JSON text of the nested object. |
| `draft_key` | `varchar2` | Ontwerpsleutel | [ ] | filters on the platform, writable, `draft_key` |  |
| `draft_sequence` | `varchar2` | Conceptreeks | [ ] | writable | The JSON text of the nested object. |
| `fancy_title` | `varchar2` | Fancy Titel | [ ] | filters on the platform, writable, `fancy_title` |  |
| `has_summary` | `char` | Heeft Samenvatting | [ ] | filters on the platform, writable, `has_summary` |  |
| `highest_post_number` | `decimal` | Hoogste Postnummer | [ ] | filters on the platform, writable, `highest_post_number` |  |
| `id` | `decimal` | ID | [ ] | filters on the platform, writable, `id` |  |
| `last_posted_at` | `varchar2` | Laatst Geplaatst op | [ ] | writable | The JSON text of the nested object. |
| `like_count` | `decimal` | #Likes | [ ] | filters on the platform, writable, `like_count` |  |
| `participant_count` | `decimal` | Aantal Deelnemers | [ ] | filters on the platform, writable, `participant_count` |  |
| `pinned` | `char` | Pinned | [ ] | filters on the platform, writable, `pinned` |  |
| `pinned_at` | `varchar2` | Vastgemaakt op | [ ] | filters on the platform, writable, `pinned_at` |  |
| `pinned_globally` | `char` | Algemeen Vastgemaakt | [ ] | filters on the platform, writable, `pinned_globally` |  |
| `pinned_until` | `varchar2` | Vastgezet tot | [ ] | writable | The JSON text of the nested object. |
| `posts_count` | `decimal` | #Posts | [ ] | filters on the platform, writable, `posts_count` |  |
| `reply_count` | `decimal` | #Replies | [ ] | filters on the platform, writable, `reply_count` |  |
| `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_id` | `decimal` | Gebruikers-ID | [ ] | filters on the platform, writable, `user_id` |  |
| `views` | `decimal` | Views | [ ] | filters on the platform, writable, `views` |  |
| `visible` | `char` | Visible | [ ] | filters on the platform, writable, `visible` |  |
| `word_count` | `varchar2` | Aantal Woorden | [ ] | writable | The JSON text of the nested object. |


## Release Notes

Wat is er per release veranderd in de tabellen, kolommen, attributen en mogelijkheden van de driver:

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

### Wijzigingen in deze tabel, 26.0 tot 27.0

<a id="DCE-27.0-D608"></a><a id="DCE-27.0-D609"></a><a id="DCE-27.0-D610"></a><a id="DCE-27.0-D611"></a><a id="DCE-27.0-D612"></a><a id="DCE-27.0-D613"></a><a id="DCE-27.0-D614"></a><a id="DCE-27.0-D615"></a><a id="DCE-27.0-D616"></a><a id="DCE-27.0-D617"></a><a id="DCE-27.0-D618"></a><a id="DCE-27.0-D619"></a><a id="DCE-27.0-D620"></a><a id="DCE-27.0-D621"></a><a id="DCE-27.0-D622"></a>

- `~` `bookmarked` (`database_data_type`: `varchar2` &rarr; `char`)
- `~` `bookmarked` (`dotnet_data_type`: `string` &rarr; `boolean`)
- `~` `category_id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `category_id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `chunk_size` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `chunk_size` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `-` `details_auto_close_at`
- `-` `details_auto_close_based_on_last_post`
- `-` `details_auto_close_hours`
- `~` `details_created_by_id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `details_created_by_id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `details_last_poster_id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `details_last_poster_id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `details_notification_level` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `details_notification_level` (`dotnet_data_type`: `decimal` &rarr; `int64`)

<details>
<summary>

53 meer wijzigingen

</summary>

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

##### De parameter ‘print’ is verwijderd uit Discourse.Topics.tById

Een aanroep waarbij de parameter wordt doorgegeven, mislukt na de upgrade.

<div class="rn-action">

**Wat te doen**

Controleer vóór de upgrade de Statements, Views en scripts die hiervan gebruikmaken.

</div>

<div class="rn-chips">

- **kan een Statement onderbreken**
- belang 4

</div>

</div>

<a id="DCE-27.0-D623"></a><a id="DCE-27.0-D624"></a><a id="DCE-27.0-D625"></a><a id="DCE-27.0-D626"></a><a id="DCE-27.0-D627"></a><a id="DCE-27.0-D628"></a><a id="DCE-27.0-D629"></a><a id="DCE-27.0-D630"></a><a id="DCE-27.0-D631"></a><a id="DCE-27.0-D632"></a><a id="DCE-27.0-D633"></a><a id="DCE-27.0-D634"></a><a id="DCE-27.0-D635"></a><a id="DCE-27.0-D636"></a><a id="DCE-27.0-D637"></a><a id="DCE-27.0-D638"></a><a id="DCE-27.0-D639"></a><a id="DCE-27.0-D640"></a><a id="DCE-27.0-D641"></a><a id="DCE-27.0-D642"></a><a id="DCE-27.0-D1599"></a><a id="DCE-27.0-D1600"></a><a id="DCE-27.0-D1601"></a><a id="DCE-27.0-D1602"></a><a id="DCE-27.0-D1603"></a><a id="DCE-27.0-D1604"></a><a id="DCE-27.0-D1605"></a><a id="DCE-27.0-D1606"></a><a id="DCE-27.0-D1607"></a><a id="DCE-27.0-D1608"></a><a id="DCE-27.0-D1609"></a><a id="DCE-27.0-D1610"></a><a id="DCE-27.0-D1611"></a><a id="DCE-27.0-D1612"></a><a id="DCE-27.0-D1613"></a><a id="DCE-27.0-D1614"></a><a id="DCE-27.0-D1615"></a><a id="DCE-27.0-D1616"></a><a id="DCE-27.0-D1617"></a><a id="DCE-27.0-D1618"></a><a id="DCE-27.0-D1619"></a><a id="DCE-27.0-D1620"></a><a id="DCE-27.0-D1621"></a><a id="DCE-27.0-D1622"></a><a id="DCE-27.0-D1623"></a><a id="DCE-27.0-D1624"></a><a id="DCE-27.0-D1625"></a><a id="DCE-27.0-D1626"></a><a id="DCE-27.0-D1627"></a><a id="DCE-27.0-D1628"></a><a id="DCE-27.0-D1629"></a><a id="DCE-27.0-D1630"></a>

- `~` `draft_sequence` (`database_data_type`: `varchar2` &rarr; `int64`)
- `~` `draft_sequence` (`dotnet_data_type`: `string` &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`)
- `~` `like_count` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `like_count` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `participant_count` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `participant_count` (`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`)
- `~` `user_id` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `user_id` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `views` (`database_data_type`: `decimal` &rarr; `int64`)
- `~` `views` (`dotnet_data_type`: `decimal` &rarr; `int64`)
- `~` `word_count` (`database_data_type`: `varchar2` &rarr; `int64`)
- `~` `word_count` (`dotnet_data_type`: `string` &rarr; `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`)

</details>

[Alle wisselingen van de Driver, 26.0 tot 27.0](/nl/release-notes/drivers?driver=discourse&step=26.0-to-27.0#discourse-26.0-to-27.0)
