diff options
author | Byron Jones <bjones@mozilla.com> | 2013-11-25 16:21:03 +0800 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-11-25 16:21:03 +0800 |
commit | ba0765bf4dc468815e4fa45509010c0cd675e5b2 (patch) | |
tree | 32d979d1172495770a326f87f294c6f10a1eaa68 /Bugzilla/WebService/Server/REST/Resources/Bug.pm | |
parent | 0aade93cebf4192b240347e092a7e53a62436ea2 (diff) | |
download | bugs-ba0765bf4dc468815e4fa45509010c0cd675e5b2.tar bugs-ba0765bf4dc468815e4fa45509010c0cd675e5b2.tar.gz bugs-ba0765bf4dc468815e4fa45509010c0cd675e5b2.tar.bz2 bugs-ba0765bf4dc468815e4fa45509010c0cd675e5b2.tar.xz bugs-ba0765bf4dc468815e4fa45509010c0cd675e5b2.zip |
Bug 793963: add the ability to tag comments with arbitrary tags
r=dkl, a=glob
Diffstat (limited to 'Bugzilla/WebService/Server/REST/Resources/Bug.pm')
-rw-r--r-- | Bugzilla/WebService/Server/REST/Resources/Bug.pm | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Server/REST/Resources/Bug.pm b/Bugzilla/WebService/Server/REST/Resources/Bug.pm index 98ae6049c..ea420b4ed 100644 --- a/Bugzilla/WebService/Server/REST/Resources/Bug.pm +++ b/Bugzilla/WebService/Server/REST/Resources/Bug.pm @@ -65,6 +65,22 @@ sub _rest_resources { } } }, + qr{^/bug/comment/tags/([^/]+)$}, { + GET => { + method => 'search_comment_tags', + params => sub { + return { query => $_[0] }; + }, + }, + }, + qr{^/bug/comment/([^/]+)/tags$}, { + PUT => { + method => 'update_comment_tags', + params => sub { + return { comment_id => $_[0] }; + }, + }, + }, qr{^/bug/([^/]+)/history$}, { GET => { method => 'history', |