This documentation is for Machine Learner 1.0.0. View documentation for the latest release.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter description

Parameter
Description
{dataset_id}ID of the dataset which you need to retrieve.

Example cURL command

Code Block
languagetext
curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/datasets/1 -k

Example

Code Block
languagetext
GET https://localhost:9443/api/datasets/{datasetId}

Sample output

Code Block
languagetext
{
  "containsHeader": false,
  "dataSourceType": "file",
  "dataTargetType": "file",
  "comments": "Pima Indians Diabetes Dataset",
  "tenantId": -1234,
  "sourcePath": null,
  "dataType": "csv",
  "name": "Pima Indians Diabetes",
  "id": 1,
  "version": null,
  "userName": "admin",
  "status": "Available"
}

REST API response

HTTP status code

200, 404 or 500

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