TT#83014 - Add call_id search param to /api/callrecordings

Change-Id: Ic7609aceea09d0c4940291280d55388491de6dbe
changes/35/40735/2
Flaviu Mates 5 years ago
parent 51f55ea114
commit b8f2af8e1e

@ -53,6 +53,16 @@ sub query_params {
apply_to => {'item' => {DELETE => 1}},
description => 'Force callrecording info deletion from database despite callrecording files deletion errors.',
},
{
param => 'call_id',
description => 'Filter for callrecordings belonging to a specific call',
query => {
first => sub {
my $q = shift;
{ 'me.call_id' => $q };
}
},
},
];
}

Loading…
Cancel
Save