diff options
author | David Lawrence <dkl@mozilla.com> | 2015-09-24 16:47:18 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-09-24 16:47:53 +0200 |
commit | 923afd71d4bf1c0854deae96d3af7fd6d268646e (patch) | |
tree | 883bb776040b0c8ae3b98b83efaeee0fba4561a4 /Bugzilla/WebService/Server/REST | |
parent | 89e65535c55fb20c916e2ed9492aaae265f5c5de (diff) | |
download | bugzilla-923afd71d4bf1c0854deae96d3af7fd6d268646e.tar.gz bugzilla-923afd71d4bf1c0854deae96d3af7fd6d268646e.tar.xz |
Bug 1204683: Add whoami endpoint
Diffstat (limited to 'Bugzilla/WebService/Server/REST')
-rw-r--r-- | Bugzilla/WebService/Server/REST/Resources/User.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Bugzilla/WebService/Server/REST/Resources/User.pm b/Bugzilla/WebService/Server/REST/Resources/User.pm index b9ecc21ba..7d494064d 100644 --- a/Bugzilla/WebService/Server/REST/Resources/User.pm +++ b/Bugzilla/WebService/Server/REST/Resources/User.pm @@ -67,6 +67,11 @@ sub _rest_resources { } }, }, + qr{^/whoami$}, { + GET => { + method => 'whoami' + } + } ]; return $rest_resources; } |