Skip to content

Commit

Permalink
Use new occurrence service. Remove legacy page
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbov committed Mar 5, 2024
1 parent 2d8cb21 commit 1745492
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 6,078 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ run:

# TODO: biocache is fetched from ALA
update-specs:
curl -sS --max-time 30 --retry 1 "https://biocache.ala.org.au/ws/v3/api-docs" --output src/specs/records
curl -sS --max-time 30 --retry 1 "https://records.biodiversitydata.se/ws/v3/api-docs" --output src/specs/records
curl -sS --max-time 30 --retry 1 "https://spatial.biodiversitydata.se/ws/openapi/openapi" --output src/specs/spatial
curl -sS --max-time 30 --retry 1 "https://species.biodiversitydata.se/ws/openapi/openapi" --output src/specs/species
curl -sS --max-time 30 --retry 1 "https://lists.biodiversitydata.se/openapi/openapi" --output src/specs/lists
Expand Down
2 changes: 1 addition & 1 deletion src/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

window.ui = SwaggerUIBundle({
urls: [
//{ name: 'Occurrences', url:'specs/records' },
{ name: 'Occurrences', url:'specs/records' },
{ name: 'Species', url:'specs/species' },
{ name: 'Collectory', url:'specs/collections' },
{ name: 'Images', url:'specs/images' },
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<div class="content-margin">
<h1>Web service API</h1>
<dl>
<dt><a href="occurrence.html">Occurrences</a></dt>
<dt><a href="api.html?urls.primaryName=Occurrences">Occurrences</a></dt>
<dd>Services for interacting with species occurrence records</dd>
<dt><a href="api.html?urls.primaryName=Species">Species</a></dt>
<dd>Services for species profile data</dd>
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 1745492

Please sign in to comment.