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

Retrieving All Analyses of All Projects via REST API

Overview

DescriptionRetrieve all analyses of all projects.
Resource Path

/api/projects/analyses

HTTP MethodGET
Request/Response Formatapplication/json

Sample cURL command

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

Example

GET https://localhost:9443/api/projects/analyses

Sample output

[
{
"analyses":
[
{
"projectId":1,
"comments":"test comment",
"name":"diabetes-analysis-1",
"id":1
},
{
"projectId":1,
"comments":"test comment",
"name":"diabetes-analysis-2",
"id":2
}
],
"datasetName":"Pima Indians Diabetes",
"datasetId":1,
"datasetStatus":"Available",
"createdTime":"2015-09-01 11:29:46.888",
"name":"Diabetes",
"id":1,
"description":"Diabetes Analysis Project"
},
{
"analyses":
[
{
"projectId":2,
"comments":"test comment",
"name":"abalone-analysis-1",
"id":3
}
],
"datasetName":"Abalone Dataset",
"datasetId":2,
"datasetStatus":"Available",
"createdTime":"2015-09-01 11:31:49.143",
"name":"Age-of-Abalone",
"id":2,
"description":"Age of Abalone Analysis Project"
}
]

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.