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

Creating a Project via REST API v10

Overview

DescriptionCreating a project (with a dataset name)
Resource Path

/api/v10/projects

HTTP MethodPOST
Request/Response Formatapplication/json

Prerequisites

It is required to create a dataset before creating a project.

Example cURL command

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

Example

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

POST https://localhost:9443/api/projects
{
"name" : "wso2-ml-project",
"description" : "test",
"datasetName" : "diabetes"
}

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.