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

REST API Guides

WSO2 Machine Learner 1.1.0 includes revisions made to the REST API since the Machine Learner 1.0.0 release. These modifications include introducing new query parameters, changing path parameters, introducing new APIs etc. However, you can use the previous REST API version if required by making slight  modifications to the URI.

In ML 1.1.0, a user can invoke an API by providing the URI in the following three ways.

MethodExampleOutcome
Without specifying the version.https://localhost:9443/api/configs/algorithms
The latest API version (i.e. v11) is invoked.
Specifying v10 as the versionhttps://localhost:9443/api/v10/configs/algorithms
The v10 API version is invoked.
Specifying V11 as the versionhttps://localhost:9443/api/configs/algorithms
The v11 API version is invoked.

The following are the REST APIs that are implemented in  WSO2 Machine Learner.

The REST APIs are secured with basic authentication. Therefore, follow the steps below to add a basic auth header when calling these methods.

  1. Build a string of the form username:password.
  2. Encode the sting you created above using Base64. For encoding the above string using Base64, see Encode to Base64 format.
  3. Define an authorization header with the term "Basic_", followed by the encoded string. For example, the basic auth authorization header using "admin" as both username and password is as follows: 
    Authorization: Basic YWRtaW46YWRtaW4=