diff options
author | Kohei Yoshino <kohei.yoshino@gmail.com> | 2018-07-17 15:09:22 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-07-17 15:09:22 +0200 |
commit | 731deac85cfeb37f870ee7c95669b13be7ad759a (patch) | |
tree | 634e5a1298e98a9c693958e711fc8e9650503d3a | |
parent | 03450656e24abb848f6ef8b4f599e876522120fb (diff) | |
download | bugzilla-731deac85cfeb37f870ee7c95669b13be7ad759a.tar.gz bugzilla-731deac85cfeb37f870ee7c95669b13be7ad759a.tar.xz |
Bug 1260096 - BugUserLastVisit api not working and throwing error code : 32614
-rw-r--r-- | Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm | 9 | ||||
-rw-r--r-- | docs/en/rst/api/core/v1/bug-user-last-visit.rst | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm b/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm index a434d4bef..12290e84e 100644 --- a/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm +++ b/Bugzilla/WebService/Server/REST/Resources/BugUserLastVisit.pm @@ -32,6 +32,15 @@ sub _rest_resources { }, }, }, + # no bug-id + qr{^/bug_user_last_visit$}, { + GET => { + method => 'get', + }, + POST => { + method => 'update', + }, + }, ]; } diff --git a/docs/en/rst/api/core/v1/bug-user-last-visit.rst b/docs/en/rst/api/core/v1/bug-user-last-visit.rst index 2c3782662..f98122097 100644 --- a/docs/en/rst/api/core/v1/bug-user-last-visit.rst +++ b/docs/en/rst/api/core/v1/bug-user-last-visit.rst @@ -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 |