com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_link3' is unknown.
Retrieving All Models via REST API
Overview
Description | Retrieving all models |
Resource Path |
|
HTTP Method | GET |
Request/Response Format | application/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. |