...
Description | Retrieve all datasets |
Resource Path | api/datasets |
HTTP Method | GET |
Request/Response Format | application/json |
Sample cURL command
Code Block | ||
---|---|---|
| ||
curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/datasets -k |
Example
Code Block | ||
---|---|---|
| ||
GET https://localhost:9443/api/datasets |
Sample output
Code Block | ||
---|---|---|
| ||
[
{
"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. |