app.bsky.feed.get_actor_feeds#

pydantic model atproto.xrpc_client.models.app.bsky.feed.get_actor_feeds.Params#

Bases: ParamsModelBase

Parameters model for app.bsky.feed.getActorFeeds.

Show JSON schema
{
   "title": "Params",
   "description": "Parameters model for :obj:`app.bsky.feed.getActorFeeds`.",
   "type": "object",
   "properties": {
      "actor": {
         "title": "Actor",
         "type": "string"
      },
      "cursor": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Cursor"
      },
      "limit": {
         "anyOf": [
            {
               "maximum": 100,
               "minimum": 1,
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": 50,
         "title": "Limit"
      }
   },
   "additionalProperties": false,
   "required": [
      "actor"
   ]
}

Fields:
field actor: str [Required]#

Actor.

field cursor: Optional[str] = None#

Cursor.

field limit: Optional[int] = 50#

Limit.

Constraints:
  • ge = 1

  • le = 100

class atproto.xrpc_client.models.app.bsky.feed.get_actor_feeds.ParamsDict#

Bases: TypedDict

actor: str#

Actor.

cursor: typing_extensions.NotRequired[Optional[str]]#

Cursor.

limit: typing_extensions.NotRequired[Optional[int]]#

Limit.

pydantic model atproto.xrpc_client.models.app.bsky.feed.get_actor_feeds.Response#

Bases: ResponseModelBase

Output data model for app.bsky.feed.getActorFeeds.

Show JSON schema
{
   "title": "Response",
   "description": "Output data model for :obj:`app.bsky.feed.getActorFeeds`.",
   "type": "object",
   "properties": {
      "feeds": {
         "items": {
            "$ref": "#/$defs/GeneratorView"
         },
         "title": "Feeds",
         "type": "array"
      },
      "cursor": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Cursor"
      }
   },
   "$defs": {
      "ByteSlice": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.richtext.facet`. A text segment. Start is inclusive, end is exclusive. Indices are for utf8-encoded strings.",
         "properties": {
            "byteEnd": {
               "minimum": 0,
               "title": "Byteend",
               "type": "integer"
            },
            "byteStart": {
               "minimum": 0,
               "title": "Bytestart",
               "type": "integer"
            },
            "$type": {
               "const": "app.bsky.richtext.facet#byteSlice",
               "default": "app.bsky.richtext.facet#byteSlice",
               "title": "$Type"
            }
         },
         "required": [
            "byteEnd",
            "byteStart"
         ],
         "title": "ByteSlice",
         "type": "object"
      },
      "GeneratorView": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.feed.defs`.",
         "properties": {
            "cid": {
               "title": "Cid",
               "type": "string"
            },
            "creator": {
               "$ref": "#/$defs/ProfileView"
            },
            "did": {
               "title": "Did",
               "type": "string"
            },
            "displayName": {
               "title": "Displayname",
               "type": "string"
            },
            "indexedAt": {
               "title": "Indexedat",
               "type": "string"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "avatar": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Avatar"
            },
            "description": {
               "anyOf": [
                  {
                     "maxLength": 3000,
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Description"
            },
            "descriptionFacets": {
               "anyOf": [
                  {
                     "items": {
                        "$ref": "#/$defs/Main"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Descriptionfacets"
            },
            "likeCount": {
               "anyOf": [
                  {
                     "minimum": 0,
                     "type": "integer"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Likecount"
            },
            "viewer": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/GeneratorViewerState"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.feed.defs#generatorView",
               "default": "app.bsky.feed.defs#generatorView",
               "title": "$Type"
            }
         },
         "required": [
            "cid",
            "creator",
            "did",
            "displayName",
            "indexedAt",
            "uri"
         ],
         "title": "GeneratorView",
         "type": "object"
      },
      "GeneratorViewerState": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.feed.defs`.",
         "properties": {
            "like": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Like"
            },
            "$type": {
               "const": "app.bsky.feed.defs#generatorViewerState",
               "default": "app.bsky.feed.defs#generatorViewerState",
               "title": "$Type"
            }
         },
         "title": "GeneratorViewerState",
         "type": "object"
      },
      "Label": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tag on an atproto resource (eg, repo or record)",
         "properties": {
            "cts": {
               "title": "Cts",
               "type": "string"
            },
            "src": {
               "title": "Src",
               "type": "string"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "val": {
               "maxLength": 128,
               "title": "Val",
               "type": "string"
            },
            "cid": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Cid"
            },
            "neg": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Neg"
            },
            "$type": {
               "const": "com.atproto.label.defs#label",
               "default": "com.atproto.label.defs#label",
               "title": "$Type"
            }
         },
         "required": [
            "cts",
            "src",
            "uri",
            "val"
         ],
         "title": "Label",
         "type": "object"
      },
      "Link": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.richtext.facet`. A facet feature for links.",
         "properties": {
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "$type": {
               "const": "app.bsky.richtext.facet#link",
               "default": "app.bsky.richtext.facet#link",
               "title": "$Type"
            }
         },
         "required": [
            "uri"
         ],
         "title": "Link",
         "type": "object"
      },
      "ListViewBasic": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.graph.defs`.",
         "properties": {
            "cid": {
               "title": "Cid",
               "type": "string"
            },
            "name": {
               "maxLength": 64,
               "minLength": 1,
               "title": "Name",
               "type": "string"
            },
            "purpose": {
               "anyOf": [
                  {
                     "const": "app.bsky.graph.defs#modlist"
                  },
                  {
                     "const": "app.bsky.graph.defs#curatelist"
                  }
               ],
               "title": "Purpose"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "avatar": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Avatar"
            },
            "indexedAt": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Indexedat"
            },
            "viewer": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewerState"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.graph.defs#listViewBasic",
               "default": "app.bsky.graph.defs#listViewBasic",
               "title": "$Type"
            }
         },
         "required": [
            "cid",
            "name",
            "purpose",
            "uri"
         ],
         "title": "ListViewBasic",
         "type": "object"
      },
      "ListViewerState": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.graph.defs`.",
         "properties": {
            "blocked": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blocked"
            },
            "muted": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Muted"
            },
            "$type": {
               "const": "app.bsky.graph.defs#listViewerState",
               "default": "app.bsky.graph.defs#listViewerState",
               "title": "$Type"
            }
         },
         "title": "ListViewerState",
         "type": "object"
      },
      "Main": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.richtext.facet`.",
         "properties": {
            "features": {
               "items": {
                  "discriminator": {
                     "mapping": {
                        "app.bsky.richtext.facet#link": "#/$defs/Link",
                        "app.bsky.richtext.facet#mention": "#/$defs/Mention",
                        "app.bsky.richtext.facet#tag": "#/$defs/Tag"
                     },
                     "propertyName": "$type"
                  },
                  "oneOf": [
                     {
                        "$ref": "#/$defs/Mention"
                     },
                     {
                        "$ref": "#/$defs/Link"
                     },
                     {
                        "$ref": "#/$defs/Tag"
                     }
                  ]
               },
               "title": "Features",
               "type": "array"
            },
            "index": {
               "$ref": "#/$defs/ByteSlice"
            },
            "$type": {
               "const": "app.bsky.richtext.facet",
               "default": "app.bsky.richtext.facet",
               "title": "$Type"
            }
         },
         "required": [
            "features",
            "index"
         ],
         "title": "Main",
         "type": "object"
      },
      "Mention": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.richtext.facet`. A facet feature for actor mentions.",
         "properties": {
            "did": {
               "title": "Did",
               "type": "string"
            },
            "$type": {
               "const": "app.bsky.richtext.facet#mention",
               "default": "app.bsky.richtext.facet#mention",
               "title": "$Type"
            }
         },
         "required": [
            "did"
         ],
         "title": "Mention",
         "type": "object"
      },
      "ProfileView": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.actor.defs`.",
         "properties": {
            "did": {
               "title": "Did",
               "type": "string"
            },
            "handle": {
               "title": "Handle",
               "type": "string"
            },
            "avatar": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Avatar"
            },
            "description": {
               "anyOf": [
                  {
                     "maxLength": 2560,
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Description"
            },
            "displayName": {
               "anyOf": [
                  {
                     "maxLength": 640,
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Displayname"
            },
            "indexedAt": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Indexedat"
            },
            "labels": {
               "anyOf": [
                  {
                     "items": {
                        "$ref": "#/$defs/Label"
                     },
                     "type": "array"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Labels"
            },
            "viewer": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ViewerState"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.actor.defs#profileView",
               "default": "app.bsky.actor.defs#profileView",
               "title": "$Type"
            }
         },
         "required": [
            "did",
            "handle"
         ],
         "title": "ProfileView",
         "type": "object"
      },
      "Tag": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.richtext.facet`. A hashtag.",
         "properties": {
            "tag": {
               "maxLength": 640,
               "title": "Tag",
               "type": "string"
            },
            "$type": {
               "const": "app.bsky.richtext.facet#tag",
               "default": "app.bsky.richtext.facet#tag",
               "title": "$Type"
            }
         },
         "required": [
            "tag"
         ],
         "title": "Tag",
         "type": "object"
      },
      "ViewerState": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.actor.defs`.",
         "properties": {
            "blockedBy": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blockedby"
            },
            "blocking": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blocking"
            },
            "blockingByList": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewBasic"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "followedBy": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Followedby"
            },
            "following": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Following"
            },
            "muted": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Muted"
            },
            "mutedByList": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewBasic"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.actor.defs#viewerState",
               "default": "app.bsky.actor.defs#viewerState",
               "title": "$Type"
            }
         },
         "title": "ViewerState",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "feeds"
   ]
}

Fields:
field cursor: Optional[str] = None#

Cursor.

field feeds: List[models.AppBskyFeedDefs.GeneratorView] [Required]#

Feeds.