diff options
author | mkanat%bugzilla.org <> | 2009-01-07 22:22:08 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-01-07 22:22:08 +0100 |
commit | 559f89582199e4ca531398a5cadd03632526d525 (patch) | |
tree | 152c46e8fae572662b9004a9658f44dcc874f96b /Bugzilla/WebService/User.pm | |
parent | 1ef4ee777a69bc857fb1b4ee95e2521904d1a5cc (diff) | |
download | bugzilla-559f89582199e4ca531398a5cadd03632526d525.tar.gz bugzilla-559f89582199e4ca531398a5cadd03632526d525.tar.xz |
Bug 450403: Add ability to view comments via the web service (Bug.comments)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
Diffstat (limited to 'Bugzilla/WebService/User.pm')
-rwxr-xr-x | Bugzilla/WebService/User.pm | 32 |
1 files changed, 4 insertions, 28 deletions
diff --git a/Bugzilla/WebService/User.pm b/Bugzilla/WebService/User.pm index 24b9be709..6283f55a1 100755 --- a/Bugzilla/WebService/User.pm +++ b/Bugzilla/WebService/User.pm @@ -451,6 +451,10 @@ B<Note>: At least one of C<ids>, C<names>, or C<match> must be specified. B<Note>: Users will not be returned more than once, so even if a user is matched by more than one argument, only one user will be returned. +In addition to the parameters below, this method also accepts the +standard L<include_fields|Bugzilla::WebService/include_fields> and +L<exclude_fields|Bugzilla::WebService/exclude_fields> arguments. + =over =item C<ids> (array) @@ -482,34 +486,6 @@ if they try. (This is to make it harder for spammers to harvest email addresses from Bugzilla, and also to enforce the user visibility restrictions that are implemented on some Bugzillas.) -=item C<include_fields> (array) - -An array of strings, representing the names of keys in the hashes -this function returns. Only the fields specified in this hash will be -returned, the rest will not be included. - -Essentially, this is a way to make the return value smaller, for performance -or bandwidth reasons. - -If you specify an empty array, then this function will return empty hashes. - -Invalid field names are ignored. - -=item C<exclude_fields> (array) - -An array of strings, representing the names of keys in the hashes this -function returns. The fields specified will not be excluded from the -returned hashes. - -Essentially, this is a way to exclude certain fields from the returned -hashes, for performance or bandwidth reasons. - -If you specify all the fields, then this function will return empty hashes. - -Invalid field names are ignored. - -This overrides C<include_fields>. - =back =item B<Returns> |