Aller au contenu principal

Import Public Dataset

POST 

/v1/datasets/public/download

Import a public dataset found by GET /v1/datasets/public/search.

Send the hit's source, downloadUrl and title as they came back (fileFormat and sizeMb too, when present) plus a name for the new dataset. The answer is the created dataset, in PENDING: the download and ingestion run in the background, so poll GET /v1/datasets/{id} until processingStatus is READY (or FAILED, with errorMessage saying why).

downloadUrl must be an https URL on a host that source serves its files from, resolving to a public address; anything else is answered 400 with the reason, before a dataset is created.

Request​

Responses​

Successful Response