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
12 changes: 12 additions & 0 deletions docs/source/aliases_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
'models.AppBskyActorSearchActors': 'atproto_client.models.app.bsky.actor.search_actors',
'models.AppBskyActorSearchActorsTypeahead': 'atproto_client.models.app.bsky.actor.search_actors_typeahead',
'models.AppBskyActorStatus': 'atproto_client.models.app.bsky.actor.status',
'models.AppBskyBookmarkCreateBookmark': 'atproto_client.models.app.bsky.bookmark.create_bookmark',
'models.AppBskyBookmarkDefs': 'atproto_client.models.app.bsky.bookmark.defs',
'models.AppBskyBookmarkDeleteBookmark': 'atproto_client.models.app.bsky.bookmark.delete_bookmark',
'models.AppBskyBookmarkGetBookmarks': 'atproto_client.models.app.bsky.bookmark.get_bookmarks',
'models.AppBskyEmbedDefs': 'atproto_client.models.app.bsky.embed.defs',
'models.AppBskyEmbedExternal': 'atproto_client.models.app.bsky.embed.external',
'models.AppBskyEmbedImages': 'atproto_client.models.app.bsky.embed.images',
Expand Down Expand Up @@ -90,6 +94,8 @@
'models.AppBskyUnspeccedDefs': 'atproto_client.models.app.bsky.unspecced.defs',
'models.AppBskyUnspeccedGetAgeAssuranceState': 'atproto_client.models.app.bsky.unspecced.get_age_assurance_state',
'models.AppBskyUnspeccedGetConfig': 'atproto_client.models.app.bsky.unspecced.get_config',
'models.AppBskyUnspeccedGetOnboardingSuggestedStarterPacks': 'atproto_client.models.app.bsky.unspecced.get_onboarding_suggested_starter_packs',
'models.AppBskyUnspeccedGetOnboardingSuggestedStarterPacksSkeleton': 'atproto_client.models.app.bsky.unspecced.get_onboarding_suggested_starter_packs_skeleton',
'models.AppBskyUnspeccedGetPopularFeedGenerators': 'atproto_client.models.app.bsky.unspecced.get_popular_feed_generators',
'models.AppBskyUnspeccedGetPostThreadOtherV2': 'atproto_client.models.app.bsky.unspecced.get_post_thread_other_v2',
'models.AppBskyUnspeccedGetPostThreadV2': 'atproto_client.models.app.bsky.unspecced.get_post_thread_v2',
Expand Down Expand Up @@ -227,14 +233,17 @@
'models.ComAtprotoTempAddReservedHandle': 'atproto_client.models.com.atproto.temp.add_reserved_handle',
'models.ComAtprotoTempCheckHandleAvailability': 'atproto_client.models.com.atproto.temp.check_handle_availability',
'models.ComAtprotoTempCheckSignupQueue': 'atproto_client.models.com.atproto.temp.check_signup_queue',
'models.ComAtprotoTempDereferenceScope': 'atproto_client.models.com.atproto.temp.dereference_scope',
'models.ComAtprotoTempFetchLabels': 'atproto_client.models.com.atproto.temp.fetch_labels',
'models.ComAtprotoTempRequestPhoneVerification': 'atproto_client.models.com.atproto.temp.request_phone_verification',
'models.ComAtprotoTempRevokeAccountCredentials': 'atproto_client.models.com.atproto.temp.revoke_account_credentials',
'models.ToolsOzoneCommunicationCreateTemplate': 'atproto_client.models.tools.ozone.communication.create_template',
'models.ToolsOzoneCommunicationDefs': 'atproto_client.models.tools.ozone.communication.defs',
'models.ToolsOzoneCommunicationDeleteTemplate': 'atproto_client.models.tools.ozone.communication.delete_template',
'models.ToolsOzoneCommunicationListTemplates': 'atproto_client.models.tools.ozone.communication.list_templates',
'models.ToolsOzoneCommunicationUpdateTemplate': 'atproto_client.models.tools.ozone.communication.update_template',
'models.ToolsOzoneHostingGetAccountHistory': 'atproto_client.models.tools.ozone.hosting.get_account_history',
'models.ToolsOzoneModerationCancelScheduledActions': 'atproto_client.models.tools.ozone.moderation.cancel_scheduled_actions',
'models.ToolsOzoneModerationDefs': 'atproto_client.models.tools.ozone.moderation.defs',
'models.ToolsOzoneModerationEmitEvent': 'atproto_client.models.tools.ozone.moderation.emit_event',
'models.ToolsOzoneModerationGetAccountTimeline': 'atproto_client.models.tools.ozone.moderation.get_account_timeline',
Expand All @@ -245,9 +254,12 @@
'models.ToolsOzoneModerationGetReporterStats': 'atproto_client.models.tools.ozone.moderation.get_reporter_stats',
'models.ToolsOzoneModerationGetRepos': 'atproto_client.models.tools.ozone.moderation.get_repos',
'models.ToolsOzoneModerationGetSubjects': 'atproto_client.models.tools.ozone.moderation.get_subjects',
'models.ToolsOzoneModerationListScheduledActions': 'atproto_client.models.tools.ozone.moderation.list_scheduled_actions',
'models.ToolsOzoneModerationQueryEvents': 'atproto_client.models.tools.ozone.moderation.query_events',
'models.ToolsOzoneModerationQueryStatuses': 'atproto_client.models.tools.ozone.moderation.query_statuses',
'models.ToolsOzoneModerationScheduleAction': 'atproto_client.models.tools.ozone.moderation.schedule_action',
'models.ToolsOzoneModerationSearchRepos': 'atproto_client.models.tools.ozone.moderation.search_repos',
'models.ToolsOzoneReportDefs': 'atproto_client.models.tools.ozone.report.defs',
'models.ToolsOzoneSafelinkAddRule': 'atproto_client.models.tools.ozone.safelink.add_rule',
'models.ToolsOzoneSafelinkDefs': 'atproto_client.models.tools.ozone.safelink.defs',
'models.ToolsOzoneSafelinkQueryEvents': 'atproto_client.models.tools.ozone.safelink.query_events',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
app.bsky.bookmark.create\_bookmark
=========================================================

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

