app.bsky.feed.postgate

class atproto_client.models.app.bsky.feed.postgate.CreateRecordResponse

Bases: SugarResponseModelBase

Create record response for models.AppBskyFeedPostgate.Record.

field cid: str [Required]

The CID of the record.

field uri: str [Required]

The URI of the record.

class atproto_client.models.app.bsky.feed.postgate.DisableRule

Bases: ModelBase

Definition model for app.bsky.feed.postgate. Disables embedding of this post.

field py_type: Literal['app.bsky.feed.postgate#disableRule'] = 'app.bsky.feed.postgate#disableRule'
class atproto_client.models.app.bsky.feed.postgate.GetRecordResponse

Bases: SugarResponseModelBase

Get record response for models.AppBskyFeedPostgate.Record.

field cid: str | None = None

The CID of the record.

field uri: str [Required]

The URI of the record.

field value: models.AppBskyFeedPostgate.Record [Required]

The record.

class atproto_client.models.app.bsky.feed.postgate.ListRecordsResponse

Bases: SugarResponseModelBase

List records response for models.AppBskyFeedPostgate.Record.

field cursor: str | None = None

Next page cursor.

field records: Dict[str, models.AppBskyFeedPostgate.Record] [Required]

Map of URIs to records.

class atproto_client.models.app.bsky.feed.postgate.Record

Bases: RecordModelBase

Record model for app.bsky.feed.postgate.

field created_at: str [Required]

Created at.

field detached_embedding_uris: List[str] | None = None

List of AT-URIs embedding this post that the author has detached from.

Constraints:
  • max_length = 50

field embedding_rules: List[DisableRule[models.AppBskyFeedPostgate.DisableRule]] | None = None
Constraints:
  • max_length = 5

field post: str [Required]

Reference (AT-URI) to the post record.

field py_type: Literal['app.bsky.feed.postgate'] = 'app.bsky.feed.postgate'