X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=spec%2Fzot-2012.txt;h=2e1f3c3c49d1452278eb16e1d48aad7ef9a446c1;hb=4cae1fea81c4ccb81371660fffb4460223e79b49;hp=b223a27eaf7102332716dd8f7780015378dd3b66;hpb=633726e4a90c1bb931967206117e59ca6fe20bb2;p=friendica.git diff --git a/spec/zot-2012.txt b/spec/zot-2012.txt index b223a27eaf..2e1f3c3c49 100644 --- a/spec/zot-2012.txt +++ b/spec/zot-2012.txt @@ -66,7 +66,7 @@ POST https://example.com/post 'person' => $guuid 'address' => $new_gduid 'site' => 'https://newsite.com' -'info' => 'mike@macgirvin.com' +'info' => 'mike@newsite.com' 'pass' => me_encrypt($gduid . '.' . $pass) } @@ -135,6 +135,12 @@ Returns: Message ------- +Passing messages is done asynchronously. This may (potentially) relieve a lot of the burden of distribution from the posting site. If you're on site 'A' and make a post, site 'A' just contacts any downstream sites and informs them that there is new content (via a $post_id). The downstream site initiates the actual data transfer. + + + + + POST https://example.com/post { @@ -155,9 +161,10 @@ Returns: Callback -------- -POST https://macgirvin.com +POST https://macgirvin.com/post { +'type' => 'retrieve' 'retrieve' => $post_id 'challenge' => you_encrypt('abc123') 'verify' => me_encrypt('xyz456' . '.' . $gduid)