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

Retrieving All Models via REST API v10

Overview

DescriptionRetrieving all models
Resource Path

/api/v10/models

HTTP MethodGET
Request/Response Formatapplication/json

Example

GET https://localhost:9443/api/v10/models

Sample cURL command

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

Sample output

[
    {
        "name": "wso2-ml-model",
        "id": 1,
        "userName": "admin",
        "tenantId": -1234,
        "createdTime": "2015-03-20 20:15:51.845",
        "versionSetId": 1,
        "storageType": "file",
        "storageDirectory": "/tmp/wso2-ml-model.2015-03-20_20:16:01",
        "analysisId": 1
    }
]

REST API response

HTTP status code

200

For descriptions of the HTTP status codes, see HTTP Status Codes.