]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/capabilities/show.builder
Merge remote-tracking branch 'upstream/pull/4529'
[rails.git] / app / views / api / capabilities / show.builder
index 682373898be4398a2402a7668b620e12a946aa0a..bd90b2a6a56ff1b137612ae58b9f072d5703496c 100644 (file)
@@ -6,7 +6,12 @@ xml.osm(OSM::API.new.xml_root_attributes) do |osm|
     api.note_area(:maximum => Settings.max_note_request_area)
     api.tracepoints(:per_page => Settings.tracepoints_per_page)
     api.waynodes(:maximum => Settings.max_number_of_way_nodes)
     api.note_area(:maximum => Settings.max_note_request_area)
     api.tracepoints(:per_page => Settings.tracepoints_per_page)
     api.waynodes(:maximum => Settings.max_number_of_way_nodes)
-    api.changesets(:maximum_elements => Changeset::MAX_ELEMENTS)
+    api.relationmembers(:maximum => Settings.max_number_of_relation_members)
+    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,