@@ -189,6 +190,7 @@ __END__
<%= docs_for endpoint %>
<% end %>
<% endpoint['routes'].each do |route| %>
+ <% next if route['scope'] == 'hidden' %>
<%= route['verb'] %> <%= route['uri'] %>
<% if route['scope'] %>
diff --git a/lib/travis/api/app/endpoint/uptime.rb b/lib/travis/api/app/endpoint/uptime.rb
index dc342df5..fdf3617c 100644
--- a/lib/travis/api/app/endpoint/uptime.rb
+++ b/lib/travis/api/app/endpoint/uptime.rb
@@ -3,7 +3,7 @@ require 'travis/api/app'
class Travis::Api::App
class Endpoint
class Uptime < Endpoint
- get '/' do
+ get '/', scope: :hidden do
begin
ActiveRecord::Base.connection.execute('select 1')
[200, "OK"]