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