API:Threads

Prefix: th Required Rights: None POST Only? No

Show details of LiquidThreads threads.

Parameters edit

  • author – Limit results to threads by a particular author(s).
  • dir – The direction in which to enumerate.
Type: one of older, newer
  • endid – The thread id to stop enumerating at. Type: integer
  • id – Get threads with the given ID(s).
  • limit – The maximum number of threads to list. Type: limit
  • page – Limit results to threads on a particular page(s).
  • prop – Which properties to get.
Type: one of id, subject, page, parent, ancestor, created, modified, author, summaryid, rootid, type, reactions
  • render – Whether or not to include the rendered thread in the results. Type: bool
  • renderlevel – When rendering, the level at which to start (for the sake of depth limits, etc).
  • rendermaxdepth – When rendering, the maximum depth of replies to show before showing a "Show X replies" link instead of replies.
  • rendermaxthreadcount – When rendering, the maximum number of replies to show before adding a "Show more replies" link.
  • renderstartrepliesat – When rendering, the point at which to start showing replies (used internally to load extra replies).
  • renderthreadcount – When rendering, the number of threads in that level group.
  • renderthreadpos – When rendering, the position of the thread in the group of threads being rendered at that level (affects display somewhat).
  • root – Limit results to threads with the given root(s).
  • showdeleted – Whether or not to show deleted threads. Type: bool
  • startid – The thread id to start enumerating from. Type: integer
  • summary – Limit results to threads corresponding to the given summary page(s).

Errors Codes edit

  • invalidtitle – Bad title ``key''.
  • invalidtitle – Bad title ``title''.
  • readapidenied – You need read permission to use this module.