module
Cryap::ActivityPub
Overview
ServiceActor needed to fetch activities.
Defined in:
services/activitypub/pipelines.crservices/activitypub/service_actor.cr
services/activitypub/types.cr
Constant Summary
-
CONTEXT =
JSON::Any.new([JSON::Any.new("https://www.w3.org/ns/activitystreams")]) -
ITEMS_PER_PAGE =
20 -
Log =
::Log.for("Cryap::ActivityPub") -
PUBLIC =
"https://www.w3.org/ns/activitystreams#Public"
Class Method Summary
- .construct_to_cc(post : Post)
- .from_boost(json : JSON::Builder, boost : Boost)
- .from_post(json : JSON::Builder, post : Post, to_cc = construct_to_cc(post))
- .from_post_create(json : JSON::Builder, post : Post)
- .from_user(json : JSON::Builder, user : LocalAccount)
- .save_note(note : JSON::Any, limit = MAX_NESTED_POSTS)