Skip to content

Commit

Permalink
fix: Update Toronto example
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed May 15, 2024
1 parent 36a35b1 commit cdbed46
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions finder/templates/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ <h2>Boundaries</h2>
</dd>
<dt>Get one page of boundaries from a boundary set</dt>
<dd>
<a class="example" href="/boundaries/toronto-wards/?format=apibrowser">/boundaries/toronto-wards/</a>
<a class="example" href="/boundaries/toronto-wards-2018/?format=apibrowser">/boundaries/toronto-wards-2018/</a>
<p>To see what boundary sets are available, consult the <a href="#boundaryset">boundary sets</a> endpoint.</p>
</dd>
<dt>Get one page of boundaries from multiple boundary sets (comma-separated)</dt>
Expand Down Expand Up @@ -205,15 +205,15 @@ <h3 id="boundary-drawing">Drawing boundaries</h3>
<dl>
<dt>Get all simple shapes from a boundary set</dt>
<dd>
<a class="example" href="/boundaries/toronto-wards/simple_shape?format=apibrowser">/boundaries/toronto-wards/simple_shape</a>
<a class="example" href="/boundaries/toronto-wards-2018/simple_shape?format=apibrowser">/boundaries/toronto-wards-2018/simple_shape</a>
</dd>
<dt>Get all original shapes from a boundary set</dt>
<dd>
<a class="example" href="/boundaries/toronto-wards/shape?format=apibrowser">/boundaries/toronto-wards/shape</a>
<a class="example" href="/boundaries/toronto-wards-2018/shape?format=apibrowser">/boundaries/toronto-wards-2018/shape</a>
</dd>
<dt>Get all centroids from a boundary set</dt>
<dd>
<a class="example" href="/boundaries/toronto-wards/centroid?format=apibrowser">/boundaries/toronto-wards/centroid</a>
<a class="example" href="/boundaries/toronto-wards-2018/centroid?format=apibrowser">/boundaries/toronto-wards-2018/centroid</a>
</dd>
<dt>Get one boundary's simple shape</dt>
<dd>
Expand Down Expand Up @@ -281,7 +281,7 @@ <h2>Representatives</h2>
</dd>
<dt>Get the representatives for one boundary</dt>
<dd>
<a class="example" href="/boundaries/toronto-wards/etobicoke-north-1/representatives/?format=apibrowser">/boundaries/toronto-wards/etobicoke-north-1/representatives/</a>
<a class="example" href="/boundaries/toronto-wards-2018/etobicoke-north-1/representatives/?format=apibrowser">/boundaries/toronto-wards-2018/etobicoke-north-1/representatives/</a>
</dd>
<dt>Get the representatives for multiple boundaries (comma-separated)</dt>
<dd>
Expand Down

0 comments on commit cdbed46

Please sign in to comment.