will also need api doco
This commit is contained in:
parent
f7c837aad0
commit
6e04dd96a1
23
doc/api/statuses_update.bb
Normal file
23
doc/api/statuses_update.bb
Normal file
@ -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]
|
||||
|
@ -18,7 +18,7 @@ function find_upstream_directory($dirmode) {
|
||||
|
||||
// Thwart attempts to use a private directory
|
||||
|
||||
if(($preferred) && ($prefered != z_root())) {
|
||||
if(($preferred) && ($preferred != z_root())) {
|
||||
$r = q("select * from site where site_url = '%s' limit 1",
|
||||
dbesc($preferred)
|
||||
);
|
||||
|
Reference in New Issue
Block a user