.. automodule:: atproto_client.models.app.bsky.bookmark.defs
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
app.bsky.bookmark.delete\_bookmark
=========================================================

.. automodule:: atproto_client.models.app.bsky.bookmark.delete_bookmark
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
app.bsky.bookmark.get\_bookmarks
=======================================================

.. automodule:: atproto_client.models.app.bsky.bookmark.get_bookmarks
:members:
:undoc-members:
:show-inheritance:
18 changes: 18 additions & 0 deletions docs/source/atproto/atproto_client.models.app.bsky.bookmark.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
app.bsky.bookmark
========================================

.. automodule:: atproto_client.models.app.bsky.bookmark
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

atproto_client.models.app.bsky.bookmark.create_bookmark
atproto_client.models.app.bsky.bookmark.defs
atproto_client.models.app.bsky.bookmark.delete_bookmark
atproto_client.models.app.bsky.bookmark.get_bookmarks
1 change: 1 addition & 0 deletions docs/source/atproto/atproto_client.models.app.bsky.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Subpackages
:maxdepth: 4

atproto_client.models.app.bsky.actor
atproto_client.models.app.bsky.bookmark
atproto_client.models.app.bsky.embed
atproto_client.models.app.bsky.feed
atproto_client.models.app.bsky.graph
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
app.bsky.unspecced.get\_onboarding\_suggested\_starter\_packs
====================================================================================

.. automodule:: atproto_client.models.app.bsky.unspecced.get_onboarding_suggested_starter_packs
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
app.bsky.unspecced.get\_onboarding\_suggested\_starter\_packs\_skeleton
==============================================================================================

.. automodule:: atproto_client.models.app.bsky.unspecced.get_onboarding_suggested_starter_packs_skeleton
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Submodules
atproto_client.models.app.bsky.unspecced.defs
atproto_client.models.app.bsky.unspecced.get_age_assurance_state
atproto_client.models.app.bsky.unspecced.get_config
atproto_client.models.app.bsky.unspecced.get_onboarding_suggested_starter_packs
atproto_client.models.app.bsky.unspecced.get_onboarding_suggested_starter_packs_skeleton
atproto_client.models.app.bsky.unspecced.get_popular_feed_generators
atproto_client.models.app.bsky.unspecced.get_post_thread_other_v2
atproto_client.models.app.bsky.unspecced.get_post_thread_v2
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.temp.dereference\_scope
==========================================================

.. automodule:: atproto_client.models.com.atproto.temp.dereference_scope
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
com.atproto.temp.revoke\_account\_credentials
====================================================================

.. automodule:: atproto_client.models.com.atproto.temp.revoke_account_credentials
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ Submodules
atproto_client.models.com.atproto.temp.add_reserved_handle
atproto_client.models.com.atproto.temp.check_handle_availability
atproto_client.models.com.atproto.temp.check_signup_queue
atproto_client.models.com.atproto.temp.dereference_scope
atproto_client.models.com.atproto.temp.fetch_labels
atproto_client.models.com.atproto.temp.request_phone_verification
atproto_client.models.com.atproto.temp.revoke_account_credentials
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tools.ozone.moderation.cancel\_scheduled\_actions
========================================================================

.. automodule:: atproto_client.models.tools.ozone.moderation.cancel_scheduled_actions
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tools.ozone.moderation.list\_scheduled\_actions
======================================================================

.. automodule:: atproto_client.models.tools.ozone.moderation.list_scheduled_actions
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Submodules
.. toctree::
:maxdepth: 4

