Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview

DescriptionRetrieving all projects
Resource Path

/api/projects

HTTP MethodGET
Request/Response Formatapplication/json

Sample cURL command

curl -H "Content-Type: application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -vhttps://localhost:9443/api/projects -k

Example

GET /api/projects

Sample output

[
    {
        "name": "wso2-ml-project",
        "id": 1,
        "createdTime": "2015-03-20 15:28:59.418",
        "tenantId": -1234,
        "userName": "admin",
        "datasetId": 1,
        "description": "nirmal test",
        "datasetName": "diabetes"
    }
]

REST API response

HTTP status code

200, 404 or 500

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

  • No labels