2 class CapabilitiesController < ApiController
3 before_action :api_deny_access_handler
5 authorize_resource :class => false
7 around_action :api_call_handle_error, :api_call_timeout
9 # External apps that use the api are able to query the api to find out some
10 # parameters of the API. It currently returns:
11 # * minimum and maximum API versions that can be used.
12 # * maximum area that can be requested in a bbox request in square degrees
13 # * number of tracepoints that are returned in each tracepoints page
15 @database_status = database_status
16 @api_status = api_status
17 @gpx_status = gpx_status