Verified Commit 5a5f7640 authored by Martin Raifer's avatar Martin Raifer
Browse files

add contributions aggregation queries to examples

parent dce96d65
......@@ -128,6 +128,126 @@
"filter": "building=* and type:way"
}
},
{
"method": "GET",
"path": "/contributions/count",
"parameters": {
"bboxes": "8.699053,49.411842,8.701311,49.412893",
"format": "json",
"time": "2010-01-01,2020-01-01",
"filter": "id:way/140112810"
}
},
{
"method": "POST",
"path": "/contributions/count",
"parameters": {
"bboxes": "8.699053,49.411842,8.701311,49.412893",
"format": "json",
"time": "2010-01-01,2020-01-01",
"filter": "id:way/140112810"
}
},
{
"method": "GET",
"path": "/contributions/count/density",
"parameters": {
"bboxes": "8.69282,49.40766,8.71673,49.4133",
"format": "json",
"time": "2012-01-01,2016-01-01",
"filter": "shop=* and type:node"
}
},
{
"method": "POST",
"path": "/contributions/count/density",
"parameters": {
"bboxes": "8.69282,49.40766,8.71673,49.4133",
"format": "json",
"time": "2012-01-01,2016-01-01",
"filter": "shop=* and type:node"
}
},
{
"method": "GET",
"path": "/contributions/latest/count",
"parameters": {
"bboxes": "8.69282,49.40766,8.71673,49.4133",
"format": "json",
"time": "2014-01-01,2015-01-01",
"filter": "building=residential"
}
},
{
"method": "POST",
"path": "/contributions/latest/count",
"parameters": {
"bboxes": "8.69282,49.40766,8.71673,49.4133",
"format": "json",
"time": "2014-01-01,2015-01-01",
"filter": "building=residential"
}
},
{
"method": "GET",
"path": "/contributions/latest/count/density",
"parameters": {
"bboxes": "8.69282,49.40766,8.71673,49.4133",
"format": "json",
"time": "2012-01-01,2016-01-01",
"filter": "shop=* and type:node"
}
},
{
"method": "POST",
"path": "/contributions/latest/count/density",
"parameters": {
"bboxes": "8.69282,49.40766,8.71673,49.4133",
"format": "json",
"time": "2012-01-01,2016-01-01",
"filter": "shop=* and type:node"
}
},
{
"method": "GET",
"path": "/contributions/count/groupBy/boundary",
"parameters": {
"bboxes": "Heidelberg-Altstadt:8.6924,49.4066,8.7189,49.4154|Heidelberg-Bahnstadt:8.6566,49.3968,8.6776,49.4069",
"format": "json",
"time": "2010-01-01,2020-01-01",
"filter": "shop=*"
}
},
{
"method": "POST",
"path": "/contributions/count/groupBy/boundary",
"parameters": {
"bboxes": "Heidelberg-Altstadt:8.6924,49.4066,8.7189,49.4154|Heidelberg-Bahnstadt:8.6566,49.3968,8.6776,49.4069",
"format": "json",
"time": "2010-01-01,2020-01-01",
"filter": "shop=*"
}
},
{
"method": "GET",
"path": "/contributions/count/density/groupBy/boundary",
"parameters": {
"bboxes": "Heidelberg-Altstadt:8.6924,49.4066,8.7189,49.4154|Heidelberg-Bahnstadt:8.6566,49.3968,8.6776,49.4069",
"format": "json",
"time": "2010-01-01,2020-01-01",
"filter": "shop=* and type:node"
}
},
{
"method": "POST",
"path": "/contributions/count/density/groupBy/boundary",
"parameters": {
"bboxes": "Heidelberg-Altstadt:8.6924,49.4066,8.7189,49.4154|Heidelberg-Bahnstadt:8.6566,49.3968,8.6776,49.4069",
"format": "json",
"time": "2010-01-01,2020-01-01",
"filter": "shop=* and type:node"
}
},
{
"method": "GET",
"path": "/elements/geometry",
......
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