ActivityPub.C2S (Bonfire v1.0.1-social-alpha.28)
View SourceHandles ActivityPub Client-to-Server (C2S) protocol.
Processes incoming C2S activities by validating the authenticated actor,
preparing the activity data, and routing through the standard ActivityPub
processing pipeline via Transformer.handle_incoming.
Summary
Functions
Handles POST requests to /actors/:username/outbox for C2S API.
Wraps a bare object (like a Note) in a Create activity if needed.
Functions
Handles POST requests to /actors/:username/outbox for C2S API.
Validates the authenticated user matches the actor, prepares the activity,
and routes through Transformer.handle_incoming with local: true.
Wraps a bare object (like a Note) in a Create activity if needed.