This documentation is for Machine Learner 1.0.0. View documentation for the latest release.
||
Skip to end of metadata
Go to start of metadata

Overview

DescriptionRetrieving all models
Resource Path

/api/models

HTTP MethodGET
Request/Response Formatapplication/json

Example

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

Sample cURL command

 curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -v https://localhost:9443/api/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.

  • No labels