API download of MoF, eMoF and event extensions

After finding out that eMoF, MoF and event extensions cannot be accessed through rGBIF, I have instead tried to download them using the occurrence API on the website. I need to download the extensions for a large number of datasets (around 500), so finding a non-manual way of doing this would be very helpful. I have never worked with json code before, but after looking at some tutorials, I ended up with this attempt:

{
“creator”: “hannamodin”,
“notificationAddresses”: [“hanna.m.modin@uit.no”],
“predicate”: {
“type”: “equals”,
“key”: “DATASET_KEY”,
“value”: “8b068aa7-88c6-40bc-a09e-64261843a68f”
},
“verbatimExtensions”: [
“http: / / rs. tdwg. org / dwc / terms / Event”,
“http: / / rs. tdwg. org / dwc / terms / MeasurementOrFact”,
“http: / / rs. iobis. org / obis / terms / ExtendedMeasurementOrFact”
]
}

(Spaces have been added to the links as the forum only allows for one link in my post.)

I know from before that this dataset has the files extendedmeasurementorfact.txt and event.txt as part of its source archive.

I have made sure that I am logged in to GBIF and have tried running the code in these cells:

https://www.gbif.org/occurrence/download/request

https: / / techdocs. gbif. org / en / openapi / v1 / occurrence# / Occurrence%20downloads / requestDownload

I am writing here now as the code only returns 404 errors and I am quite at a loss in terms of how to proceed. If anybody has any input, that would be greatly appreciated.

Thank you!