List all table names in a dataset [BETA]

List all table names in a dataset

Methods

GET /tables/{owner}/{datasetid}

Path parameters

Parameter Description 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
string
datasetid 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
string

Response

Response schema (Status 200)

Returns an array of table names (strings).

Errors

HTTP Status Code Reason Solution
400 Bad request. Check syntax and URIs.
401 Unauthorized Verify credentials / API key
403 Forbidden
404 Not found.
422 Bad request. Check syntax and URIs.
500 Server error.

Error Response Model:

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

EXAMPLE

Request URL:

https://query.data.world/tables/jonloyens/an-intro-to-dataworld-dataset

cURL:

$ curl -X GET \
  https://query.data.world/tables/jonloyens/an-intro-to-dataworld-dataset \
  -H 'accept: application/json' \
  -H 'authorization: Bearer <API_TOKEN>'

Response Body:

["changelog","datadotworldbballstats","datadotworldbballteam"]

results matching ""

    No results matching ""