From 8c9411cd285582ab9447e628983adc46d94b19f8 Mon Sep 17 00:00:00 2001
From: James McKinney <26463+jpmckinney@users.noreply.github.com>
Date: Tue, 21 May 2024 22:56:36 -0400
Subject: [PATCH] fix: Update other broken examples
---
finder/templates/api.html | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/finder/templates/api.html b/finder/templates/api.html
index e9fe46e..2a541f2 100644
--- a/finder/templates/api.html
+++ b/finder/templates/api.html
@@ -158,12 +158,12 @@
Boundaries
Get one page of boundaries from multiple boundary sets (comma-separated)
- /boundaries/?sets=toronto-wards,ottawa-wards
+ /boundaries/?sets=toronto-wards-2018,ottawa-wards
To see what boundary sets are available, consult the boundary sets endpoint.
Get one boundary
- /boundaries/nova-scotia-electoral-districts/cape-breton-centre/
+ /boundaries/nova-scotia-electoral-districts-2019/cape-breton-centre/
Filter all boundaries by name
or external_id
@@ -190,11 +190,11 @@ Geospatial queries
Find boundaries that touch
- /boundaries/?touches=alberta-electoral-districts/highwood
+ /boundaries/?touches=alberta-electoral-districts-2017/highwood
Find boundaries that intersect (“covers or overlaps” in PostGIS lingo)
- /boundaries/?intersects=alberta-electoral-districts/highwood
+ /boundaries/?intersects=alberta-electoral-districts-2017/highwood
@@ -217,15 +217,15 @@ Drawing boundaries
Get one boundary's simple shape
- /boundaries/nova-scotia-electoral-districts/cape-breton-centre/simple_shape
+ /boundaries/nova-scotia-electoral-districts-2019/cape-breton-centre/simple_shape
Get one boundary's original shape
- /boundaries/nova-scotia-electoral-districts/cape-breton-centre/shape
+ /boundaries/nova-scotia-electoral-districts-2019/cape-breton-centre/shape
Get one boundary's centroid
- /boundaries/nova-scotia-electoral-districts/cape-breton-centre/centroid
+ /boundaries/nova-scotia-electoral-districts-2019/cape-breton-centre/centroid