From 949c4f65436f1d6bf25f4c0c1815354bb937ccc7 Mon Sep 17 00:00:00 2001 From: Maaike Date: Fri, 6 Dec 2024 13:34:49 +0100 Subject: [PATCH] oafeat-link should show items --- wis2box-management/wis2box/metadata/discovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wis2box-management/wis2box/metadata/discovery.py b/wis2box-management/wis2box/metadata/discovery.py index 589bbf0f..57e00c54 100644 --- a/wis2box-management/wis2box/metadata/discovery.py +++ b/wis2box-management/wis2box/metadata/discovery.py @@ -133,7 +133,7 @@ def get_distribution_links(self, has_2geojson = any('2geojson' in plugin for plugin in plugins) if has_2geojson: oafeat_link = { - 'href': f"{API_URL}/collections/{identifier}?f=json", + 'href': f"{API_URL}/collections/{identifier}/items", 'type': 'application/json', 'name': identifier, 'description': f'Observations in json format for {identifier}',