bcgov / DBC-APIM

DataBC OPEN API Services
Apache License 2.0
1 stars 0 forks source link

OpenAPI spec - Geocoder (combined) - Add examples #80

Open BK01 opened 6 years ago

BK01 commented 6 years ago

Add examples to the Geomark API spec (OAS 3).

sites /addresses outputFormat = json addressString = 525 Superior Street, Victoria, BC

/sites/nearest outputFormat = json point = -122.377,50.121

/sites/near outputFormat = json point = -122.377,50.121

/sites/within outputFormat = json bbox = -119.51,49.48,-119.53,49.50

/sites/siteID/subsites

/sites/siteID

intersections /addresses outputFormat = json addressString = 525 Superior Street, Victoria, BC

/intersections/nearest outputFormat = json point = -122.377,50.121

/intersections/near outputFormat = json point = -122.377,50.121

/intersections/within outputFormat = json bbox = -119.51,49.48,-119.53,49.50

/intersections/intersectionID

occupants /occupants/addresses outputFormat = json addressString = Redfish Elementary --

/occupants/nearest outputFormat = json point = -122.377,50.121

/occupants/near outputFormat = json point = -122.377,50.121

/occupants/within outputFormat = json bbox = -119.51,49.48,-119.53,49.50

/occupants/occupantID

banders commented 6 years ago

@BK01 Examples added:

https://github.com/banders/api-specs/blob/upgrade-to-openapi3/geocoder/geocoder-combined.json

BK01 commented 6 years ago

UAT complete in cad.data