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