2 class CapabilitiesController < ApiController
3 skip_before_action :check_api_readable
5 authorize_resource :class => false
7 before_action :set_request_formats
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