View Source ActivityPub.Federator.APPublisher (Bonfire v0.9.10-classic-beta.169)
Summary
Functions
Determine a user inbox to use based on heuristics. These heuristics
are based on an approximation of the sharedInbox
rules in the
ActivityPub specification.
Callback implementation for ActivityPub.Federator.Publisher.gather_webfinger_links/1
.
Callback implementation for ActivityPub.Federator.Publisher.is_representable?/1
.
If you put the URL of the shared inbox of an ActivityPub instance in the following env variable, all public content will be pushed there via AP federation for search indexing purposes: PUSH_ALL_PUBLIC_CONTENT_TO_INSTANCE #TODO: move to adapter
Publish a single message to a peer. Takes a struct with the following parameters set
Functions
Determine a user inbox to use based on heuristics. These heuristics
are based on an approximation of the sharedInbox
rules in the
ActivityPub specification.
Callback implementation for ActivityPub.Federator.Publisher.gather_webfinger_links/1
.
Callback implementation for ActivityPub.Federator.Publisher.is_representable?/1
.
If you put the URL of the shared inbox of an ActivityPub instance in the following env variable, all public content will be pushed there via AP federation for search indexing purposes: PUSH_ALL_PUBLIC_CONTENT_TO_INSTANCE #TODO: move to adapter
Publish a single message to a peer. Takes a struct with the following parameters set:
inbox
: the inbox to publish tojson
: the JSON message body representing the ActivityPub messageactor
: the actor which is signing the messageid
: the ActivityStreams URI of the message