]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1260096 - BugUserLastVisit api not working and throwing error code : 32614
authorKohei Yoshino <kohei.yoshino@gmail.com>
Tue, 17 Jul 2018 13:09:22 +0000 (09:09 -0400)
committerDylan William Hardison <dylan@hardison.net>
Tue, 17 Jul 2018 13:09:22 +0000 (09:09 -0400)
Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm
docs/en/rst/api/core/v1/bug-user-last-visit.rst

index a434d4befa26e81d5626e56ea648e865b1adc2ea..12290e84ebef0baa2a7ffafc20d7e292574db759 100644 (file)
@@ -32,6 +32,15 @@ sub _rest_resources {
                 },
             },
         },
+        # no bug-id
+        qr{^/bug_user_last_visit$}, {
+            GET => {
+                method => 'get',
+            },
+            POST => {
+                method => 'update',
+            },
+        },
     ];
 }
 
index 2c3782662809db7e00959c2957c58abd51175d7b..f981220976756c287c11249d77cbfd556d0fe027 100644 (file)
@@ -82,7 +82,7 @@ To return more than one specific bug timestamps:
 
    GET /rest/bug_user_last_visit/123?ids=234&ids=456
 
-To return just the most recent 20 timestamps:
+To return all the timestamps stored during the retention period:
 
 .. code-block:: text