]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/capabilities/show.builder
Merge remote-tracking branch 'upstream/pull/5054'
[rails.git] / app / views / api / capabilities / show.builder
index b6a38723db2d37870c702d6d0119d5313df94c40..bd90b2a6a56ff1b137612ae58b9f072d5703496c 100644 (file)
@@ -7,7 +7,11 @@ 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.notes(:default_query_limit => Settings.default_note_query_limit,
+              :maximum_query_limit => Settings.max_note_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,