Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ckan_pycsw.py does not support CKAN 2.8 or greater #298

Open
frafra opened this issue Nov 5, 2022 · 1 comment
Open

ckan_pycsw.py does not support CKAN 2.8 or greater #298

frafra opened this issue Nov 5, 2022 · 1 comment

Comments

@frafra
Copy link
Contributor

frafra commented Nov 5, 2022

ckan_pycsw.py uses an API endpoint that has been deprecated in CKAN 2.0 and removed in CKAN 2.8: https://docs.ckan.org/en/2.9/api/legacy-api.html

query = 'api/search/dataset?qjson={"fl":"id,metadata_modified,extras_harvest_object_id,extras_metadata_source", "q":"harvest_object_id:[\\"\\" TO *]", "limit":1000, "start":%s}'

@etj
Copy link
Contributor

etj commented Dec 7, 2022

Also, when using the v3 action api/3/action/package_search, the fields extras_harvest_object_id and extras_metadata_source are no longer available directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants