From cd2f1c38499004485e3a817e8835b2a0ed9266fd Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Mon, 15 Jul 2013 16:29:01 -0400 Subject: Bug 892601 - Port over upstream native REST patch (bug 866927) to bmo/4.2 r=glob --- Bugzilla/WebService/Group.pm | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to 'Bugzilla/WebService/Group.pm') diff --git a/Bugzilla/WebService/Group.pm b/Bugzilla/WebService/Group.pm index 65feb7a1a..b571a1062 100644 --- a/Bugzilla/WebService/Group.pm +++ b/Bugzilla/WebService/Group.pm @@ -61,6 +61,10 @@ get information about them. See L for a description of how parameters are passed, and what B, B, and B mean. +Although the data input and output is the same for JSONRPC, XMLRPC and REST, +the directions for how to access the data via REST is noted in each method +where applicable. + =head1 Group Creation =head2 create @@ -73,9 +77,16 @@ B This allows you to create a new group in Bugzilla. -=item B +=item B + +POST /group + +The params to include in the POST body as well as the returned data format, +are the same as below. -Some params must be set, or an error will be thrown. These params are +=item B + +Some params must be set, or an error will be thrown. These params are marked B. =over @@ -96,7 +107,7 @@ name of the group. C A regular expression. Any user whose Bugzilla username matches this regular expression will automatically be granted membership in this group. -=item C +=item C C C if new group can be used for bugs, C if this is a group that will only contain users and no bugs will be restricted @@ -110,7 +121,7 @@ if they are in this group. =back -=item B +=item B A hash with one element, C. This is the id of the newly-created group. @@ -136,6 +147,14 @@ You specified an invalid regular expression in the C field. =back -=back +=item B + +=over + +=item REST API call added in Bugzilla B<5.0>. + +=back + +=back =cut -- cgit v1.2.3-24-g4f1b