Retrieving a list of projects

Retrieve a list of accessible project.

Procedure

  1. In a REST client platform, add the authentication details of the tenant from where you want to retrieve projects.
    
    //In case of Instance API key 
    Headers:
    {
    "x-instance-api-key": "instance_api_key"
    }
     
    // In case of MCSP or ISV token
    Headers:
    {
    "Authorization": "Bearer mcsp_or_isv_token"
    }
  2. Make a GET request at the URL of the project.

    URL Syntax: <domain>/apis/v1/rest/projects

    Method: GET

    If the request is successful, you receive the response code for success.
    {
     output : 
    		[{
    		name: <project_name>,
    		uid: <project_uid>,
    		tenant_uid: <project_tenant_uid>,
    		workflow_count: <workflow_count>,
    		flowservice_count: <flowservice_count>
    		}]
    }