diff options
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 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', |