Take some notes on inbox and outbox

This commit is contained in:
Jeremy Dormitzer 2018-08-22 08:33:21 -04:00
parent b07ffb9a7c
commit 2f699caf44
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,9 @@
<?php
/*
When an Activity is received (i.e. POSTed) to an Actor's inbox, the server must:
1. Forward the Activity as necessary
See (https://www.w3.org/TR/activitypub/#x7-1-2-forwarding-from-inbox).
2. Perform the side effects of receiving the Activity
*/
?>

View File

@ -1,3 +1,12 @@
<?php
/*
When an Activity is received (i.e. POSTed) to an Actor's outbox, the server must:
1. Add the Activity to the Actor's outbox collection in the DB
2. Deliver the Activity to the appropriate inboxes based on the received Activity
This involves discovering all the inboxes, including nested ones if the target
is a collection, deduplicating inboxes, and the POSTing the Activity to each
target inbox.
3. Perform side effects as necessary
*/
?>