Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Overview

DescriptionRetrieve all datasets
Resource Path

api/datasets

HTTP MethodGET
Request/Response Formatapplication/json

Sample cURL command

curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -vhttps://localhost:9443/api/datasets -k

Example

GET https://localhost:9443/api/datasets

Sample output

 [
    {
        "name": "diabetes",
        "id": 1,
        "tenantId": -1234,
        "userName": "admin",
        "version": null,
        "dataType": "csv",
        "comments": "diabetes",
        "sourcePath": null,
        "dataSourceType": "file",
        "dataTargetType": "file"
    },
    {
        "name": "seeds",
        "id": 2,
        "tenantId": -1234,
        "comments": "Seeds Dataset",
        "dataType": "CSV",
        "userName": "admin",
        "version": "1.0.0",
        "sourcePath": null,
        "dataSourceType": "file",
        "dataTargetType": "file",
        "containsHeader": true
    }
]

REST API response

HTTP status code

200

For descriptions of the HTTP status codes, see HTTP Status Codes.

  • No labels