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

Retrieving a Project via REST API v10

Overview

DescriptionRetrieving a project
Resource Path

/api/v10/projects/{name}

HTTP MethodGET
Request/Response Formatapplication/json
Parameter description
Parameter
Description
{name}Name of the project that you need to retrieve.

Sample cURL command

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

Example

GET https://localhost:9443/api/v10/projects/{name}

Sample output

{
    "name": "wso2-ml-project",
    "id": 1,
    "createdTime": "2015-03-20 09:32:02.335",
    "tenantId": -1234,
    "description": "test",
    "userName": "admin",
    "datasetId": 1,
    "datasetName": "diabetes"
}

REST API response

HTTP status code

200

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