Verified Commit f800b240 authored by Johannes Visintini's avatar Johannes Visintini
Browse files

fixed docs examples

parent fc4cf17d
......@@ -4,10 +4,10 @@
"method": "GET",
"path": "/elements/area",
"parameters": {
"bboxes": "8.625%2C49.3711%2C8.7334%2C49.4397",
"bboxes": "8.625,49.3711,8.7334,49.4397",
"format": "json",
"time": "2014-01-01",
"filter": "landuse%3Dfarmland%20and%20type%3Away"
"filter": "landuse=farmland and type:way"
}
},
{
......@@ -24,9 +24,9 @@
"method": "GET",
"path": "/elements/count/density",
"parameters": {
"bboxes": "8.625%2C49.3711%2C8.7334%2C49.4397",
"bboxes": "8.625,49.3711,8.7334,49.4397",
"format": "json",
"filter": "amenity%3Drestaurant%20and%20wheelchair%3Dyes%20and%20type%3Anode",
"filter": "amenity=restaurant and wheelchair=yes and type:node",
"time": "2019-05-07"
}
},
......@@ -44,11 +44,11 @@
"method": "GET",
"path": "/elements/length/ratio",
"parameters": {
"bboxes": "8.625%2C49.3711%2C8.7334%2C49.4397",
"bboxes": "8.625,49.3711,8.7334,49.4397",
"format": "json",
"filter": "highway%3Dliving_street%20and%20type%3Away",
"filter2": "highway%3Dliving_street%20and%20oneway%3Dyes%20and%20type%3Away",
"time": "2016-01-01%2F2018-01-01%2FP1Y"
"filter": "highway=living_street and type:way",
"filter2": "highway=living_street and oneway=yes and type:way",
"time": "2016-01-01/2018-01-01/P1Y"
}
},
{
......@@ -66,11 +66,11 @@
"method": "GET",
"path": "/elements/count/groupBy/key",
"parameters": {
"bboxes": "Heidelberg:8.625%2C49.3711%2C8.7334%2C49.4397",
"bboxes": "Heidelberg:8.625,49.3711,8.7334,49.4397",
"format": "json",
"time": "2018-01-01",
"filter": "building%3D*%20and%20type%3Away",
"groupByKeys": "building%3Aroof%2Cbuilding%3Aroof%3Acolour"
"filter": "building=* and type:way",
"groupByKeys": "building:roof,building:roof:colour"
}
},
{
......@@ -88,12 +88,12 @@
"method": "GET",
"path": "/elements/length/groupBy/boundary/groupBy/tag",
"parameters": {
"bboxes": "Heidelberg%3A8.625%2C49.3711%2C8.7334%2C49.4397%7CPlankstadt%3A8.5799%2C49.3872%2C8.6015%2C49.4011",
"bboxes": "Heidelberg:8.625,49.3711,8.7334,49.4397|Plankstadt:8.5799,49.3872,8.6015,49.4011",
"format": "json",
"groupByKey": "highway",
"time": "2018-01-01",
"groupByValues": "primary%2Csecondary%2Ctertiary",
"filter": "type%3Away"
"groupByValues": "primary,secondary,tertiary",
"filter": "type:way"
}
},
{
......@@ -112,10 +112,10 @@
"method": "GET",
"path": "/users/count",
"parameters": {
"bboxes": "82.3055%2C6.7576%2C87.4663%2C28.7025",
"bboxes": "82.3055,6.7576,87.4663,28.7025",
"format": "json",
"filter": "building%3D*%20and%20type%3Away",
"time": "2015-03-01%2F2015-08-01%2FP1M"
"filter": "building=* and type:way",
"time": "2015-03-01/2015-08-01/P1M"
}
},
{
......@@ -132,8 +132,8 @@
"method": "GET",
"path": "/elements/geometry",
"parameters": {
"bboxes": "8.625%2C49.3711%2C8.7334%2C49.4397",
"filter": "amenity%3Dbicycle_rental%20and%20type%3Anode",
"bboxes": "8.625,49.3711,8.7334,49.4397",
"filter": "amenity=bicycle_rental and type:node",
"time": "2019-09-01"
}
},
......@@ -150,9 +150,9 @@
"method": "GET",
"path": "/elementsFullHistory/geometry",
"parameters": {
"bboxes": "8.7137%2C49.4096%2C8.717%2C49.4119",
"filter": "name%3DKrautturm%20and%20type%3Away",
"time": "2008-01-01%2C2016-01-01"
"bboxes": "8.7137,49.4096,8.717,49.4119",
"filter": "name=Krautturm and type:way",
"time": "2008-01-01,2016-01-01"
}
},
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment