Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/source/aliases_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
'models.AppBskyFeedPostgate': 'atproto_client.models.app.bsky.feed.postgate',
'models.AppBskyFeedRepost': 'atproto_client.models.app.bsky.feed.repost',
'models.AppBskyFeedSearchPosts': 'atproto_client.models.app.bsky.feed.search_posts',
'models.AppBskyFeedSearchPostsV2': 'atproto_client.models.app.bsky.feed.search_posts_v2',
'models.AppBskyFeedSendInteractions': 'atproto_client.models.app.bsky.feed.send_interactions',
'models.AppBskyFeedThreadgate': 'atproto_client.models.app.bsky.feed.threadgate',
'models.AppBskyGraphBlock': 'atproto_client.models.app.bsky.graph.block',
Expand Down Expand Up @@ -200,6 +201,9 @@
'models.ChatBskyModerationGetMessageContext': 'atproto_client.models.chat.bsky.moderation.get_message_context',
'models.ChatBskyModerationSubscribeModEvents': 'atproto_client.models.chat.bsky.moderation.subscribe_mod_events',
'models.ChatBskyModerationUpdateActorAccess': 'atproto_client.models.chat.bsky.moderation.update_actor_access',
'models.ChatBskyNotificationDefs': 'atproto_client.models.chat.bsky.notification.defs',
'models.ChatBskyNotificationGetPreferences': 'atproto_client.models.chat.bsky.notification.get_preferences',
'models.ChatBskyNotificationPutPreferences': 'atproto_client.models.chat.bsky.notification.put_preferences',
'models.ComAtprotoAdminDefs': 'atproto_client.models.com.atproto.admin.defs',
'models.ComAtprotoAdminDeleteAccount': 'atproto_client.models.com.atproto.admin.delete_account',
'models.ComAtprotoAdminDisableAccountInvites': 'atproto_client.models.com.atproto.admin.disable_account_invites',
Expand Down Expand Up @@ -343,6 +347,7 @@
'models.ToolsOzoneReportGetLiveStats': 'atproto_client.models.tools.ozone.report.get_live_stats',
'models.ToolsOzoneReportGetReport': 'atproto_client.models.tools.ozone.report.get_report',
'models.ToolsOzoneReportListActivities': 'atproto_client.models.tools.ozone.report.list_activities',
'models.ToolsOzoneReportQueryActivities': 'atproto_client.models.tools.ozone.report.query_activities',
'models.ToolsOzoneReportQueryReports': 'atproto_client.models.tools.ozone.report.query_reports',
'models.ToolsOzoneReportReassignQueue': 'atproto_client.models.tools.ozone.report.reassign_queue',
'models.ToolsOzoneReportRefreshStats': 'atproto_client.models.tools.ozone.report.refresh_stats',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,6 @@ Submodules
atproto_client.models.app.bsky.feed.postgate
atproto_client.models.app.bsky.feed.repost
atproto_client.models.app.bsky.feed.search_posts
atproto_client.models.app.bsky.feed.search_posts_v2
atproto_client.models.app.bsky.feed.send_interactions
atproto_client.models.app.bsky.feed.threadgate
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
app.bsky.feed.search\_posts\_v2
======================================================

.. automodule:: atproto_client.models.app.bsky.feed.search_posts_v2
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
chat.bsky.notification.defs
==================================================

.. automodule:: atproto_client.models.chat.bsky.notification.defs
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
chat.bsky.notification.get\_preferences
==============================================================

.. automodule:: atproto_client.models.chat.bsky.notification.get_preferences
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
chat.bsky.notification.put\_preferences
==============================================================

.. automodule:: atproto_client.models.chat.bsky.notification.put_preferences
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
chat.bsky.notification
=============================================

.. automodule:: atproto_client.models.chat.bsky.notification
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

