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

Creating an Analysis via REST API

Overview

DescriptionCreating a new analysis
Resource Path

/api/analyses

HTTP MethodPOST
Request/Response Formatapplication/json

Sample cURL command

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

Example

For information on the property definitions that are used in a JSON file to define an analysis, see Sample Analysis Definition.

POST https://localhost:9443/api/analyses
{
"name" : "wso2-ml-analysis",
"comments" : "analysis test",
"projectId" : 1
}

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.