Versions Compared

Key

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

Table of Contents
maxLevel3

Overview

DescriptionRetrieve a specific analysis of a project.
Resource Path

/api/analyses/{analysisId}/summarizedFeatures

HTTP MethodGET
Request/Response Formatapplication/json

Parameter description

Parameter
Description
{analysisId}ID of the analysis of which you need to retrieve summarized features.

Sample cURL command

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

Example

Code Block
languagetext
GET /api/analyses/{analysisId}/summarizedFeatures

Sample output

Code Block
languagetext
[
{
"input":true,
"summaryStats":"[{\"missing\":0,\"median\":\"29\",\"values\":[[\"0\",219],[\"1\",113],[\"2\",85],[\"3\",57],[\"4\",40],[\"5\",47],[\"6\",53],[\"7\",36],[\"8\",24],[\"9\",21],[\"10\",19],[\"11\",12],[\"12\",15],[\"13\",10],[\"14\",8],[\"15\",6],[\"16\",2],[\"17\",0],[\"18\",0],[\"19\",1]],\"unique\":52,\"std\":\"11.76\",\"mean\":\"33.241\",\"skewness\":\"1.13\",\"bar\":true,\"key\":\"Frequency\"}]",
"imputeOperation":"DISCARD",
"type":"NUMERICAL",
"index":7,
"fieldName":"Age"
},
{
"input":true,
"summaryStats":"[{\"missing\":0,\"median\":\"32\",\"values\":[[\"0\",11],[\"1\",0],[\"2\",0],[\"3\",0],[\"4\",0],[\"5\",15],[\"6\",47],[\"7\",109],[\"8\",130],[\"9\",138],[\"10\",140],[\"11\",84],[\"12\",50],[\"13\",28],[\"14\",8],[\"15\",4],[\"16\",1],[\"17\",2],[\"18\",0],[\"19\",1]],\"unique\":248,\"std\":\"7.884\",\"mean\":\"31.993\",\"skewness\":\"-0.429\",\"bar\":true,\"key\":\"Frequency\"}]",
"imputeOperation":"DISCARD",
"type":"NUMERICAL",
"index":5,
"fieldName":"BMI"
}
]

REST API response

HTTP status code

200, 404 or 500

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