Page tree

Release 6.0.2


Contents:

   

For the latest updates on available API endpoints and documentation, see api.trifacta.com.

This is the latest version of the APIs.

Contents:


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

Version:  v4

Required Permissions

NOTE: Each request to the Designer Cloud Powered by Trifacta® platform must include authentication credentials. See https://api.trifacta.com/ee/6.0/index.html#section/Authentication.

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.

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:

  • JDBC
  • File-based (uploaded to S3)
{
    "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.

This page has no comments.