summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Server/REST/Resources
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2014-10-29 19:45:39 +0100
committerDavid Lawrence <dkl@mozilla.com>2014-10-30 19:48:35 +0100
commitb532ec33b7bbc3a19afa1344c080c43836d1a22f (patch)
tree0fb31cf3bb2b142d85706795f8059035f61bbca5 /Bugzilla/WebService/Server/REST/Resources
parentae69ad5447de722c68c7a85bc0d35645b5f1cccd (diff)
downloadbugzilla-b532ec33b7bbc3a19afa1344c080c43836d1a22f.tar.gz
bugzilla-b532ec33b7bbc3a19afa1344c080c43836d1a22f.tar.xz
Bug 1088253: GET REST calls should allow arbitrary URL parameters to be passed in addition the values in the path
r=glob,a=glob
Diffstat (limited to 'Bugzilla/WebService/Server/REST/Resources')
-rw-r--r--Bugzilla/WebService/Server/REST/Resources/Bug.pm5
1 files changed, 5 insertions, 0 deletions
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',