aboutsummaryrefslogtreecommitdiffstats
path: root/doc/developer/api_zot.bb
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-14 16:07:21 -0700
committerzotlabs <mike@macgirvin.com>2017-06-14 16:07:21 -0700
commit234c64574b4ee5ca22b85ae2fecc301286423068 (patch)
tree7786bed424457e327f30b067bf0ef39c7446ac99 /doc/developer/api_zot.bb
parentf28fa0ab5a46a231695a851f2345a3669419c842 (diff)
parent1f075d92bc4e47ae282f811d10c31cd6f09191a6 (diff)
downloadvolse-hubzilla-234c64574b4ee5ca22b85ae2fecc301286423068.tar.gz
volse-hubzilla-234c64574b4ee5ca22b85ae2fecc301286423068.tar.bz2
volse-hubzilla-234c64574b4ee5ca22b85ae2fecc301286423068.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'doc/developer/api_zot.bb')
-rw-r--r--doc/developer/api_zot.bb17
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/developer/api_zot.bb b/doc/developer/api_zot.bb
index ddca65b4d..b2c19d7a1 100644
--- a/doc/developer/api_zot.bb
+++ b/doc/developer/api_zot.bb
@@ -4,7 +4,20 @@ The API endpoints detailed below are relative to [code]api/z/1.0[/code], meaning
[h3]channel/export/basic[/h3]
-Export channel data
+Export basic channel data
+
+Options:
+ - sections
+ comma-separated list of data types to export
+
+ - posts
+ if true, return default sections plus 3 months of posts
+
+ If no sections are requested, the following sections are returned:
+ channel, connections, config, apps, chatrooms, events, webpages, mail, wikis
+
+ Files and large collections of posts may run into memory limits; these must generally be
+ requested separately.
[h3]channel/stream[/h3]
@@ -608,7 +621,7 @@ Optional:
application or network name to display with item
-- categories
+- category
comma separated categories for this item