X = '_id';
my $content_types = {
json => 'application/json',
yml => 'text/x-yaml',
xml => 'application/xml',
dump => 'text/x-perl',
jsonp => 'text/javascript',
};
my %trigg
ub () {
my $conf = plugin_setting;
my $serializers = {
'json' => 'JSON',
'jsonp' => 'JSONP',
'yml' => 'YAML',
'xml' => 'XML',
'dump' => 'Du
$routes{$action} } => $triggers_map{get}
->( qr{$route/\Q$action\E\.(?<format>json|jsonp|yml|xml|dump)}
=> $sub );
push @{ $routes{$action} } =>