app.bsky.graph.list

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

Bases: SugarResponseModelBase

Create record response for models.AppBskyGraphList.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.graph.list.GetRecordResponse

Bases: SugarResponseModelBase

Get record response for models.AppBskyGraphList.Record.

field cid: str | None = None

The CID of the record.

field uri: str [Required]

The URI of the record.

field value: models.AppBskyGraphList.Record [Required]

The record.

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

Bases: SugarResponseModelBase

List records response for models.AppBskyGraphList.Record.

field cursor: str | None = None

Next page cursor.

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

Map of URIs to records.

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

Bases: RecordModelBase

Record model for app.bsky.graph.list.

field avatar: BlobRef | None = None

Avatar.

field created_at: str [Required]

Created at.

field description: str | None = None

Description.

Constraints:
  • max_length = 3000

field description_facets: List[models.AppBskyRichtextFacet.Main] | None = None

Description facets.

field labels: SelfLabels[models.ComAtprotoLabelDefs.SelfLabels] | None = None
field name: str [Required]

Display name for list; can not be empty.

Constraints:
  • min_length = 1

  • max_length = 64

field purpose: models.AppBskyGraphDefs.ListPurpose [Required]

Defines the purpose of the list (aka, moderation-oriented or curration-oriented).

field py_type: Literal['app.bsky.graph.list'] = 'app.bsky.graph.list'