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_ |
`` | 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:
Changes of This Table, 26.0 to 27.0
Parameter post_ids[] is removed from Discourse.Topics.tByIdPosts
A call that passes the parameter fails after the upgrade.
What to Do
Check statements, views and scripts that use it before the upgrade.
- can break a statement
- importance 4
Parameter id is added to Discourse.Topics.tByIdPosts
Required.
- importance 2
Parameter post_ids is added to Discourse.Topics.tByIdPosts
Optional.
- importance 2