1
0
Fork 0

API: Preparation for statuses/lookup support

This commit is contained in:
Michael Vogel 2016-01-04 01:00:19 +01:00
parent ba9054d8a3
commit d778e7bfb7

View file

@ -318,6 +318,7 @@
} }
} }
} }
logger('API call not implemented: '.$a->query_string);
throw new NotImplementedException(); throw new NotImplementedException();
} catch (HTTPException $e) { } catch (HTTPException $e) {
header("HTTP/1.1 {$e->httpcode} {$e->httpdesc}"); header("HTTP/1.1 {$e->httpcode} {$e->httpdesc}");
@ -2576,6 +2577,7 @@
killme(); killme();
} }
} }
api_register_func('api/gnusocial/version','api_statusnet_version',false);
api_register_func('api/statusnet/version','api_statusnet_version',false); api_register_func('api/statusnet/version','api_statusnet_version',false);
/** /**