atproto_client.models.tools.ozone.moderation.cancel_scheduled_actions
atproto_client.models.tools.ozone.moderation.defs
atproto_client.models.tools.ozone.moderation.emit_event
atproto_client.models.tools.ozone.moderation.get_account_timeline
Expand All @@ -22,6 +23,8 @@ Submodules
atproto_client.models.tools.ozone.moderation.get_reporter_stats
atproto_client.models.tools.ozone.moderation.get_repos
atproto_client.models.tools.ozone.moderation.get_subjects
atproto_client.models.tools.ozone.moderation.list_scheduled_actions
atproto_client.models.tools.ozone.moderation.query_events
atproto_client.models.tools.ozone.moderation.query_statuses
atproto_client.models.tools.ozone.moderation.schedule_action
atproto_client.models.tools.ozone.moderation.search_repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tools.ozone.moderation.schedule\_action
==============================================================

.. automodule:: atproto_client.models.tools.ozone.moderation.schedule_action
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
tools.ozone.report.defs
==============================================

.. automodule:: atproto_client.models.tools.ozone.report.defs
:members:
:undoc-members:
:show-inheritance:
15 changes: 15 additions & 0 deletions docs/source/atproto/atproto_client.models.tools.ozone.report.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
tools.ozone.report
=========================================

.. automodule:: atproto_client.models.tools.ozone.report
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

atproto_client.models.tools.ozone.report.defs
1 change: 1 addition & 0 deletions docs/source/atproto/atproto_client.models.tools.ozone.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Subpackages
atproto_client.models.tools.ozone.communication
atproto_client.models.tools.ozone.hosting
atproto_client.models.tools.ozone.moderation
atproto_client.models.tools.ozone.report
atproto_client.models.tools.ozone.safelink
atproto_client.models.tools.ozone.server
atproto_client.models.tools.ozone.set
Expand Down
4 changes: 4 additions & 0 deletions lexicons/app.bsky.actor.defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"maxGraphemes": 64,
"maxLength": 640
},
"pronouns": { "type": "string" },
"avatar": { "type": "string", "format": "uri" },
"associated": {
"type": "ref",
Expand Down Expand Up @@ -45,6 +46,7 @@
"maxGraphemes": 64,
"maxLength": 640
},
"pronouns": { "type": "string" },
"description": {
"type": "string",
"maxGraphemes": 256,
Expand Down Expand Up @@ -88,6 +90,8 @@
"maxGraphemes": 256,
"maxLength": 2560
},
"pronouns": { "type": "string" },
"website": { "type": "string", "format": "uri" },
"avatar": { "type": "string", "format": "uri" },
"banner": { "type": "string", "format": "uri" },
"followersCount": { "type": "integer" },
Expand Down
7 changes: 7 additions & 0 deletions lexicons/app.bsky.actor.profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@
"maxGraphemes": 256,
"maxLength": 2560
},
"pronouns": {
"type": "string",
"description": "Free-form pronouns text.",
"maxGraphemes": 20,
"maxLength": 200
},
"website": { "type": "string", "format": "uri" },
"avatar": {
"type": "blob",
"description": "Small image to be displayed next to posts from account. AKA, 'profile picture'",
Expand Down
27 changes: 27 additions & 0 deletions lexicons/app.bsky.bookmark.createBookmark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"lexicon": 1,
"id": "app.bsky.bookmark.createBookmark",
"defs": {
"main": {
"type": "procedure",
"description": "Creates a private bookmark for the specified record. Currently, only `app.bsky.feed.post` records are supported. Requires authentication.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["uri", "cid"],
"properties": {
"uri": { "type": "string", "format": "at-uri" },
"cid": { "type": "string", "format": "cid" }
}
}
},
"errors": [
{
"name": "UnsupportedCollection",
"description": "The URI to be bookmarked is for an unsupported collection."
}
]
}
}
}
38 changes: 38 additions & 0 deletions lexicons/app.bsky.bookmark.defs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"lexicon": 1,
"id": "app.bsky.bookmark.defs",
"defs": {
"bookmark": {
"description": "Object used to store bookmark data in stash.",
"type": "object",
"required": ["subject"],
"properties": {
"subject": {
"description": "A strong ref to the record to be bookmarked. Currently, only `app.bsky.feed.post` records are supported.",
"type": "ref",
"ref": "com.atproto.repo.strongRef"
}
}
},
"bookmarkView": {
"type": "object",
"required": ["subject", "item"],
"properties": {
"subject": {
"description": "A strong ref to the bookmarked record.",
"type": "ref",
"ref": "com.atproto.repo.strongRef"
},
"createdAt": { "type": "string", "format": "datetime" },
"item": {
"type": "union",
"refs": [
"app.bsky.feed.defs#blockedPost",
"app.bsky.feed.defs#notFoundPost",
"app.bsky.feed.defs#postView"
]
}
}
}
}
}
26 changes: 26 additions & 0 deletions lexicons/app.bsky.bookmark.deleteBookmark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"lexicon": 1,
"id": "app.bsky.bookmark.deleteBookmark",
"defs": {
"main": {
"type": "procedure",
"description": "Deletes a private bookmark for the specified record. Currently, only `app.bsky.feed.post` records are supported. Requires authentication.",
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["uri"],
"properties": {
"uri": { "type": "string", "format": "at-uri" }
}
}
},
"errors": [
{
"name": "UnsupportedCollection",
"description": "The URI to be bookmarked is for an unsupported collection."
}
]
}
}
}
Loading
Loading