diff --git a/lib/NGCP/Panel/Controller/API/PbxDeviceFirmwares.pm b/lib/NGCP/Panel/Controller/API/PbxDeviceFirmwares.pm index 01ac197940..a7746d83cf 100644 --- a/lib/NGCP/Panel/Controller/API/PbxDeviceFirmwares.pm +++ b/lib/NGCP/Panel/Controller/API/PbxDeviceFirmwares.pm @@ -54,6 +54,11 @@ sub query_params { second => sub { }, }, }, + { + param => 'tag', + description => 'Filter for firmwares with a specific tag', + query_type => 'string_eq', + }, ]; } diff --git a/lib/NGCP/Panel/Controller/API/PbxDeviceModels.pm b/lib/NGCP/Panel/Controller/API/PbxDeviceModels.pm index 2b5ad3eb26..d986894bad 100644 --- a/lib/NGCP/Panel/Controller/API/PbxDeviceModels.pm +++ b/lib/NGCP/Panel/Controller/API/PbxDeviceModels.pm @@ -46,6 +46,11 @@ sub query_params { description => 'Filter for models by name', query_type => 'wildcard', }, + { + param => 'type', + description => 'Filter for model type', + query_type => 'string_eq', + }, ]; }