aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-11-11 20:51:15 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-11-11 20:51:15 -0800
commit6e04dd96a1ff001f67db59e796b36cba30e4fdb4 (patch)
treee817cf9046f342c535f0842b5df445b04ec32727 /doc/api
parentf7c837aad0ac08bdc8cc4f8a770c973dda641a28 (diff)
downloadvolse-hubzilla-6e04dd96a1ff001f67db59e796b36cba30e4fdb4.tar.gz
volse-hubzilla-6e04dd96a1ff001f67db59e796b36cba30e4fdb4.tar.bz2
volse-hubzilla-6e04dd96a1ff001f67db59e796b36cba30e4fdb4.zip
will also need api doco
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/statuses_update.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/api/statuses_update.bb b/doc/api/statuses_update.bb
new file mode 100644
index 000000000..acad440de
--- /dev/null
+++ b/doc/api/statuses_update.bb
@@ -0,0 +1,23 @@
+[h2]statuses/update[/h2]
+Parameters
+
+ title: Title of the status
+ status: Status in text [or bbcode] format
+ htmlstatus: Status in HTML format
+ in_reply_to_status_id
+ lat: latitude
+ long: longitude
+ media: image data
+ source: Application name
+ group_allow
+ contact_allow
+ group_deny
+ contact_deny
+
+
+Example
+
+[code]
+curl -u theUsername:thePassword http://mywebsite/api/statuses/update.xml -d status='Hello world'
+[/code]
+