summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService/User.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/User.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/User.pm')
-rw-r--r--Bugzilla/WebService/User.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Bugzilla/WebService/User.pm b/Bugzilla/WebService/User.pm
index 09585ebfe..c440d135d 100644
--- a/Bugzilla/WebService/User.pm
+++ b/Bugzilla/WebService/User.pm
@@ -629,7 +629,7 @@ call this function.
=item B<REST>
-POST /user
+POST /rest/user
The params to include in the POST body as well as the returned data format,
are the same as below.
@@ -695,7 +695,7 @@ Updates user accounts in Bugzilla.
=item B<REST>
-PUT /user/<user_id_or_name>
+PUT /rest/user/<user_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 are overridden as they
@@ -813,11 +813,11 @@ Gets information about user accounts in Bugzilla.
To get information about a single user:
-GET /user/<user_id_or_name>
+GET /rest/user/<user_id_or_name>
To search for users by name, group using URL params same as below:
-GET /user
+GET /rest/user
The returned data format is the same as below.