Zenodo recently release a new version that significantly changed their API and broke import and export for us.
Part of it is fixed in #3643
To export again, we'd need renkulab.io and other URLs to be whitelisted as referers.
for import, download links disappeared, none of the links that are there work for downloading and the api documentation at developers.zenodo.org is currently gone.
Some tests with alternative URLs/ways to download:
'files': [{'checksum': '8e8f70d94f02e635ca6a04f4ed0f8121',
'filename': 'mmverstraete/MISR_Tools-v2.0.2.zip',
'filesize': 87634,
'id': 'a6a2ada6-10a5-4e77-a519-906766bd1e36',
'links': {'self': '[https://zenodo.org/api/records/3240006/files/a6a2ada6-10a5-4e77-a519-906766bd1e36'}}](https://zenodo.org/api/records/3240006/files/a6a2ada6-10a5-4e77-a519-906766bd1e36'%7D%7D)],
there used to be a files.links.download property that we used to download a file, that is now gone
The self link doesn't work:
❯ curl "https://zenodo.org/api/records/3240006/files/a6a2ada6-10a5-4e77-a519-906766bd1e36"
{"status": 404, "message": "Record '3240006' has no file 'a6a2ada6-10a5-4e77-a519-906766bd1e36'."}
This returns files as well:
curl https://zenodo.org/api/records/3240006/files
{"enabled": true, "links": {"self": "https://zenodo.org/api/records/3240006/files", "archive": "https://zenodo.org/api/records/3240006/files-archive"}, "entries": [{"key": "mmverstraete/MISR_Tools-v2.0.2.zip", "storage_class": "L", "checksum": "md5:8e8f70d94f02e635ca6a04f4ed0f8121", "size": 87634, "created": "2019-06-06T07:13:10.090655+00:00", "updated": "2020-01-25T07:25:29.372991+00:00", "status": "completed", "metadata": null, "mimetype": "application/zip", "version_id": "5f93c1cc-b963-4f25-bf40-211f98eebaff", "file_id": "a6a2ada6-10a5-4e77-a519-906766bd1e36", "bucket_id": "ba2181c8-908f-4ed6-b538-20ff4c5a8c9d", "links": {"self": "https://zenodo.org/api/records/3240006/files/mmverstraete%2FMISR_Tools-v2.0.2.zip", "content": "https://zenodo.org/api/records/3240006/files/mmverstraete%2FMISR_Tools-v2.0.2.zip/content"}}], "default_preview": null, "order": []}
but then neither of these work:
❯ curl "https://zenodo.org/api/records/3240006/files/mmverstraete%2FMISR_Tools-v2.0.2.zip"
{"message":"The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.","status":404}
❯ curl "https://zenodo.org/api/records/3240006/files/mmverstraete%2FMISR_Tools-v2.0.2.zip/content"
{"message":"The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.","status":404}
which is likely due to zenodo/zenodo#2479
Zenodo recently release a new version that significantly changed their API and broke import and export for us.
Part of it is fixed in #3643
To export again, we'd need
renkulab.ioand other URLs to be whitelisted as referers.for import, download links disappeared, none of the links that are there work for downloading and the api documentation at developers.zenodo.org is currently gone.
Some tests with alternative URLs/ways to download:
there used to be a files.links.download property that we used to download a file, that is now gone
The self link doesn't work:
This returns files as well:
but then neither of these work:
which is likely due to zenodo/zenodo#2479