You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more a bug on the geoplatform rather than on the catalog. geoplatform should not provide a link if the source is not from our catalog. So the geoplatform should improve their API endpoint and allow an additional parameter for dataset source, something like this:
Good find @FuhuXia ! @chris-macdermaid and the geoplatform team have been made aware and are looking into this; they've created a bug ticket on their end.
For dataset https://catalog.data.gov/dataset/test, geoplatform provide a metadata link to https://www.geoplatform.gov/metadata/6e23ae6d-314a-4fae-bdf4-f7b881c31b69, irrelevant to the dataset on the catalog.
This is more a bug on the geoplatform rather than on the catalog. geoplatform should not provide a link if the source is not from our catalog. So the geoplatform should improve their API endpoint and allow an additional parameter for dataset source, something like this:
https://api.geoplatform.gov/v3/public/lookups/data-gov/dataset?name=test&source=catalog.data.gov
with
&source=catalog.data.gov
at the end, we ensure we got result only relevant to catalog.How to reproduce
Expected behavior
No Geoplatform Metadata link found.
Actual behavior
Wrong Geoplatform Metadata link.
Sketch
[Notes or a checklist reflecting our understanding of the selected approach]
The text was updated successfully, but these errors were encountered: