com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.
Retrieving All Models of a Project via REST API
Overview
Description | Retrieve all models of a project. |
Resource Path |
|
HTTP Method |
|
Request/Response Format | application/json |
Parameter description
Parameter | Description |
---|---|
{project_id} | ID of the project of which you need to retrieve models. |
Sample cURL command
curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/projects/1/models -k
Example
GET https://localhost:9443/api/projects/{project_id}/models
Sample output
[ { "datasetId":0, "samplePoints": { "samplePoints":[["6","2","0","5","3"],["134","175","165","121","78"],["70","88","76","72","50"],["23","0","43","23","32"],["130","0","255","112","88"],["35.4","22.9","47.9","26.2","31.0"],["0.542","0.326","0.259","0.245","0.248"],["29","22","26","30","26"],["1","0","0","0","1"]], "generated":true, "missing":[0,0,0,0,0,0,0,0,0], "stringCellCount":[0,0,0,0,0,0,0,0,0], "decimalCellCount":[0,0,0,0,0,768,768,0,0], "header":{"SI2":4,"PG2":1,"Age":7,"DBP":2,"Class":8,"BMI":5,"DPF":6,"TSFT":3,"NumPregnancies":0} }, "tenantId":-1234, "targetPath":"ML_HOME/datasets/Diabetes dataset.-1234.1441170667922", "name":"Diabetes dataset-1.0.0", "id":2, "version":"1.0.0", "userName":"admin", "status":"Processed" } ]
REST API response
HTTP status code | 200 For descriptions of the HTTP status codes, see HTTP Status Codes. |
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.