summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2013-10-18 18:32:07 +0200
committerDave Lawrence <dlawrence@mozilla.com>2013-10-18 18:32:07 +0200
commit5f0666846bc13293ec246f3bcd7de3d80503beef (patch)
tree1431d9cfc185e16259d3ae1d04c844dbb05fc7d3 /Bugzilla/WebService.pm
parent8918816c5be0d178d04e181e58a6a1f5f12996b5 (diff)
downloadbugzilla-5f0666846bc13293ec246f3bcd7de3d80503beef.tar.gz
bugzilla-5f0666846bc13293ec246f3bcd7de3d80503beef.tar.xz
Bug 924572 - Backport upstream bugs 741722, 838846 to bmo/4.2 for flag_type REST API support
Diffstat (limited to 'Bugzilla/WebService.pm')
-rw-r--r--Bugzilla/WebService.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/Bugzilla/WebService.pm b/Bugzilla/WebService.pm
index 8f97a3a2f..c930b02dc 100644
--- a/Bugzilla/WebService.pm
+++ b/Bugzilla/WebService.pm
@@ -272,6 +272,14 @@ be returned, the rest will not be included.
If you specify an empty array, then this function will return empty
hashes.
+Some RPC calls support specifying sub fields.
+
+If an RPC call states that it support sub field restrictions, you can
+restrict what information is returned within the first field. For example,
+if you call Products.get with an include_fields of components.name, then
+only the component name would be returned (and nothing else). You can
+include the main field, and exclude a sub field.
+
Invalid field names are ignored.
Example: