com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.

Retrieving Features of an Analysis via REST API

Overview

DescriptionRetrieve features for an analysis
Resource Path

/api/analyses/{analysisId}/features

HTTP MethodGET
Request/Response Formatapplication/json
Parameter description
Parameter
Description
{analysisId}ID of the analysis of which, you need to retrieve features.

Example

GET https://localhost:9443/api/analyses/{analysisId}/features

Sample cURL command

 curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/analyses/1/features -k
  • The path to the JSON file that defines the customized features needs to be defined as the <JSON_PAYLOAD> value. (e.g. customized-features.json)

Sample output

 ["Age","BMI","Class","DBP","DPF","NumPregnancies","PG2","SI2","TSFT"]

REST API response

HTTP status code

200

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