TT#34566 Fix /api/ call response code

Change-Id: I9df736e669cf71514d1c5f227ccd7ff4739d08d5
changes/11/20011/2
Irina Peshinskaya 8 years ago
parent 25c836533f
commit a4cbfa38ca

@ -24,7 +24,11 @@ sub allowed_methods{
sub api_description {
return 'Defines Phonebook number entries. You can POST numbers individually one-by-one using json. To bulk-upload numbers, specify the Content-Type as "text/csv" and POST the CSV in the request body to the collection with an optional parameter "purge_existing=true", like "/api/phonebookentries/?purge_existing=true"';
};
}
sub order_by_cols {
return {name => 'me.name', number => 'me.number', shared => 'me.shared'};
}
sub query_params {
return [

Loading…
Cancel
Save