diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 15:55:49 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 15:55:49 +0200 |
commit | bd3288e3207c12e90d7fed629b345cfe83018bbf (patch) | |
tree | 607b409531c97ef486138437d9481aba4b5b1628 /lib/api/internal.rb | |
parent | 478570dc323e2a92204e1598e0f9232c54661429 (diff) | |
download | gitlab-ce-bd3288e3207c12e90d7fed629b345cfe83018bbf.tar.gz |
api check call
Diffstat (limited to 'lib/api/internal.rb')
-rw-r--r-- | lib/api/internal.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/internal.rb b/lib/api/internal.rb index 576b64d04c3..0a0f55bc512 100644 --- a/lib/api/internal.rb +++ b/lib/api/internal.rb @@ -32,6 +32,12 @@ module Gitlab key = Key.find(params[:key_id]) present key.user, with: Entities::User end + + get "/check" do + { + api_version: '3' + } + end end end end |