aboutsummaryrefslogtreecommitdiffstats
path: root/doc/html/post_8php.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/post_8php.html')
-rw-r--r--doc/html/post_8php.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/post_8php.html b/doc/html/post_8php.html
index ca5ac2fb3..0c0745a3a 100644
--- a/doc/html/post_8php.html
+++ b/doc/html/post_8php.html
@@ -162,8 +162,8 @@ Functions</h2></td></tr>
<p>post_post(&amp;$a) zot communications and messaging</p>
<p>Sender HTTP posts to this endpoint ($site/post typically) with 'data' parameter set to json zot message packet. This packet is optionally encrypted, which we will discover if the json has an 'iv' element. $contents =&gt; array( 'alg' =&gt; 'aes256cbc', 'iv' =&gt; initialisation vector, 'key' =&gt; decryption key, 'data' =&gt; encrypted data); $contents-&gt;iv and $contents-&gt;key are random strings encrypted with this site's RSA public key and then base64url encoded. Currently only 'aes256cbc' is used, but this is extensible should that algorithm prove inadequate.</p>
<p>Once decrypted, one will find the normal json_encoded zot message packet.</p>
-<p>Defined packet types are: notify, purge, refresh, auth_check, ping, and pickup</p>
-<p>Standard packet: (used by notify, purge, refresh, and auth_check)</p>
+<p>Defined packet types are: notify, purge, refresh, force_refresh, auth_check, ping, and pickup</p>
+<p>Standard packet: (used by notify, purge, refresh, force_refresh, and auth_check)</p>
<p>{ "type": "notify", "sender":{ "guid":"kgVFf_1...", "guid_sig":"PT9-TApzp...", "url":"http:\/\/podunk.edu", "url_sig":"T8Bp7j5...", }, "recipients": { optional recipient array }, "callback":"\/post", "version":1, "secret":"1eaa...", "secret_sig": "df89025470fac8..." }</p>
<p>Signature fields are all signed with the sender channel private key and base64url encoded. Recipients are arrays of guid and guid_sig, which were previously signed with the recipients private key and base64url encoded and later obtained via channel discovery. Absence of recipients indicates a public message or visible to all potential listeners on this site.</p>
<p>"pickup" packet: The pickup packet is sent in response to a notify packet from another site</p>