invantive documentation
Invantive Support ForumsLog In / Sign Up

tById_Post_streamPostsPosts: Discourse Topic Post Stream Posts Posts by ID

read only REST

  • Catalog: Discourse
  • Schema: Topics
  • Label: Topic Post Stream Posts 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 tById_Post_streamPostsPosts 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, ::ancestor.::ancestor.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.tById_Post_streamPostsPosts

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

  • + admin (char)
  • + avatar_template (varchar2)
  • + can_delete (char)
  • + can_edit (char)
  • + can_recover (char)
  • + can_view_edit_history (char)
  • + can_wiki (char)
  • + cooked (varchar2)
  • + created_at (varchar2)
  • + deleted_at (varchar2)
  • + display_username (varchar2)
  • + edit_reason (varchar2)
  • + flair_bg_color (varchar2)
  • + flair_color (varchar2)

34 more changes

Parameter id is added to Discourse.Topics.tById_Post_streamPostsPosts

Required.

  • importance 2
Parameter post_ids is added to Discourse.Topics.tById_Post_streamPostsPosts

Optional.

  • importance 2

  • + flair_name (varchar2)
  • + flair_url (varchar2)
  • + hidden (char)
  • + id_2 (int64)
  • + incoming_link_count (int64)
  • + moderator (char)
  • + name (varchar2)
  • + post_number (int64)
  • + post_type (int64)
  • + primary_group_name (varchar2)
  • + quote_count (int64)
  • + read (char)
  • + readers_count (int64)
  • + reads (int64)
  • + reply_count (int64)
  • + reply_to_post_number (varchar2)
  • + reviewable_id (int64)
  • + reviewable_score_count (int64)
  • + reviewable_score_pending_count (int64)
  • + score (decimal)
  • + staff (char)
  • + topic_id (int64)
  • + topic_slug (varchar2)
  • + trust_level (int64)
  • + updated_at (varchar2)
  • + user_deleted (char)
  • + user_id (int64)
  • + user_title (varchar2)
  • + username (varchar2)
  • + version (int64)
  • + wiki (char)
  • + yours (char)

All changes of the driver, 26.0 to 27.0