diff options
author | David Lawrence <dkl@mozilla.com> | 2014-10-29 19:45:39 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-10-29 19:45:39 +0100 |
commit | 38d2f3ab2c59f1ef9636990854fb9314dd8799d6 (patch) | |
tree | df20b02b90b5b47d157c42b9ad5aa52bf181a155 /Bugzilla/WebService/Server/REST | |
parent | 9e0278d6debefbeaff7a219695d49ca0c789f150 (diff) | |
download | bugzilla-38d2f3ab2c59f1ef9636990854fb9314dd8799d6.tar.gz bugzilla-38d2f3ab2c59f1ef9636990854fb9314dd8799d6.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')
-rw-r--r-- | Bugzilla/WebService/Server/REST/Resources/Bug.pm | 5 |
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 cf9f054c7..3fa8b65cf 100644 --- a/Bugzilla/WebService/Server/REST/Resources/Bug.pm +++ b/Bugzilla/WebService/Server/REST/Resources/Bug.pm @@ -29,6 +29,11 @@ sub _rest_resources { status_code => STATUS_CREATED } }, + qr{^/bug/$}, { + GET => { + method => 'get' + } + }, qr{^/bug/([^/]+)$}, { GET => { method => 'get', |