atproto_client.models.chat.bsky.notification.defs
atproto_client.models.chat.bsky.notification.get_preferences
atproto_client.models.chat.bsky.notification.put_preferences
1 change: 1 addition & 0 deletions docs/source/atproto/atproto_client.models.chat.bsky.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ Subpackages
atproto_client.models.chat.bsky.embed
atproto_client.models.chat.bsky.group
atproto_client.models.chat.bsky.moderation
atproto_client.models.chat.bsky.notification
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tools.ozone.report.query\_activities
===========================================================

.. automodule:: atproto_client.models.tools.ozone.report.query_activities
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Submodules
atproto_client.models.tools.ozone.report.get_live_stats
atproto_client.models.tools.ozone.report.get_report
atproto_client.models.tools.ozone.report.list_activities
atproto_client.models.tools.ozone.report.query_activities
atproto_client.models.tools.ozone.report.query_reports
atproto_client.models.tools.ozone.report.reassign_queue
atproto_client.models.tools.ozone.report.refresh_stats
Expand Down
1 change: 1 addition & 0 deletions lexicons/app.bsky.authFullApp.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"app.bsky.feed.getSuggestedFeeds",
"app.bsky.feed.getTimeline",
"app.bsky.feed.searchPosts",
"app.bsky.feed.searchPostsV2",
"app.bsky.feed.sendInteractions",
"app.bsky.graph.getActorStarterPacks",
"app.bsky.graph.getBlocks",
Expand Down
1 change: 1 addition & 0 deletions lexicons/app.bsky.authViewAll.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"app.bsky.feed.getSuggestedFeeds",
"app.bsky.feed.getTimeline",
"app.bsky.feed.searchPosts",
"app.bsky.feed.searchPostsV2",
"app.bsky.graph.getActorStarterPacks",
"app.bsky.graph.getBlocks",
"app.bsky.graph.getFollowers",
Expand Down
216 changes: 216 additions & 0 deletions lexicons/app.bsky.feed.searchPostsV2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,216 @@
{
"lexicon": 1,
"id": "app.bsky.feed.searchPostsV2",
"defs": {
"main": {
"type": "query",
"description": "Find posts matching a search query or filters, returning search hits for matching post records.",
"parameters": {
"type": "params",
"required": [],
"properties": {
"cursor": {
"type": "string",
"description": "Optional pagination cursor."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 25,
"description": "Maximum number of results to return."
},
"query": {
"type": "string",
"description": "Search query string. A query or at least one filter is required."
},
"sort": {
"type": "string",
"knownValues": ["recent", "top"],
"description": "Ranking order for results. 'recent' sorts by recency; 'top' uses search ranking."
},
"authors": {
"type": "array",
"items": {
"type": "string",
"format": "at-identifier"
},
"description": "Include posts by any of these authors. Handles are resolved to DIDs before searching."
},
"mentions": {
"type": "array",
"items": {
"type": "string",
"format": "at-identifier"
},
"description": "Include posts that mention any of these accounts. Handles are resolved to DIDs before searching."
},
"domains": {
"type": "array",
"items": { "type": "string" },
"description": "Include posts that link to any of these domains."
},
"urls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "Include posts that link to any of these URLs."
},
"embeddedAtUris": {
"type": "array",
"items": {
"type": "string",
"format": "at-uri"
},
"description": "Include posts that embed any of these AT URIs."
},
"hashtags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 640,
"maxGraphemes": 64
},
"description": "Include posts tagged with any of these hashtags. Do not include the hash (#) prefix."
},
"excludeAuthors": {
"type": "array",
"items": {
"type": "string",
"format": "at-identifier"
},
"description": "Exclude posts by any of these authors. Handles are resolved to DIDs before searching."
},
"excludeMentions": {
"type": "array",
"items": {
"type": "string",
"format": "at-identifier"
},
"description": "Exclude posts that mention any of these accounts. Handles are resolved to DIDs before searching."
},
"excludeDomains": {
"type": "array",
"items": { "type": "string" },
"description": "Exclude posts that link to any of these domains."
},
"excludeUrls": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "Exclude posts that link to any of these URLs."
},
"excludeEmbeddedAtUris": {
"type": "array",
"items": {
"type": "string",
"format": "at-uri"
},
"description": "Exclude posts that embed any of these AT URIs."
},
"excludeHashtags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 640,
"maxGraphemes": 64
},
"description": "Exclude posts tagged with any of these hashtags. Do not include the hash (#) prefix."
},
"since": {
"type": "string",
"format": "datetime",
"description": "Include posts indexed at or after this timestamp."
},
"until": {
"type": "string",
"format": "datetime",
"description": "Include posts indexed before this timestamp. Defaults to the current time."
},
"allTime": {
"type": "boolean",
"description": "Search the full index instead of the recent-post window."
},
"language": {
"type": "string",
"format": "language",
"description": "Include posts whose language matches this language code."
},
"hasMedia": {
"type": "boolean",
"description": "Include only posts with media."
},
"hasVideo": {
"type": "boolean",
"description": "Include only posts with video."
},
"replyParentUri": {
"type": "string",
"format": "at-uri",
"description": "Include only direct replies to this parent post URI."
},
"threadRootUri": {
"type": "string",
"format": "at-uri",
"description": "Include only posts in the thread rooted at this post URI."
},
"excludeReplies": {
"type": "boolean",
"description": "Exclude replies from results. Mutually exclusive with repliesOnly."
},
"repliesOnly": {
"type": "boolean",
"description": "Include only replies. Mutually exclusive with excludeReplies."
},
"following": {
"type": "boolean",
"description": "Include only posts from accounts followed by the viewer."
},
"queryLanguage": {
"type": "string",
"knownValues": ["ja", "zh", "ko", "th", "ar"],
"description": "Language analyzer hint for the query text. If unset, the server auto-detects when possible."
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["posts"],
"properties": {
"cursor": {
"type": "string",
"description": "Cursor for the next page of results."
},
"hitsTotal": {
"type": "integer",
"description": "Estimated total number of matching hits. May be rounded or truncated."
},
"posts": {
"type": "array",
"items": {
"type": "ref",
"ref": "app.bsky.feed.defs#postView"
},
"description": "Hydrated views of matching posts."
},
"detectedQueryLanguages": {
"type": "array",
"items": {
"type": "string",
"knownValues": ["ja", "zh", "ko", "th", "ar"]
},
"description": "Query languages detected for CJK, Thai, or Arabic text. Empty or omitted for other scripts."
}
}
}
},
"errors": [{ "name": "BadQueryString" }]
}
}
}
7 changes: 6 additions & 1 deletion lexicons/app.bsky.notification.defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
},
"chatPreference": {
"type": "object",
"description": "Deprecated: use chat.bsky.notification preferences instead. This will only return a default value.",
"required": ["include", "push"],
"properties": {
"include": { "type": "string", "knownValues": ["all", "accepted"] },
Expand Down Expand Up @@ -49,7 +50,11 @@
"verified"
],
"properties": {
"chat": { "type": "ref", "ref": "#chatPreference" },
"chat": {
"type": "ref",
"ref": "#chatPreference",
"description": "Deprecated: use chat.bsky.notification preferences instead. This will only return a default value."
},
"follow": { "type": "ref", "ref": "#filterablePreference" },
"like": { "type": "ref", "ref": "#filterablePreference" },
"likeViaRepost": { "type": "ref", "ref": "#filterablePreference" },
Expand Down
3 changes: 2 additions & 1 deletion lexicons/app.bsky.notification.putPreferencesV2.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"properties": {
"chat": {
"type": "ref",
"ref": "app.bsky.notification.defs#chatPreference"
"ref": "app.bsky.notification.defs#chatPreference",
"description": "Deprecated: use chat.bsky.notification preferences instead. Setting this won't stick and the default values will be returned."
},
"follow": {
"type": "ref",
Expand Down
2 changes: 1 addition & 1 deletion lexicons/chat.bsky.actor.declaration.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"knownValues": ["all", "none", "following"]
},
"allowGroupInvites": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Declaration about group chat invitation preferences for the record owner.",
"description": "Declaration about group chat invitation preferences for the record owner.",
"type": "string",
"knownValues": ["all", "none", "following"]
}
Expand Down
Loading
Loading