app.bsky.feed.getPostThread
Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.
- class atproto_client.models.app.bsky.feed.get_post_thread.Params
Bases:
ParamsModelBaseParameters model for
app.bsky.feed.getPostThread.- field uri: AtUri [Required]
Reference (AT-URI) to post record.
- class atproto_client.models.app.bsky.feed.get_post_thread.ParamsDict
Bases:
TypedDict- uri: AtUri
Reference (AT-URI) to post record.
- depth: NotRequired[int | None]
How many levels of reply depth should be included in response.
- parent_height: NotRequired[int | None]
How many levels of parent (and grandparent, etc) post to include.
- class atproto_client.models.app.bsky.feed.get_post_thread.Response
Bases:
ResponseModelBaseOutput data model for
app.bsky.feed.getPostThread.- field thread: models.AppBskyFeedDefs.ThreadViewPost | models.AppBskyFeedDefs.NotFoundPost | models.AppBskyFeedDefs.BlockedPost | DotDict [Required]
Thread.
- Constraints:
__module__ = atproto_client.models.unknown_union
__firstlineno__ = 17
__doc__ = Annotation for open ref unions: an unrecognized
$typefalls back toDotDict. Applied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated bypy_typeas usual, so a known type that fails validation still raises. Only a$typethat matches no member, or a missing one, degrades to aDotDict.__get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>
__static_attributes__ = ()
__dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized
$typefalls back toDotDict.nnApplied tot.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a$typethatnmatches no member, or a missing one, degrades to aDotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x786e5ef30c20>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}__weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>
- field threadgate: models.AppBskyFeedDefs.ThreadgateView | None = None
Threadgate.