Module Cephalopod_models.App_Bsky_Feed_GetPostThread

lexicon "app.bsky.feed.getPostThread"

def main

type main_params = {
  1. uri : string;
    (*

    Reference (AT-URI) to post record. format: "AtUri"

    *)
  2. depth : int64 option;
    (*

    How many levels of reply depth should be included in response. default: 6 maximum: 1000 minimum: 0

    *)
  3. parentHeight : int64 option;
    (*

    How many levels of parent (and grandparent, etc) post to include. default: 80 maximum: 1000 minimum: 0

    *)
}
val show_main_params : main_params -> Ppx_deriving_runtime.string
val make_main_params : uri:string -> ?depth:int64 -> ?parentHeight:int64 -> unit -> main_params
val main_params_of_value : main_params Cephalopod_dasl.Value.Util.conv
val main_params_to_value : main_params -> Cephalopod_dasl.Value.t
type main_output = {
  1. thread : [ `App_bsky_feed_defs_threadviewpost of Types.app_bsky_feed_defs_threadviewpost | `App_bsky_feed_defs_notfoundpost of Types.app_bsky_feed_defs_notfoundpost | `App_bsky_feed_defs_blockedpost of Types.app_bsky_feed_defs_blockedpost | `Other of Cephalopod_dasl.Value.t ];
  2. threadgate : Types.app_bsky_feed_defs_threadgateview option;
}
val show_main_output : main_output -> Ppx_deriving_runtime.string
val main_output_of_value : main_output Cephalopod_dasl.Value.Util.conv
val main_output_to_value : main_output -> Cephalopod_dasl.Value.t
type main_error = [
  1. | `NotFound
]
val show_main_error : main_error -> Ppx_deriving_runtime.string

Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.