Download File

The file_download method will return the file from the latest dataset version.

Methods

Download file from latest dataset version, via GET

GET /file_download/{owner}/{id}/{filename}

Download file latest dataset version, via POST.

POST /file_download/{owner}/{id}/{filename}

Parameters

Parameters:

Parameter Description Parameter Type Data Type
owner Dataset owner username. Included in data.world dataset URL path, after domain.
For example, jonloyens in https://data.world/jonloyens/an-intro-to-dataworld-dataset
path string
id Dataset id. Included in data.world dataset URL, after owner's username.
For example, an-intro-to-dataworld-dataset in https://data.world/jonloyens/an-intro-to-dataworld-dataset
path string
filename File name. Example value DataDotWorldBBallStats.csv path string

Errors

HTTP Status Code Reason
400 Bad Request
404 Not found

Error Response Model:

{
  "code": 0,
  "message": "string",
  "details": "string"
}

Request URL:

https://download.data.world/file_download/jonloyens/an-intro-to-dataworld-dataset/DataDotWorldBBallStats.csv?authentication=Bearer+<API_TOKEN>

results matching ""

    No results matching ""