This documentation is for Machine Learner 1.0.0. View documentation for the latest release.
||
Skip to end of metadata
Go to start of metadata

Overview

DescriptionRetrieve a specific analysis of a project.
Resource Path

/api/projects/{projectId}/analyses/{analysisName}

HTTP MethodGET
Request/Response Formatapplication/json

Parameter description

Parameter
Description
{projectId}ID of the project of which you need to retrieve the analysis.
{analysisName}Name of the analysis which you need to retrieve.

Sample cURL command

curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/projects/1/analyses/diabetes-analysis-1 -k

Example

GET https://localhost:9443/api/projects/{projectId}/analyses/{analysisName}

Sample output

{
"projectId":1,
"comments":"test comment",
"tenantId":-1234,
"name":"diabetes-analysis-1",
"id":1,
"userName":"admin"
}

REST API response

HTTP status code

200, 404 or 500

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

  • No labels