pub fn service() -> Scope
Expand description

Creates a scope at “/u” containing all the actor endpoints - actors’ inboxes, outboxes, activities, notes.

POSTable endpoints:

GETable endpoints (ActivityPub object ids) are all routed to get_ap_object:

  • /u/<user>
  • /u/<user>/inbox.json
  • /u/<user>/outbox.json
  • /u/<user>/activities/<snowflake id>
  • /u/<user>/notes/<snowflake id>