X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5449cf4adcc1fad4b9f43426e6d3e4a8f65e6fbb..9b4271ed8c0577d23c6d77c4be0ed8a8082dc86c:/app/controllers/api_controller.rb?ds=sidebyside diff --git a/app/controllers/api_controller.rb b/app/controllers/api_controller.rb index ebf729afc..ca4cbcbd7 100644 --- a/app/controllers/api_controller.rb +++ b/app/controllers/api_controller.rb @@ -284,6 +284,9 @@ class ApiController < ApplicationController waynodes = XML::Node.new 'waynodes' waynodes['maximum'] = APP_CONFIG['max_number_of_way_nodes'].to_s api << waynodes + changesets = XML::Node.new 'changesets' + changesets['maximum_elements'] = Changeset::MAX_ELEMENTS.to_s + api << changesets doc.root << api