summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/Product.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2014-02-18 05:15:19 +0100
committerDave Lawrence <dlawrence@mozilla.com>2014-02-18 05:15:19 +0100
commita6a0f4e17ba20c304417c26a842c01feb5ff51d3 (patch)
tree3b8f4313e865e5d5b15e8b0ef325254b91fd1f1c /Bugzilla/WebService/Product.pm
parenta62b8171da025e6fa5a8a5dd8a9c872f9f82d84a (diff)
downloadbugzilla-a6a0f4e17ba20c304417c26a842c01feb5ff51d3.tar.gz
bugzilla-a6a0f4e17ba20c304417c26a842c01feb5ff51d3.tar.xz
Bug 972465 - Update all REST documentation to prepend /rest/ to the examples to match mod_rewrite example
r/a=glob
Diffstat (limited to 'Bugzilla/WebService/Product.pm')
-rw-r--r--Bugzilla/WebService/Product.pm16
1 files changed, 8 insertions, 8 deletions
diff --git a/Bugzilla/WebService/Product.pm b/Bugzilla/WebService/Product.pm
index f5a7f953f..97f84f413 100644
--- a/Bugzilla/WebService/Product.pm
+++ b/Bugzilla/WebService/Product.pm
@@ -382,7 +382,7 @@ Returns a list of the ids of the products the user can search on.
=item B<REST>
-GET /product_selectable
+GET /rest/product_selectable
the returned data format is same as below.
@@ -418,7 +418,7 @@ against.
=item B<REST>
-GET /product_enterable
+GET /rest/product_enterable
the returned data format is same as below.
@@ -454,7 +454,7 @@ bugs against.
=item B<REST>
-GET /product_accessible
+GET /rest/product_accessible
the returned data format is same as below.
@@ -496,16 +496,16 @@ B<Note>: Can also be called as "get_products" for compatibilty with Bugzilla 3.0
To return information about a specific groups of products such as
C<accessible>, C<selectable>, or C<enterable>:
-GET /product?type=accessible
+GET /rest/product?type=accessible
To return information about a specific product by C<id> or C<name>:
-GET /product/<product_id_or_name>
+GET /rest/product/<product_id_or_name>
You can also return information about more than one specific product
by using the following in your query string:
-GET /product?ids=1&ids=2&ids=3 or GET /product?names=ProductOne&names=Product2
+GET /rest/product?ids=1&ids=2&ids=3 or GET /product?names=ProductOne&names=Product2
the returned data format is same as below.
@@ -730,7 +730,7 @@ This allows you to create a new product in Bugzilla.
=item B<REST>
-POST /product
+POST /rest/product
The params to include in the POST body as well as the returned data format,
are the same as below.
@@ -838,7 +838,7 @@ This allows you to update a product in Bugzilla.
=item B<REST>
-PUT /product/<product_id_or_name>
+PUT /rest/product/<product_id_or_name>
The params to include in the PUT body as well as the returned data format,
are the same as below. The C<ids> and C<names> params will be overridden as