/api/statuses/update.:format
@par Formats (:format)
- xml, json
+ xml, json, atom
@par HTTP Method(s)
POST
$this->showSingleXmlStatus($this->notice);
} elseif ($this->format == 'json') {
$this->show_single_json_status($this->notice);
+ } elseif ($this->format == 'atom') {
+ $this->showSingleAtomStatus($this->notice);
}
}
}
$m->connect('api/statuses/update.:format',
array('action' => 'ApiStatusesUpdate',
- 'format' => '(xml|json)'));
+ 'format' => '(xml|json|atom)'));
$m->connect('api/statuses/destroy/:id.:format',
array('action' => 'ApiStatusesDestroy',