{ "opencollection": "1.0.0", "info": { "name": "Discovery bitstreams Places API", "version": "1.0.2" }, "request": { "auth": { "type": "apikey", "key": "apikey", "value": "{{apikey}}", "placement": "query" } }, "items": [ { "info": { "name": "Places", "type": "folder" }, "items": [ { "info": { "name": "GET /places", "type": "http" }, "http": { "method": "GET", "url": "https://api.library.ethz.ch/discovery/v1/places" }, "docs": "Returns all places defined in the ETHorama database." }, { "info": { "name": "GET /places/geojson", "type": "http" }, "http": { "method": "GET", "url": "https://api.library.ethz.ch/discovery/v1/places/geojson", "params": [ { "name": "nearto", "value": "", "type": "query", "description": "Places nearto a point, which is defined by the comma separated value: lat, lng, distance in meter (default: 1000). \n\n Example: nearto=47.383046,8.536655,2000" } ] }, "docs": "Returns all or filtered places defined in the ETHorama database as GeoJSON." }, { "info": { "name": "GET /places/geojson/{id}", "type": "http" }, "http": { "method": "GET", "url": "https://api.library.ethz.ch/discovery/v1/places/geojson/:id", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID from ETHorama (2o6hEWTkOGDL35HANR5c) or Wikidata QID (Q64093)" } ] }, "docs": "Returns place (by POI ID or Wikidata QID) as geoJSON" } ] } ], "bundled": true }