pub struct Service<T>{ /* private fields */ }
namespace-appbsky
only.Implementations§
Source§impl<T> Service<T>
impl<T> Service<T>
Sourcepub async fn describe_feed_generator(&self) -> Result<Output, Error>
pub async fn describe_feed_generator(&self) -> Result<Output, Error>
Get information about a feed generator, including policies and offered feed URIs. Does not require auth; implemented by Feed Generator services (not App View).
Sourcepub async fn get_actor_feeds(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_actor_feeds(&self, params: Parameters) -> Result<Output, Error>
Get a list of feeds (feed generator records) created by the actor (in the actor’s repo).
Sourcepub async fn get_actor_likes(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_actor_likes(&self, params: Parameters) -> Result<Output, Error>
Get a list of posts liked by an actor. Requires auth, actor must be the requesting account.
Get a view of an actor’s ‘author feed’ (post and reposts by the author). Does not require auth.
Sourcepub async fn get_feed(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_feed(&self, params: Parameters) -> Result<Output, Error>
Get a hydrated feed from an actor’s selected feed generator. Implemented by App View.
Sourcepub async fn get_feed_generator(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn get_feed_generator( &self, params: Parameters, ) -> Result<Output, Error>
Get information about a feed generator. Implemented by AppView.
Sourcepub async fn get_feed_generators(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn get_feed_generators( &self, params: Parameters, ) -> Result<Output, Error>
Get information about a list of feed generators.
Sourcepub async fn get_feed_skeleton(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn get_feed_skeleton( &self, params: Parameters, ) -> Result<Output, Error>
Get a skeleton of a feed provided by a feed generator. Auth is optional, depending on provider requirements, and provides the DID of the requester. Implemented by Feed Generator Service.
Sourcepub async fn get_likes(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_likes(&self, params: Parameters) -> Result<Output, Error>
Get like records which reference a subject (by AT-URI and CID).
Sourcepub async fn get_list_feed(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_list_feed(&self, params: Parameters) -> Result<Output, Error>
Get a feed of recent posts from a list (posts and reposts from any actors on the list). Does not require auth.
Sourcepub async fn get_post_thread(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_post_thread(&self, params: Parameters) -> Result<Output, Error>
Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.
Sourcepub async fn get_posts(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_posts(&self, params: Parameters) -> Result<Output, Error>
Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as ‘hydrating’ a ‘feed skeleton’.
Sourcepub async fn get_quotes(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_quotes(&self, params: Parameters) -> Result<Output, Error>
Get a list of quotes for a given post.
Sourcepub async fn get_reposted_by(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_reposted_by(&self, params: Parameters) -> Result<Output, Error>
Get a list of reposts for a given post.
Sourcepub async fn get_suggested_feeds(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn get_suggested_feeds( &self, params: Parameters, ) -> Result<Output, Error>
Get a list of suggested feeds (feed generators) for the requesting account.
Sourcepub async fn get_timeline(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_timeline(&self, params: Parameters) -> Result<Output, Error>
Get a view of the requesting account’s home timeline. This is expected to be some form of reverse-chronological feed.
Sourcepub async fn search_posts(&self, params: Parameters) -> Result<Output, Error>
pub async fn search_posts(&self, params: Parameters) -> Result<Output, Error>
Find posts matching search criteria, returning views of those posts.