app.bsky.graph.listitem

Record representing an account’s inclusion on a specific list. The AppView will ignore duplicate listitem records.

class atproto_client.models.app.bsky.graph.listitem.Record

Bases: RecordModelBase

Record model for app.bsky.graph.listitem.

field created_at: DateTime [Required]

Created at.

field list: AtUri [Required]

Reference (AT-URI) to the list record (app.bsky.graph.list).

field subject: Did [Required]

The account which is included on the list.

class atproto_client.models.app.bsky.graph.listitem.GetRecordResponse

Bases: SugarResponseModelBase

Get record response for models.AppBskyGraphListitem.Record.

field cid: str | None = None

The CID of the record.

field uri: str [Required]

The URI of the record.

field value: models.AppBskyGraphListitem.Record [Required]

The record.

class atproto_client.models.app.bsky.graph.listitem.ListRecordsResponse

Bases: SugarResponseModelBase

List records response for models.AppBskyGraphListitem.Record.

field cursor: str | None = None

Next page cursor.

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

Map of URIs to records.

class atproto_client.models.app.bsky.graph.listitem.CreateRecordResponse

Bases: SugarResponseModelBase

Create record response for models.AppBskyGraphListitem.Record.

field cid: str [Required]

The CID of the record.

field uri: str [Required]

The URI of the record.