app.bsky.feed.get_posts#
- pydantic model atproto.xrpc_client.models.app.bsky.feed.get_posts.Params#
Bases:
ParamsModelBase
Parameters model for
app.bsky.feed.getPosts
.Show JSON schema
{ "title": "Params", "description": "Parameters model for :obj:`app.bsky.feed.getPosts`.", "type": "object", "properties": { "uris": { "items": { "type": "string" }, "maxItems": 25, "title": "Uris", "type": "array" } }, "additionalProperties": false, "required": [ "uris" ] }
- Fields:
- field uris: List[str] [Required]#
Uris.
- Constraints:
max_length = 25
- class atproto.xrpc_client.models.app.bsky.feed.get_posts.ParamsDict#
Bases:
TypedDict
- uris: List[str]#
Uris.
- pydantic model atproto.xrpc_client.models.app.bsky.feed.get_posts.Response#
Bases:
ResponseModelBase
Output data model for
app.bsky.feed.getPosts
.Show JSON schema
{ "title": "Response", "description": "Output data model for :obj:`app.bsky.feed.getPosts`.", "type": "object", "properties": { "posts": { "items": { "$ref": "#/$defs/PostView" }, "title": "Posts", "type": "array" } }, "$defs": { "AspectRatio": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`. width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.", "properties": { "height": { "minimum": 1, "title": "Height", "type": "integer" }, "width": { "minimum": 1, "title": "Width", "type": "integer" }, "$type": { "const": "app.bsky.embed.images#aspectRatio", "default": "app.bsky.embed.images#aspectRatio", "title": "$Type" } }, "required": [ "height", "width" ], "title": "AspectRatio", "type": "object" }, "BlobRef": { "additionalProperties": false, "description": "Blob reference.", "properties": { "mimeType": { "title": "Mimetype", "type": "string" }, "size": { "title": "Size", "type": "integer" }, "ref": { "$ref": "#/$defs/BlobRefLink" }, "$type": { "const": "blob", "default": "blob", "title": "$Type" } }, "required": [ "mimeType", "size", "ref" ], "title": "BlobRef", "type": "object" }, "BlobRefLink": { "description": "Blob reference link.", "properties": { "$link": { "title": "$Link", "type": "string" } }, "required": [ "$link" ], "title": "BlobRefLink", "type": "object" }, "BlockedAuthor": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.defs`.", "properties": { "did": { "title": "Did", "type": "string" }, "viewer": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__defs__ViewerState" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.feed.defs#blockedAuthor", "default": "app.bsky.feed.defs#blockedAuthor", "title": "$Type" } }, "required": [ "did" ], "title": "BlockedAuthor", "type": "object" }, "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" }, "Entity": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`. Deprecated: use facets instead.", "properties": { "index": { "$ref": "#/$defs/TextSlice" }, "type": { "title": "Type", "type": "string" }, "value": { "title": "Value", "type": "string" }, "$type": { "const": "app.bsky.feed.post#entity", "default": "app.bsky.feed.post#entity", "title": "$Type" } }, "required": [ "index", "type", "value" ], "title": "Entity", "type": "object" }, "External": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.external`.", "properties": { "description": { "title": "Description", "type": "string" }, "title": { "title": "Title", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "thumb": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.embed.external#external", "default": "app.bsky.embed.external#external", "title": "$Type" } }, "required": [ "description", "title", "uri" ], "title": "External", "type": "object" }, "FollowingRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors you follow.", "properties": { "$type": { "const": "app.bsky.feed.threadgate#followingRule", "default": "app.bsky.feed.threadgate#followingRule", "title": "$Type" } }, "title": "FollowingRule", "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/atproto__xrpc_client__models__app__bsky__richtext__facet__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" }, "Image": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`.", "properties": { "alt": { "title": "Alt", "type": "string" }, "image": { "$ref": "#/$defs/BlobRef" }, "aspectRatio": { "anyOf": [ { "$ref": "#/$defs/AspectRatio" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.embed.images#image", "default": "app.bsky.embed.images#image", "title": "$Type" } }, "required": [ "alt", "image" ], "title": "Image", "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" }, "ListRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors on a list.", "properties": { "list": { "title": "List", "type": "string" }, "$type": { "const": "app.bsky.feed.threadgate#listRule", "default": "app.bsky.feed.threadgate#listRule", "title": "$Type" } }, "required": [ "list" ], "title": "ListRule", "type": "object" }, "ListView": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.graph.defs`.", "properties": { "cid": { "title": "Cid", "type": "string" }, "creator": { "$ref": "#/$defs/ProfileView" }, "indexedAt": { "title": "Indexedat", "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" }, "description": { "anyOf": [ { "maxLength": 3000, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "descriptionFacets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Descriptionfacets" }, "viewer": { "anyOf": [ { "$ref": "#/$defs/ListViewerState" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.graph.defs#listView", "default": "app.bsky.graph.defs#listView", "title": "$Type" } }, "required": [ "cid", "creator", "indexedAt", "name", "purpose", "uri" ], "title": "ListView", "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" }, "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" }, "MentionRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors mentioned in your post.", "properties": { "$type": { "const": "app.bsky.feed.threadgate#mentionRule", "default": "app.bsky.feed.threadgate#mentionRule", "title": "$Type" } }, "title": "MentionRule", "type": "object" }, "PostView": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.defs`.", "properties": { "author": { "$ref": "#/$defs/ProfileViewBasic" }, "cid": { "title": "Cid", "type": "string" }, "indexedAt": { "title": "Indexedat", "type": "string" }, "record": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" }, { "type": "object" } ], "title": "Record" }, "uri": { "title": "Uri", "type": "string" }, "embed": { "anyOf": [ { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__View" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__View" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__View" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record_with_media__View" } ], "default": null }, { "type": "null" } ], "default": null, "title": "Embed" }, "labels": { "anyOf": [ { "items": { "$ref": "#/$defs/Label" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Labels" }, "likeCount": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Likecount" }, "replyCount": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Replycount" }, "repostCount": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Repostcount" }, "threadgate": { "anyOf": [ { "$ref": "#/$defs/ThreadgateView" }, { "type": "null" } ], "default": null }, "viewer": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__defs__ViewerState" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.feed.defs#postView", "default": "app.bsky.feed.defs#postView", "title": "$Type" } }, "required": [ "author", "cid", "indexedAt", "record", "uri" ], "title": "PostView", "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/atproto__xrpc_client__models__app__bsky__actor__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" }, "ProfileViewBasic": { "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" }, "displayName": { "anyOf": [ { "maxLength": 640, "type": "string" }, { "type": "null" } ], "default": null, "title": "Displayname" }, "labels": { "anyOf": [ { "items": { "$ref": "#/$defs/Label" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Labels" }, "viewer": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__defs__ViewerState" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.actor.defs#profileViewBasic", "default": "app.bsky.actor.defs#profileViewBasic", "title": "$Type" } }, "required": [ "did", "handle" ], "title": "ProfileViewBasic", "type": "object" }, "ReplyRef": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`.", "properties": { "parent": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "root": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.post#replyRef", "default": "app.bsky.feed.post#replyRef", "title": "$Type" } }, "required": [ "parent", "root" ], "title": "ReplyRef", "type": "object" }, "SelfLabel": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tag on an atproto record, published by the author within the record. Note -- schemas should use #selfLabels, not #selfLabel.", "properties": { "val": { "maxLength": 128, "title": "Val", "type": "string" }, "$type": { "const": "com.atproto.label.defs#selfLabel", "default": "com.atproto.label.defs#selfLabel", "title": "$Type" } }, "required": [ "val" ], "title": "SelfLabel", "type": "object" }, "SelfLabels": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tags on an atproto record, published by the author within the record.", "properties": { "values": { "items": { "$ref": "#/$defs/SelfLabel" }, "maxItems": 10, "title": "Values", "type": "array" }, "$type": { "const": "com.atproto.label.defs#selfLabels", "default": "com.atproto.label.defs#selfLabels", "title": "$Type" } }, "required": [ "values" ], "title": "SelfLabels", "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" }, "TextSlice": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`. Deprecated. Use app.bsky.richtext instead -- A text segment. Start is inclusive, end is exclusive. Indices are for utf16-encoded strings.", "properties": { "end": { "minimum": 0, "title": "End", "type": "integer" }, "start": { "minimum": 0, "title": "Start", "type": "integer" }, "$type": { "const": "app.bsky.feed.post#textSlice", "default": "app.bsky.feed.post#textSlice", "title": "$Type" } }, "required": [ "end", "start" ], "title": "TextSlice", "type": "object" }, "ThreadgateView": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.defs`.", "properties": { "cid": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Cid" }, "lists": { "anyOf": [ { "items": { "$ref": "#/$defs/ListViewBasic" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Lists" }, "record": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" }, { "type": "object" }, { "type": "null" } ], "default": null, "title": "Record" }, "uri": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Uri" }, "$type": { "const": "app.bsky.feed.defs#threadgateView", "default": "app.bsky.feed.defs#threadgateView", "title": "$Type" } }, "title": "ThreadgateView", "type": "object" }, "ViewBlocked": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.record`.", "properties": { "author": { "$ref": "#/$defs/BlockedAuthor" }, "blocked": { "title": "Blocked", "type": "boolean" }, "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "app.bsky.embed.record#viewBlocked", "default": "app.bsky.embed.record#viewBlocked", "title": "$Type" } }, "required": [ "author", "blocked", "uri" ], "title": "ViewBlocked", "type": "object" }, "ViewExternal": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.external`.", "properties": { "description": { "title": "Description", "type": "string" }, "title": { "title": "Title", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "thumb": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Thumb" }, "$type": { "const": "app.bsky.embed.external#viewExternal", "default": "app.bsky.embed.external#viewExternal", "title": "$Type" } }, "required": [ "description", "title", "uri" ], "title": "ViewExternal", "type": "object" }, "ViewImage": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`.", "properties": { "alt": { "title": "Alt", "type": "string" }, "fullsize": { "title": "Fullsize", "type": "string" }, "thumb": { "title": "Thumb", "type": "string" }, "aspectRatio": { "anyOf": [ { "$ref": "#/$defs/AspectRatio" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.embed.images#viewImage", "default": "app.bsky.embed.images#viewImage", "title": "$Type" } }, "required": [ "alt", "fullsize", "thumb" ], "title": "ViewImage", "type": "object" }, "ViewNotFound": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.record`.", "properties": { "notFound": { "title": "Notfound", "type": "boolean" }, "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "app.bsky.embed.record#viewNotFound", "default": "app.bsky.embed.record#viewNotFound", "title": "$Type" } }, "required": [ "notFound", "uri" ], "title": "ViewNotFound", "type": "object" }, "ViewRecord": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.record`.", "properties": { "author": { "$ref": "#/$defs/ProfileViewBasic" }, "cid": { "title": "Cid", "type": "string" }, "indexedAt": { "title": "Indexedat", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "value": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" }, { "type": "object" } ], "title": "Value" }, "embeds": { "anyOf": [ { "items": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__View" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__View" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__View" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record_with_media__View" } ] }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Embeds" }, "labels": { "anyOf": [ { "items": { "$ref": "#/$defs/Label" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Labels" }, "$type": { "const": "app.bsky.embed.record#viewRecord", "default": "app.bsky.embed.record#viewRecord", "title": "$Type" } }, "required": [ "author", "cid", "indexedAt", "uri", "value" ], "title": "ViewRecord", "type": "object" }, "atproto__xrpc_client__models__app__bsky__actor__defs__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" }, "atproto__xrpc_client__models__app__bsky__actor__profile__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.actor.profile`.", "properties": { "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "banner": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 2560, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "displayName": { "anyOf": [ { "maxLength": 640, "type": "string" }, { "type": "null" } ], "default": null, "title": "Displayname" }, "labels": { "anyOf": [ { "default": null, "oneOf": [ { "$ref": "#/$defs/SelfLabels" } ] }, { "type": "null" } ], "default": null, "title": "Labels" }, "$type": { "const": "app.bsky.actor.profile", "default": "app.bsky.actor.profile", "title": "$Type" } }, "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__external__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.external`.", "properties": { "external": { "$ref": "#/$defs/External" }, "$type": { "const": "app.bsky.embed.external", "default": "app.bsky.embed.external", "title": "$Type" } }, "required": [ "external" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__external__View": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.external`.", "properties": { "external": { "$ref": "#/$defs/ViewExternal" }, "$type": { "const": "app.bsky.embed.external#view", "default": "app.bsky.embed.external#view", "title": "$Type" } }, "required": [ "external" ], "title": "View", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__images__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`.", "properties": { "images": { "items": { "$ref": "#/$defs/Image" }, "maxItems": 4, "title": "Images", "type": "array" }, "$type": { "const": "app.bsky.embed.images", "default": "app.bsky.embed.images", "title": "$Type" } }, "required": [ "images" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__images__View": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`.", "properties": { "images": { "items": { "$ref": "#/$defs/ViewImage" }, "maxItems": 4, "title": "Images", "type": "array" }, "$type": { "const": "app.bsky.embed.images#view", "default": "app.bsky.embed.images#view", "title": "$Type" } }, "required": [ "images" ], "title": "View", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__record__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.record`.", "properties": { "record": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.embed.record", "default": "app.bsky.embed.record", "title": "$Type" } }, "required": [ "record" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__record__View": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.record`.", "properties": { "record": { "discriminator": { "mapping": { "app.bsky.embed.record#viewBlocked": "#/$defs/ViewBlocked", "app.bsky.embed.record#viewNotFound": "#/$defs/ViewNotFound", "app.bsky.embed.record#viewRecord": "#/$defs/ViewRecord", "app.bsky.feed.defs#generatorView": "#/$defs/GeneratorView", "app.bsky.graph.defs#listView": "#/$defs/ListView" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/ViewRecord" }, { "$ref": "#/$defs/ViewNotFound" }, { "$ref": "#/$defs/ViewBlocked" }, { "$ref": "#/$defs/GeneratorView" }, { "$ref": "#/$defs/ListView" } ], "title": "Record" }, "$type": { "const": "app.bsky.embed.record#view", "default": "app.bsky.embed.record#view", "title": "$Type" } }, "required": [ "record" ], "title": "View", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__record_with_media__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.recordWithMedia`.", "properties": { "media": { "discriminator": { "mapping": { "app.bsky.embed.external": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main", "app.bsky.embed.images": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main" } ], "title": "Media" }, "record": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__Main" }, "$type": { "const": "app.bsky.embed.recordWithMedia", "default": "app.bsky.embed.recordWithMedia", "title": "$Type" } }, "required": [ "media", "record" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__record_with_media__View": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.recordWithMedia`.", "properties": { "media": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__View" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__View" } ], "title": "Media" }, "record": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__View" }, "$type": { "const": "app.bsky.embed.recordWithMedia#view", "default": "app.bsky.embed.recordWithMedia#view", "title": "$Type" } }, "required": [ "media", "record" ], "title": "View", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__defs__ViewerState": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.defs`.", "properties": { "like": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Like" }, "repost": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Repost" }, "$type": { "const": "app.bsky.feed.defs#viewerState", "default": "app.bsky.feed.defs#viewerState", "title": "$Type" } }, "title": "ViewerState", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__generator__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.generator`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "did": { "title": "Did", "type": "string" }, "displayName": { "maxLength": 240, "title": "Displayname", "type": "string" }, "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 3000, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "descriptionFacets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Descriptionfacets" }, "labels": { "anyOf": [ { "allOf": [ { "$ref": "#/$defs/SelfLabels" } ], "default": null }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.feed.generator", "default": "app.bsky.feed.generator", "title": "$Type" } }, "required": [ "createdAt", "did", "displayName" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__like__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.like`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.like", "default": "app.bsky.feed.like", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__post__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.post`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "text": { "maxLength": 3000, "title": "Text", "type": "string" }, "embed": { "anyOf": [ { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record_with_media__Main" } ], "default": null }, { "type": "null" } ], "default": null, "title": "Embed" }, "entities": { "anyOf": [ { "items": { "$ref": "#/$defs/Entity" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Entities" }, "facets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Facets" }, "labels": { "anyOf": [ { "allOf": [ { "$ref": "#/$defs/SelfLabels" } ], "default": null }, { "type": "null" } ], "default": null }, "langs": { "anyOf": [ { "items": { "type": "string" }, "maxItems": 3, "type": "array" }, { "type": "null" } ], "default": null, "title": "Langs" }, "reply": { "anyOf": [ { "$ref": "#/$defs/ReplyRef" }, { "type": "null" } ], "default": null }, "tags": { "anyOf": [ { "items": { "type": "string" }, "maxItems": 8, "type": "array" }, { "type": "null" } ], "default": null, "title": "Tags" }, "$type": { "const": "app.bsky.feed.post", "default": "app.bsky.feed.post", "title": "$Type" } }, "required": [ "createdAt", "text" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__repost__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.repost`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.repost", "default": "app.bsky.feed.repost", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__threadgate__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.threadgate`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "post": { "title": "Post", "type": "string" }, "allow": { "anyOf": [ { "items": { "anyOf": [ { "$ref": "#/$defs/MentionRule" }, { "$ref": "#/$defs/FollowingRule" }, { "$ref": "#/$defs/ListRule" } ] }, "maxItems": 5, "type": "array" }, { "type": "null" } ], "default": null, "title": "Allow" }, "$type": { "const": "app.bsky.feed.threadgate", "default": "app.bsky.feed.threadgate", "title": "$Type" } }, "required": [ "createdAt", "post" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__block__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.block`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.block", "default": "app.bsky.graph.block", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__follow__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.follow`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.follow", "default": "app.bsky.graph.follow", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__list__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.list`.", "properties": { "createdAt": { "title": "Createdat", "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" }, "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 3000, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "descriptionFacets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Descriptionfacets" }, "labels": { "anyOf": [ { "allOf": [ { "$ref": "#/$defs/SelfLabels" } ], "default": null }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.graph.list", "default": "app.bsky.graph.list", "title": "$Type" } }, "required": [ "createdAt", "name", "purpose" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__listblock__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.listblock`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.listblock", "default": "app.bsky.graph.listblock", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__listitem__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.listitem`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "list": { "title": "List", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.listitem", "default": "app.bsky.graph.listitem", "title": "$Type" } }, "required": [ "createdAt", "list", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__richtext__facet__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`.", "properties": { "features": { "items": { "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" }, "atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.repo.strongRef`.", "properties": { "cid": { "title": "Cid", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "com.atproto.repo.strongRef", "default": "com.atproto.repo.strongRef", "title": "$Type" } }, "required": [ "cid", "uri" ], "title": "Main", "type": "object" } }, "additionalProperties": false, "required": [ "posts" ] }
- field posts: List[models.AppBskyFeedDefs.PostView] [Required]#
Posts.