]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/capabilities/show.builder
Add home location condition to user model
[rails.git] / app / views / api / capabilities / show.builder
index b6a38723db2d37870c702d6d0119d5313df94c40..1258601bb9abb14e8dded8ca844e037b9fb7d0a1 100644 (file)
@@ -7,7 +7,9 @@ xml.osm(OSM::API.new.xml_root_attributes) do |osm|
     api.tracepoints(:per_page => Settings.tracepoints_per_page)
     api.waynodes(:maximum => Settings.max_number_of_way_nodes)
     api.relationmembers(:maximum => Settings.max_number_of_relation_members)
     api.tracepoints(:per_page => Settings.tracepoints_per_page)
     api.waynodes(:maximum => Settings.max_number_of_way_nodes)
     api.relationmembers(:maximum => Settings.max_number_of_relation_members)
-    api.changesets(:maximum_elements => Changeset::MAX_ELEMENTS)
+    api.changesets(:maximum_elements => Changeset::MAX_ELEMENTS,
+                   :default_query_limit => Settings.default_changeset_query_limit,
+                   :maximum_query_limit => Settings.max_changeset_query_limit)
     api.timeout(:seconds => Settings.api_timeout)
     api.status(:database => @database_status,
                :api => @api_status,
     api.timeout(:seconds => Settings.api_timeout)
     api.status(:database => @database_status,
                :api => @api_status,