pub struct Service<T>{ /* private fields */ }
Implementations§
source§impl<T> Service<T>
impl<T> Service<T>
sourcepub async fn describe_feed_generator(&self) -> Result<Output, Error<Error>>
pub async fn describe_feed_generator(&self) -> Result<Output, Error<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<Error>>
pub async fn get_actor_feeds( &self, params: Parameters ) -> Result<Output, Error<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<Error>>
pub async fn get_actor_likes( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get a list of posts liked by an actor. Does not require auth.
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<Error>>
pub async fn get_feed(&self, params: Parameters) -> Result<Output, Error<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<Error>>
pub async fn get_feed_generator( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get information about a feed generator. Implemented by AppView.
sourcepub async fn get_feed_generators(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_feed_generators( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get information about a list of feed generators.
sourcepub async fn get_feed_skeleton(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_feed_skeleton( &self, params: Parameters ) -> Result<Output, Error<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<Error>>
pub async fn get_likes( &self, params: Parameters ) -> Result<Output, Error<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<Error>>
pub async fn get_list_feed( &self, params: Parameters ) -> Result<Output, Error<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<Error>>
pub async fn get_post_thread( &self, params: Parameters ) -> Result<Output, Error<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<Error>>
pub async fn get_posts( &self, params: Parameters ) -> Result<Output, Error<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_reposted_by(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_reposted_by( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get a list of reposts for a given post.
sourcepub async fn get_suggested_feeds(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_suggested_feeds( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get a list of suggested feeds (feed generators) for the requesting account.
sourcepub async fn get_timeline(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_timeline( &self, params: Parameters ) -> Result<Output, Error<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<Error>>
pub async fn search_posts( &self, params: Parameters ) -> Result<Output, Error<Error>>
Find posts matching search criteria, returning views of those posts.