From b532ec33b7bbc3a19afa1344c080c43836d1a22f Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 29 Oct 2014 18:45:39 +0000 Subject: Bug 1088253: GET REST calls should allow arbitrary URL parameters to be passed in addition the values in the path r=glob,a=glob --- Bugzilla/WebService/Server/REST/Resources/Bug.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Bugzilla/WebService/Server/REST/Resources') diff --git a/Bugzilla/WebService/Server/REST/Resources/Bug.pm b/Bugzilla/WebService/Server/REST/Resources/Bug.pm index d0f470fcd..8c73e32e6 100644 --- a/Bugzilla/WebService/Server/REST/Resources/Bug.pm +++ b/Bugzilla/WebService/Server/REST/Resources/Bug.pm @@ -28,6 +28,11 @@ sub _rest_resources { status_code => STATUS_CREATED } }, + qr{^/bug/$}, { + GET => { + method => 'get' + } + }, qr{^/bug/([^/]+)$}, { GET => { method => 'get', -- cgit v1.2.3-24-g4f1b