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