diff options
author | friendica <info@friendica.com> | 2014-09-19 02:22:12 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-09-19 02:22:12 -0700 |
commit | 083b5da967d52780d0ff2f9e3a01484c45eed38d (patch) | |
tree | 183d22c191155e9f250a74f2936953600fff9fca /doc/html/post_8php.html | |
parent | 45df73d4560dca675166cd7200c6be9dae41d3b0 (diff) | |
download | volse-hubzilla-083b5da967d52780d0ff2f9e3a01484c45eed38d.tar.gz volse-hubzilla-083b5da967d52780d0ff2f9e3a01484c45eed38d.tar.bz2 volse-hubzilla-083b5da967d52780d0ff2f9e3a01484c45eed38d.zip |
doc updates
Diffstat (limited to 'doc/html/post_8php.html')
-rw-r--r-- | doc/html/post_8php.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/html/post_8php.html b/doc/html/post_8php.html index 0c0745a3a..ece06c97c 100644 --- a/doc/html/post_8php.html +++ b/doc/html/post_8php.html @@ -172,7 +172,7 @@ Functions</h2></td></tr> <p>If verification is successful, a json structure is returned containing a success indicator and an array of type 'pickup'. Each pickup element contains the original notify request and a message field whose contents are dependent on the message type</p> <p>This JSON array is AES encapsulated using the site public key of the site that sent the initial zot pickup packet. Using the above example, this would be example.com.</p> <p>{ "success":1, "pickup":{ "notify":{ "type":"notify", "sender":{ "guid":"kgVFf_...", "guid_sig":"PT9-TApz...", "url":"http:\/\/z.podunk.edu", "url_sig":"T8Bp7j5D..." }, "callback":"\/post", "version":1, "secret":"1eaa661..." }, "message":{ "type":"activity", "message_id":"10b049ce384cbb2da9467319bc98169ab36290b8bbb403aa0c0accd9cb072e76@podunk.edu", "message_top":"10b049ce384cbb2da9467319bc98169ab36290b8bbb403aa0c0accd9cb072e76@podunk.edu", "message_parent":"10b049ce384cbb2da9467319bc98169ab36290b8bbb403aa0c0accd9cb072e76@podunk.edu", "created":"2012-11-20 04:04:16", "edited":"2012-11-20 04:04:16", "title":"", "body":"Hi Nickordo", "app":"", "verb":"post", "object_type":"", "target_type":"", "permalink":"", "location":"", "longlat":"", "owner":{ "name":"Indigo", "address":"indigo@podunk.edu", "url":"http:\/\/podunk.edu", "photo":{ "mimetype":"image\/jpeg", "src":"http:\/\/podunk.edu\/photo\/profile\/m\/5" }, "guid":"kgVFf_...", "guid_sig":"PT9-TAp...", }, "author":{ "name":"Indigo", "address":"indigo@podunk.edu", "url":"http:\/\/podunk.edu", "photo":{ "mimetype":"image\/jpeg", "src":"http:\/\/podunk.edu\/photo\/profile\/m\/5" }, "guid":"kgVFf_...", "guid_sig":"PT9-TAp..." } } } }</p> -<p>Currently defined message types are 'activity', 'mail', 'profile' and 'channel_sync', which each have different content schemas.</p> +<p>Currently defined message types are 'activity', 'mail', 'profile', 'location' and 'channel_sync', which each have different content schemas.</p> <p>Ping packet: A ping packet does not require any parameters except the type. It may or may not be encrypted.</p> <p>{ "type": "ping" }</p> <p>On receipt of a ping packet a ping response will be returned:</p> |