MT#21459 ncos "level" filter for api

Change-Id: I289c7c408ccfd4da46a70f42030d8dcb1804225c
changes/20/7120/1
Rene Krenn 9 years ago
parent 3c4672c967
commit 5c3f35f96e

@ -38,6 +38,17 @@ sub query_params {
second => sub {}, second => sub {},
}, },
}, },
{
param => 'level',
description => 'Filter for levels matching the given pattern',
query => {
first => sub {
my $q = shift;
{ level => { like => $q } };
},
second => sub { },
},
},
]; ];
} }

Loading…
Cancel
Save