Merge remote-tracking branch 'upstream/pull/4359'
This commit is contained in:
commit
d90f353e5f
16 changed files with 273 additions and 137 deletions
|
@ -38,6 +38,8 @@ OpenStreetMap::Application.routes.draw do
|
|||
end
|
||||
|
||||
namespace :api, :path => "api/0.6" do
|
||||
resources :changeset_comments, :only => :index
|
||||
|
||||
resources :nodes, :only => [:index, :create]
|
||||
resources :nodes, :path => "node", :id => /\d+/, :only => [:show, :update, :destroy] do
|
||||
scope :module => :nodes do
|
||||
|
|
|
@ -35,6 +35,14 @@ tracepoints_per_page: 5000
|
|||
default_changeset_query_limit: 100
|
||||
# Maximum limit on the number of changesets returned by the changeset query api method
|
||||
max_changeset_query_limit: 100
|
||||
# Default limit on the number of changeset comments returned by the api
|
||||
default_changeset_comment_query_limit: 100
|
||||
# Maximum limit on the number of changesets comments returned by the api
|
||||
max_changeset_comment_query_limit: 10000
|
||||
# Default limit on the number of changeset comments in feeds
|
||||
default_changeset_comments_feed_query_limit: 100
|
||||
# Maximum limit on the number of changesets comments in feeds
|
||||
max_changeset_comments_feed_query_limit: 10000
|
||||
# Maximum number of nodes that will be returned by the api in a map request
|
||||
max_number_of_nodes: 50000
|
||||
# Maximum number of nodes that can be in a way (checked on save)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue