com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Retrieve a Datset Version via REST API v10
Overview
Description | Retrieve a dataset version. |
Resource Path |
|
HTTP Method | GET |
Request/Response Format | application/json |
Parameter description
Parameter | Description |
---|---|
{versionset_id} | The ID of the version set that you need to retrieve. |
Sample cURL command
curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/v10/datasets/versions/1 -k
Example
GET https://localhost:9443/api/v10/datasets/versions/{versionset_id}
Sample output
{ "name": "diabetes-1.0", "id": 1, "targetPath": "/tmp/diabetes.-1234.1426824112106", "tenantId": -1234, "userName": "admin", "version": null, "datasetId": 0, "samplePoints": { "header": { "NumPregnancies": 0, "PG2": 1, "DBP": 2, "TSFT": 3, "SI2": 4, "BMI": 5, "DPF": 6, "Age": 7, "Class": 8 }, "stringCellCount": [ 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "samplePoints": [ [ "6", "1", "8" ] ] } }
REST API response
HTTP status code | 200, 404 or 500. For descriptions of the HTTP status codes, see HTTP Status Codes. |