Get the list of accessible imported datasets for the authenticated user.

Version:  v4

Required Permissions

Request

Request Type: GET

Endpoint:

/v4/importedDatasets

Endpoint with embedded reference:

/v4/importedDatasets/?embed=connection

For more information, see API ImportedDatasets Get v4.

Endpoint with paged retrieval:


By default, this endpoint returns results in sets of 25. 

You can apply query parameters to change the size of the default set and to page through result sets. The following example queries for results 100 at a time. In this case, the query asks for results 3-102:

/v4/importedDatasets?embed=connection&limit=100&offset=2

If the count of retrieved results is less than the limit, you have reached the end of the results.

Query Parameter reference:

The following query parameters are supported for this type of endpoint.

For more information, see API Common Query Parameters v4.

Request Body:

Empty.

Response

Response Status Code - Success:  200 - OK

Response Body Example:

In the following example, you can see the data for two separate datasets:

{
    "data": [
        {
            "id": 56,
            "size": "-1",
            "path": null,
            "dynamicPath": null,
            "type": "jdbc",
            "bucket": null,
            "isSchematized": true,
            "isDynamic": false,
            "disableTypeInference": false,
            "createdAt": "2018-01-31T23:51:36.179Z",
            "updatedAt": "2018-01-31T23:51:37.025Z",
            "parsingRecipe": {
                "id": 111
            },
            "relationalSource": {
                "relationalPath": [
                    "public"
                ],
                "columns": [
                    "start_date",
                    "end_date"
                ],
                "filter": null,
                "raw": null,
                "id": 10,
                "tableName": "datetable",
                "createdAt": "2018-01-31T23:51:36.187Z",
                "updatedAt": "2018-01-31T23:51:36.187Z",
                "importedDataset": {
                    "id": 56
                }
            },
            "runParameters": {
                "data": []
            },
            "name": "datetable",
            "creator": {
                "id": 1
            },
            "updater": {
                "id": 1
            },
            "connection": {
                "id": 2
            }
        },
        {
            "id": 51,
            "size": "268405298",
            "path": "/server/uploads/1/462b6ec4-6f8d-408b-9caa-75b803ae8a86/MarketingAnalytics%20Extract.csv",
            "dynamicPath": null,
            "type": "s3",
            "bucket": "3facs3",
            "isSchematized": true,
            "isDynamic": false,
            "disableTypeInference": false,
            "createdAt": "2018-01-25T22:05:55.270Z",
            "updatedAt": "2018-01-25T22:05:56.007Z",
            "parsingRecipe": {
                "id": 80
            },
            "runParameters": {
                "data": []
            },
            "name": "MarketingAnalytics Extract.csv",
            "creator": {
                "id": 1
            },
            "updater": {
                "id": 1
            },
            "connection": null
        }
    ]
}

Reference

For more information on the properties of an imported dataset, see API ImportedDatasets Get v4.