View Source Mobilizon.Federation.ActivityPub (Mobilizon v4.1.0-alpha.1)
The ActivityPub context.
Summary
Functions
Fetch an object from an URL, from our local database of events and comments, then eventually remote
Return all public activities (events & comments) for an actor
Functions
@spec fetch_object_from_url(String.t(), Keyword.t()) :: {:ok, struct()} | {:ok, atom(), struct()} | {:error, any()}
Fetch an object from an URL, from our local database of events and comments, then eventually remote
@spec fetch_public_activities_for_actor( Mobilizon.Actors.Actor.t(), pos_integer(), pos_integer() ) :: map()
Return all public activities (events & comments) for an actor