Commit bd3288e3207c12e90d7fed629b345cfe83018bbf
1 parent
478570dc
Exists in
master
and in
4 other branches
api check call
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
lib/api/internal.rb
@@ -32,6 +32,12 @@ module Gitlab | @@ -32,6 +32,12 @@ module Gitlab | ||
32 | key = Key.find(params[:key_id]) | 32 | key = Key.find(params[:key_id]) |
33 | present key.user, with: Entities::User | 33 | present key.user, with: Entities::User |
34 | end | 34 | end |
35 | + | ||
36 | + get "/check" do | ||
37 | + { | ||
38 | + api_version: '3' | ||
39 | + } | ||
40 | + end | ||
35 | end | 41 | end |
36 | end | 42 | end |
37 | end | 43 | end |