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

Retrieving Summarized Statistics of an Analysis via REST API

Overview

DescriptionRetrieve the summarized statistics of an analysis.
Resource Path

api/analyses/{analysisId}/stats?feature={featureName}

HTTP MethodGET
Request/Response Formatapplication/json
Parameter description
Parameter
Description
{analysisId}ID of the analysis of which you need to retrieve summarized statistics.
{featureName}Name of the feature which you need to retrieve summarized statistics.

Sample cURL command

curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/analyses/1/stats?feature=Age -k

Example

GET https://localhost:9443/api/analyses/{analysisId}/stats?feature={featureName}

Sample output

[
{
"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"
}
]

REST API response

HTTP status code

200, 404 or 500

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.