---
title: "tByIdPosts (Discourse)"
description: "Topic Posts by ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.Topics.tByIdPosts
original: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.Topics.tByIdPosts
updated: 2026-11-01T16:08:49Z
license: https://documentation.invantive.eu/en/
---

# tByIdPosts: Discourse Topic Posts by ID

`read only` `REST`

- Catalog: `Discourse`
- Schema: `Topics`
- Label: Topic Posts by ID

Get specific posts in a topic. Used for infinite scrolling or pagination.

Can only retrieve data.

## Summary

Get specific posts in a topic. Used for infinite scrolling or pagination.

## API Source

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

## Performance Characteristics

| Characteristic | Value |
|---|---:|
| Average access latency (ms) | 243 |
| Write rows per minute | 219 |

The result can be cached on the client.

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `post_ids[]` | `` | [ ] |  | post_ids can be found in the post_stream |

## Table Columns

The columns of the table `tByIdPosts` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `id` | `int64` | ID | [ ] | filters on the platform, writable, `id` |  |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

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

### Changes of This Table, 26.0 to 27.0

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

##### Parameter post_ids\[\] is removed from Discourse.Topics.tByIdPosts

A call that passes the parameter fails after the upgrade.

<div class="rn-action">

**What to Do**

Check statements, views and scripts that use it before the upgrade.

</div>

<div class="rn-chips">

- **can break a statement**
- importance 4

</div>

</div>

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

##### Parameter id is added to Discourse.Topics.tByIdPosts

Required.

<div class="rn-chips">

- importance 2

</div>

</div>

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

##### Parameter post_ids is added to Discourse.Topics.tByIdPosts

Optional.

<div class="rn-chips">

- importance 2

</div>

</div>

[All changes of the driver, 26.0 to 27.0](/en/release-notes/drivers?driver=discourse&step=26.0-to-27.0#discourse-26.0-to-27.0)

