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

Exporting a Model via REST API

Overview

DescriptionExport a model
Resource Path

/api/models/{name}/export

HTTP MethodGET
Request/Response Formatapplication/octet-stream
Parameter description
Parameter
Description
{name}Name of the model which you need to export.

Example

GET https://localhost:9443/api/models/{name}/export

Sample cURL command

curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" v https://localhost:9443/api/models/wso2-ml-logistic-regression-analysis.Model.2015-09-02_17-07-27/export -k

Sample output

This downloads a Java serialized object of type MLModel. For more information on the usage of this file, see Machine Learner Model Usage Sample.

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.