aboutsummaryrefslogtreecommitdiffstats
path: root/doc/api
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-12 07:46:29 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2015-11-12 07:46:29 +0100
commit63063450b3da34bf4843fb8d3ffdafc5b32514bc (patch)
tree54c5b384f5077dbd7bc7c5a76c5a6d4c84108ca3 /doc/api
parent90463ee67de2937dddfd6a28cc0514feab47c27c (diff)
parent6e04dd96a1ff001f67db59e796b36cba30e4fdb4 (diff)
downloadvolse-hubzilla-63063450b3da34bf4843fb8d3ffdafc5b32514bc.tar.gz
volse-hubzilla-63063450b3da34bf4843fb8d3ffdafc5b32514bc.tar.bz2
volse-hubzilla-63063450b3da34bf4843fb8d3ffdafc5b32514bc.zip
Merge remote-tracking branch 'upstream/master'
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]
+