1 hunk ./actions/twitapilaconica.php 56
2 + * URL: http://identi.ca/api/laconica/version.(xml|json)
4 hunk ./actions/twitapilaconica.php 70
5 - common_server_error(_('API method under construction.'), 501);
6 + switch ($apidata['content-type']) {
8 + $this->init_document('xml');
9 + common_element('version', null, LACONICA_VERSION);
10 + $this->end_document('xml');
12 + $this->init_document('json');
13 + print '"'.LACONICA_VERSION.'"';
14 + $this->end_document('json');
16 + $this->client_error(_('API method not found!'), $code=404);