app.bsky.unspecced.defs

Shared type definitions.

class atproto_client.models.app.bsky.unspecced.defs.SkeletonSearchPost

Bases: ModelBase

Definition model for app.bsky.unspecced.defs.

field uri: AtUri [Required]

Uri.

class atproto_client.models.app.bsky.unspecced.defs.SkeletonSearchActor

Bases: ModelBase

Definition model for app.bsky.unspecced.defs.

field did: Did [Required]

Did.

class atproto_client.models.app.bsky.unspecced.defs.SkeletonSearchStarterPack

Bases: ModelBase

Definition model for app.bsky.unspecced.defs.

field uri: AtUri [Required]

Uri.

class atproto_client.models.app.bsky.unspecced.defs.TrendingTopic

Bases: ModelBase

Definition model for app.bsky.unspecced.defs.

field description: str | None = None

Description.

field display_name: str | None = None

Display name.

Link.

field topic: str [Required]

Topic.

class atproto_client.models.app.bsky.unspecced.defs.SkeletonTrend

Bases: ModelBase

Definition model for app.bsky.unspecced.defs.

field category: str | None = None

Category.

field description: str | None = None

Description.

field dids: List[Did] [Required]

Dids.

field display_name: str [Required]

Display name.

Link.

field post_count: int [Required]

Post count.

field started_at: DateTime [Required]

Started at.

field status: Literal['hot'] | str | None = None

Status.

field topic: str [Required]

Topic.

class atproto_client.models.app.bsky.unspecced.defs.TrendView

Bases: ModelBase

Definition model for app.bsky.unspecced.defs.

field actors: List[models.AppBskyActorDefs.ProfileViewBasic] [Required]

Actors.

field category: str | None = None

Category.

field description: str | None = None

Description.

field display_name: str [Required]

Display name.

Link.

field post_count: int [Required]

Post count.

field started_at: DateTime [Required]

Started at.

field status: Literal['hot'] | str | None = None

Status.

field topic: str [Required]

Topic.

class atproto_client.models.app.bsky.unspecced.defs.ThreadItemPost

Bases: ModelBase

Definition model for app.bsky.unspecced.defs.

field hidden_by_threadgate: bool [Required]

The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread.

field more_parents: bool [Required]

This post has more parents that were not present in the response. This is just a boolean, without the number of parents.

field more_replies: int [Required]

This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate.

field muted_by_viewer: bool [Required]

This is by an account muted by the viewer requesting it.

field op_thread: bool [Required]

This post is part of a contiguous thread by the OP from the thread root. Sub-threads by OP deeper in the tree are not considered an OP thread.

field op_thread_post_count: int | None = None
field op_thread_post_index: int | None = None
field post: models.AppBskyFeedDefs.PostView [Required]

Post.

class atproto_client.models.app.bsky.unspecced.defs.ThreadItemNoUnauthenticated

Bases: ModelBase

Definition model for app.bsky.unspecced.defs.

class atproto_client.models.app.bsky.unspecced.defs.ThreadItemNotFound

Bases: ModelBase

Definition model for app.bsky.unspecced.defs.

class atproto_client.models.app.bsky.unspecced.defs.ThreadItemBlocked

Bases: ModelBase

Definition model for app.bsky.unspecced.defs.

field author: models.AppBskyFeedDefs.BlockedAuthor [Required]

Author.

class atproto_client.models.app.bsky.unspecced.defs.AgeAssuranceState

Bases: ModelBase

Definition model for app.bsky.unspecced.defs. The computed state of the age assurance process, returned to the user in question on certain authenticated requests.

field last_initiated_at: DateTime | None = None

The timestamp when this state was last updated.

field status: Literal['unknown', 'pending', 'assured', 'blocked'] | str [Required]

The status of the age assurance process.

class atproto_client.models.app.bsky.unspecced.defs.AgeAssuranceEvent

Bases: ModelBase

Definition model for app.bsky.unspecced.defs. Object used to store age assurance data in stash.

field attempt_id: str [Required]

The unique identifier for this instance of the age assurance flow, in UUID format.

field complete_ip: str | None = None

The IP address used when completing the AA flow.

field complete_ua: str | None = None

The user agent used when completing the AA flow.

field created_at: DateTime [Required]

The date and time of this write operation.

field email: str | None = None

The email used for AA.

field init_ip: str | None = None

The IP address used when initiating the AA flow.

field init_ua: str | None = None

The user agent used when initiating the AA flow.

field status: Literal['unknown', 'pending', 'assured'] | str [Required]

The status of the age assurance process.