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

Retrieve All Analyses of a Project via REST API

Overview

DescriptionRetrieve all analyses in a project
Resource Path

/api/projects/{project_id}/analyses

HTTP MethodGET
Request/Response Formatapplication/json
Parameter description
Parameter
Description
{project_id}ID of the project of which you need to retrieve analyses.

Example

GET https://localhost:9443/api/projects/{project_id}/analyses

Sample cURL command

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

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.