API Documentation

See the OSM wiki for general information about the API.

Table of Contents

<% API.paths.keys.sort.each do |version| if version > 0 API.paths[version].keys.sort.each do |path| doc = API.paths[version][path] hashpath = doc.complete_path.tr('/', '_')[1,1000] %>

<%= doc.complete_path %><%= doc.deprecated? ? " Deprecated" : '' %>

<% if doc.notes %> <% end %>
Path: <%= doc.complete_path %>
Description: <%= doc.description %>
Parameters: <%= doc.show_parameters %>
Paging: <%= doc.show_paging %>
Filter: <%= doc.show_filter %>
Sort: <%= doc.show_sort %>
Result: <%= doc.show_result %>
Example: <%= h(doc.show_example) %>
UI Example: <%= h(doc.show_ui) %>
Notes: <%= doc.notes %>
<% end end end %>